Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-21-2013, 10:35 PM   PM User | #1
nerdsCanBeSexy
New to the CF scene

 
Join Date: Jan 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
nerdsCanBeSexy is an unknown quantity at this point
Layout issues in Google Chrome :( Please Help :)

Hey Guys,

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!

http://emilymillichip.com/

Does anyone have an idea why this is happening and how to fix it?

x
nerdsCanBeSexy is offline   Reply With Quote
Old 01-21-2013, 11:07 PM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello nerdsCanBeSexy,
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 class is invalid. See the links about validation in my signature line.
There are also a couple errors in your CSS.
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:58 PM.


Advertisement
Log in to turn off these ads.