css overlapping issues in I.E |
css overlapping issues in I.E |
EviL-jt |
Mar 7 2007, 05:31 PM
Post
#1
|
Group: Members Posts: 2 Joined: 6-March 07 Member No.: 2,118 |
Could sombody help me please!
I am creating a css template for a site this is my first attempt it works exactly as I want in every browser except the most widely used one! Look at it in I.E Thank you in advance for any replies, really want to know where i'm going wrong! |
non-profit |
Mar 27 2007, 04:17 PM
Post
#2
|
Member Group: Members Posts: 45 Joined: 25-March 07 Member No.: 2,321 |
Could sombody help me please! I am creating a css template for a site this is my first attempt it works exactly as I want in every browser except the most widely used one! Look at it in I.E Thank you in advance for any replies, really want to know where i'm going wrong! -------- One explanation is at http://webdesign.about.com/od/css/a/aaboxmodelhack.htm. |
Frederiek |
Mar 28 2007, 07:28 AM
Post
#3
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
Or here: http://www.positioniseverything.net/
For a choice of 40 CSS layouts, see http://blog.html.it/layoutgala/ |
pandy |
Mar 28 2007, 09:10 AM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,733 Joined: 9-August 06 Member No.: 6 |
Well, it's hardly a box model problem since the doctype triggers Standards Mode. You seem to have forgotten to eliminate margin/padding on the list elements and that forced height (that's obviously too small) on then navbar somehow screw things up. I didn't dig deep enough to figure out how that happens.
CODE div.navbar { height: auto } ul,li { margin: 0; padding: 0 } Add back the margin/padding you want, if any. And rather remove the 'height: 30px' from the rule for .navbar than adding 'height: auto'. Just did it to nullify your declaration. |
EviL-jt |
Mar 29 2007, 11:42 AM
Post
#5
|
Group: Members Posts: 2 Joined: 6-March 07 Member No.: 2,118 |
Thanks Pandy. Stupid mistake but I'm still learning.
|
Lo-Fi Version | Time is now: 28th April 2024 - 02:34 AM |