Bongeh Posted August 7, 2008 Share Posted August 7, 2008 Hi guys, i've hit a problem that i can't seem to get around, im building the initial template for my website, the part of the page that is malfunctioning is the header, its created from a parent div, with 3 divs underneath each other for each section, and the top two sections having 2 divs nested inside them. In ie, the divs sit neatly ontop of eachother and make a seemless rectangle, in firefox there are gaps and also strangle 1px line underneath the the whole thing. I've validated my code and it passes the tests on w3. Im stumped guys! Link here: http://www.paulmcallen.co.uk/test/ Quote Link to comment https://forums.phpfreaks.com/topic/118657-divs-not-nesting-properly-in-firefox/ Share on other sites More sharing options...
haku Posted August 7, 2008 Share Posted August 7, 2008 Set a fixed height to div containing the image in the top section, and set a fixed height to the links that are in the white section. These two things are what is pushing your elements downwards. Quote Link to comment https://forums.phpfreaks.com/topic/118657-divs-not-nesting-properly-in-firefox/#findComment-610930 Share on other sites More sharing options...
Bongeh Posted August 7, 2008 Author Share Posted August 7, 2008 thanks, thats fixed it!, i still don't know what that blue line below the whole lot is though.. i didnt put it there, and i can't seem to find which element its being created by. Thanks again. Quote Link to comment https://forums.phpfreaks.com/topic/118657-divs-not-nesting-properly-in-firefox/#findComment-610938 Share on other sites More sharing options...
ifubad Posted August 7, 2008 Share Posted August 7, 2008 remove "border-top: 1px solid #545c82;" from #footer Quote Link to comment https://forums.phpfreaks.com/topic/118657-divs-not-nesting-properly-in-firefox/#findComment-610987 Share on other sites More sharing options...
Bongeh Posted August 8, 2008 Author Share Posted August 8, 2008 awesome, i knew it'd be something silly like that, cheers for the help guys. Quote Link to comment https://forums.phpfreaks.com/topic/118657-divs-not-nesting-properly-in-firefox/#findComment-611392 Share on other sites More sharing options...
Bongeh Posted August 8, 2008 Author Share Posted August 8, 2008 sorry for the doublepost, i cant find the way to make the thread SOLVED Quote Link to comment https://forums.phpfreaks.com/topic/118657-divs-not-nesting-properly-in-firefox/#findComment-611394 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.