SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: left navigation problem with moz
-
Oct 14, 2004, 05:16 #1
- Join Date
- Jul 2004
- Location
- Dardania - Ancient Illyria
- Posts
- 180
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
left navigation problem with moz
Hi,
I've been working on leftnavigation on the site, but its not appearing as it should on firefow while in IE is doing fine, can anybody help me solve that
here are the links where u can find CSS and XHML code of the site:
http://test.rrota.net/biznesi.html
thank youlet's make things easier
-
Oct 14, 2004, 08:44 #2
- Join Date
- Jan 2003
- Location
- Hampshire UK
- Posts
- 40,556
- Mentioned
- 183 Post(s)
- Tagged
- 6 Thread(s)
Hi,
You need to clear the default padding and margins from the ul. You also need to specify the correct width.
Code:#nav { padding: 0; margin: 0; width: 151px; background-color: #B1D7C3; text-align: left; float: left; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; color: #000; } ul#navlist {margin:0;padding:0} #navlist { width: 151px; margin:0; } #navlist li { border-bottom: solid #50CB90 1px; display: block; text-align: left; padding: 0; margin:0; list-style: none; line-height:25px;/* for ie's gap under list*/ } #navlist a { margin: 0; padding-left : 12px; display: block; background: #3BA773; color: #000; text-decoration:none; border:0; list-style: none; width: 139px; } * html #navlist a{width:151px;w\idth:139px}/* box model hack*/ #navlist li a:hover { background-color: #348E63; color: #fff; }
-
Oct 14, 2004, 09:18 #3
- Join Date
- Jul 2004
- Location
- Dardania - Ancient Illyria
- Posts
- 180
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
thanx Paul, it works
I will remember it in future, cuz I know I'll have to deal with the same thing again.
thanks youlet's make things easier
Bookmarks