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 07-20-2011, 11:45 AM   PM User | #1
feznut
New to the CF scene

 
Join Date: Jul 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
feznut is an unknown quantity at this point
Basic css problem, can someone help please?

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.
Thanks for reading

my froum is www.motornutz.co.uk
feznut is offline   Reply With Quote
Old 07-20-2011, 11:54 AM   PM User | #2
vikram1vicky
Regular Coder

 
Join Date: Jul 2011
Location: India
Posts: 496
Thanks: 3
Thanked 57 Times in 56 Posts
vikram1vicky is an unknown quantity at this point
It can be because of you have given fixed width to center content box...

Check it.
vikram1vicky is offline   Reply With Quote
Old 07-20-2011, 12:39 PM   PM User | #3
Hamza7
New Coder

 
Join Date: Jun 2011
Location: Algeirs,Algeria
Posts: 43
Thanks: 5
Thanked 3 Times in 3 Posts
Hamza7 is an unknown quantity at this point
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:
Code:
body { width : 1200px; }
Hamza7 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 10:42 AM.


Advertisement
Log in to turn off these ads.