|
| CSS not working properly |
 |
Sat, 10 May 2008 00:56:24 +000 |
In my movie ive got my css working with xml data but theres one thing that wont
work, Margin spacing.
My xml looks a bit like this
<timetable>
<day>Monday</day>
<group><span
class=\"one\">group</span></group>
<hours><span
class=\"two\">hours</span></hours>
</timetable>
The span is so that 'group' and 'hours' will stay on the same line in the text
box.
This is my css...
.one {
margin-left:20px;
}
.two {
margin-left:100px;
}
But only the class 'one' margin space will work. class 'two' just stays
directly next to 'one'
ive tried margin0-right on one still wont work ive tried padding neither does
that.
Can anyone please help??
|
| Post Reply
|
|
|
|
|
|
|
|
|
|