Previous Message
Next Message

Horizontal scrollbar bug on Safari/FF for div#nav a la Cederholm Bulletproof scalable navigation

Sent by Philippe Wittenbergh on 29 March 2006 08:08


On Mar 29, 2006, at 4:05 PM, Rob Newman wrote:

>> Firefox, Safari and Opera 9TP2, and Konqueror, iCab, andmaybe some
>> more all have a default *padding-left* on a <ul> and <ol>.
>>
>> #nav {padding:0;} will solve all your problems.
>>
>> (and delete that overflow thing on body.)
>
> Thanks for the prompt help Philippe. I removed the overflow  
> declarations and
> added the padding to the div#nav. This worked - great! However, is  
> there a way
> to indent the navigation (as I have it now at 10px) and still stop the
> horizontal scrollbar appearing? I like the look of the tabs being  
> indented and
> not flush against the left side of the browser window. However I  
> will scarifice
> this to remove the horizontal scrollbar if need be. Thanks in advance.

li#t_home {margin-left:40px} ?

/* adjust to taste */

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: