|
Posted by Els on 12/01/07 09:18
Ben C wrote:
> On 2007-11-30, Els <els.aNOSPAM@tiscali.nl> wrote:
>> news.freedom2surf.net wrote:
> [...]
>>> I'm creating the above page, but what I'm trying to acheive is that top
>>> right nav menu items (Contact Join us etc. ) are to the right most of the
>>> screen they can be.
>>
>> You floated their container right, but set the text-align to
>> "inherit". Apparently it's inheriting 'left'. Set it to 'right'
>> instead.
>
> And OP will also need to remove "float: left" and "display: block" from
> .navMiniTopRight a-- at the moment those things are all left floats, so
> they float to the left regardless of text-align.
Missed that one completely...
> He could set them to float: right, but then they'll end up in reversed
> order. Text-align: right and not floated is better, I can't see any
> reason why they need to be floats.
I often use floats for them so I can get paddings and margins on them.
Depends on the required look though. It's indeed not necessary at all
if it's just a line of links without rollovers or borders or anything.
--
Els http://locusmeus.com/
[Back to original message]
|