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 10-20-2010, 04:27 PM   PM User | #1
jarv
Banned

 
Join Date: Mar 2007
Posts: 1,523
Thanks: 116
Thanked 0 Times in 0 Posts
jarv can only hope to improve
Question 100% width not working on my page?!

http://www.jbiddulph.com/blog/index.php/about-3/

hi, I have added Width:100%; onto my #mainContent and it is not working?! please help
jarv is offline   Reply With Quote
Old 10-20-2010, 10:41 PM   PM User | #2
jarv
Banned

 
Join Date: Mar 2007
Posts: 1,523
Thanks: 116
Thanked 0 Times in 0 Posts
jarv can only hope to improve
Please help
jarv is offline   Reply With Quote
Old 10-21-2010, 12:27 AM   PM User | #3
jcoc611
New to the CF scene

 
Join Date: Oct 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
jcoc611 is an unknown quantity at this point
I founded one problem by looking briefly at the code. The "mainContent" is inside a div called "content", right? This div #content has a width of 430px

The #mainContent will not have a with of 100% if it's inside a div that doesn't have a width of 100%. So basically set the width of #content to 100% (in the inline style)
jcoc611 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 11:58 PM.


Advertisement
Log in to turn off these ads.