Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
boxes in a row with image and text underneath
Old 01-17-2008, 02:12 PM boxes in a row with image and text underneath
MattCoops's Avatar
Ultra Talker

Posts: 423
Name: Matt Cupan
Location: Charlotte, NC
Trades: 0
I'm trying to create something like: http://www.crossvilleinc.com/products.cfm

whereas, there are divs that have set width and height and can line up in rows. Then I want an image inside with text underneath.
I can't get the divs to line up in rows. They all return a line and are stacked one on top of each other.

Can someone be kind enough to point out some code?
__________________
Matt - Tweeting
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

read my
Please login or register to view this content. Registration is FREE
MattCoops is offline
Reply With Quote
View Public Profile Visit MattCoops's homepage!
 
 
Register now for full access!
Old 01-17-2008, 02:26 PM Re: boxes in a row with image and text underneath
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Actually, they look good in Firefox, and in IE 6, so what browser are you seeing this ugliness in ?

Putting a display:table property on a table cell is pointless - and IE does NOT recognize it anyway.

There's really no reason for any of that to be in a table anyway -- not even the tiles.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-17-2008, 02:27 PM Re: boxes in a row with image and text underneath
MattCoops's Avatar
Ultra Talker

Posts: 423
Name: Matt Cupan
Location: Charlotte, NC
Trades: 0
so how would I code the divs?

how do I set a margin padding on right and bottom so all the boxes line up in rows and columns. Like Tile.
__________________
Matt - Tweeting
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

read my
Please login or register to view this content. Registration is FREE

Last edited by MattCoops; 01-17-2008 at 02:30 PM..
MattCoops is offline
Reply With Quote
View Public Profile Visit MattCoops's homepage!
 
Old 01-17-2008, 02:33 PM Re: boxes in a row with image and text underneath
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
I would use CSS of course, and that type of thumbnail layout is pretty easy to do with a definition list. http://www.maxdesign.com.au/presentation/definition/

Then there is this method: http://realworldstyle.com/thumb_float.html
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-17-2008, 02:41 PM Re: boxes in a row with image and text underneath
MattCoops's Avatar
Ultra Talker

Posts: 423
Name: Matt Cupan
Location: Charlotte, NC
Trades: 0
thanks

the second method works perfectly
__________________
Matt - Tweeting
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

read my
Please login or register to view this content. Registration is FREE
MattCoops is offline
Reply With Quote
View Public Profile Visit MattCoops's homepage!
 
Reply     « Reply to boxes in a row with image and text underneath
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.20756 seconds with 12 queries