...

View Full Version : Basic css problem, can someone help please?



feznut
07-20-2011, 12:45 PM
Hi, I'm so glad I found this forum, i have a feeling I'll be here often, lol.
I fumble my way through css and get by, but I have a really annoying problem with a centre content box on the homepage of my forum, when the browser window is re sized smaller the content box gets moved down the page leaving a big gap in the middle.
I have managed to absolute position the box itself but the picture and text that is in it still moves and overlaps the contents box on the right.
Sorry to be so long winded, I'm sure there's an easy coding solution but I can't find it. :confused:
Thanks for reading

my froum is www.motornutz.co.uk

vikram1vicky
07-20-2011, 12:54 PM
It can be because of you have given fixed width to center content box...

Check it.

Hamza7
07-20-2011, 01:39 PM
Put a <div> element arround the content and give it a fixed width (with px or other CSS untits but don't use percentage) or give a fixed width to <body> directly like this:


body { width : 1200px; }



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum