Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
01-21-2013, 11:35 PM #1
- Join Date
- Jan 2013
- Thanked 0 Times in 0 Posts
Layout issues in Google Chrome :( Please Help :)
I need your help because I'm having some small problems with my website layout. As you can see from the site I design clothes(mainly) not websites so your help would be very much appreciated!
It's just the homepage really, it looks how I'd like in Firefox and Safari(not tested on IE yet as I'm using a Mac currently!) but when I open it in Chrome the browser seems to stack the logo and menu pushing everything down behind my images.
When I refresh the page it rearranges to how it should be, very confusing!
Does anyone have an idea why this is happening and how to fix it?
01-22-2013, 12:07 AM #2
- Join Date
- Dec 2006
- Thanked 1,832 Times in 1,816 Posts
If you understand the box model - See the box model here. The box model says that whatever you put inside an element cannot be larger than that element. margin/padding/border all count when figuring width/height.
...you would see that setting the height on your #content may be a mistake. At least setting the wrong height certainly is. If you set no height at all, a div element will naturally expand in height to enclose it's contents.
No idea if that will cure your issue though, I don't have Chrome or a Mac to test in for you ... sorry.
You might try validating, that bit on line 15 where you double up on
classis invalid. See the links about validation in my signature line.
There are also a couple errors in your CSS.