WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > WEB DESIGN > CSS > Divs filling full width

Reply
  Thread Tools Display Modes
Old 21st August 12, 04:59 AM   #1
outtareach
WLC Member
 
Join Date: Aug 2012
Posts: 1
Default Divs filling full width

I know this has been addressed but I cannot find the proper wording to find help with my issue. I'm always able to align the left most side to the left fully but there is always space on the right hand side. I want to make image grid that has 5 divs per row and just fill the row all the way across 100%. If you look at this link you see that they 5 images are not filling the entire space. Any help is appreciated


http://damiondreher.com/width.html
outtareach is offline   Reply With Quote
Old 21st August 12, 05:48 AM   #2
meesa
WLC Mod
 
meesa's Avatar
 
Join Date: Jul 2009
Location: Milky Way Galaxy
Posts: 3,138
Default Re: Divs filling full width

No, and they're not going to. You have set width items thare are floated left.

There are two ways to accomplish what you want, the first is tables (Depreciated), and the second is JS.

With the JS method, you'd calculate the width of the screen, divide by five, and then make each container width that with the image centered in the middle.
__________________
Praise be to the Lord God for the ability to learn, the capability to analyze, and the time to help users on this forum.
meesa is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

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. The time now is 11:31 PM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyright© 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.