Fizzy
01-02-2006, 10:32 PM
Hi,
I am just learning CSS and working on my first page. I thought I understood the concept of block and linline but apparently not.
I am simply trying to have text (one word) show up three times spaced equal across a single line
eg. Text__________Text___________Text
I used the following code and planed to add a margin or padding style but I can not even get the items to line up. Ugh! what am i missing?
<ul style="font:'Myriad Pro';color:red;display:inline;list-style-type:none;">
<li>before</li>
<li>before</li>
<li>before</li></ul>
I am just learning CSS and working on my first page. I thought I understood the concept of block and linline but apparently not.
I am simply trying to have text (one word) show up three times spaced equal across a single line
eg. Text__________Text___________Text
I used the following code and planed to add a margin or padding style but I can not even get the items to line up. Ugh! what am i missing?
<ul style="font:'Myriad Pro';color:red;display:inline;list-style-type:none;">
<li>before</li>
<li>before</li>
<li>before</li></ul>