• Welcome to NamesLot.com Domain Name Forum

    NamesLot.com Domain Name Forum offers a fully open forum to discuss domain industry news and a 0% commission marketplace for you to buy and sell domain names.

    We have reorganized our Marketplace so now it is easier to get attention to your domain while it is also easier for buyers to find the right domain name.

    If you want us to add more threads to our marketplace, please contact us! Listing on our marketplace as always, 100% free! Register NOW or Login HERE!

CSS div height problem

Status
Not open for further replies.

chaneguye

New Member
I'm trying to set up a "table" style column of boxes, using divs, each containing some text and a right-floated image. I'm using a percentage for the widths as the page needs to be fluid.

Is there a way to make the divs include the image as well as the text when resizing? At the moment if the text depth is less than the image height - the image drops out of the div box and messes up the box below.

I've tried min-height (which won't work) as well as   within a child div containing the image and setting the height. Whenever I set the height, the div will not inherit the text - ie the text dops outside the box.

I can probably fix it with tables but that means huge chunks of code and shims etc.

I'd be very, very grateful if anyone can help
 
Called the vertical line spacing, with the line-height in css to control.

Called the horizontal spacing between words, use css in the letter-spacing to control.

Units and height is the same.
 
Status
Not open for further replies.

Members online

No members online now.

Forum statistics

Threads
19,896
Messages
69,894
Members
44,589
Latest member
KRS_Infotech
Active members today
3
New members today
0
New threads today
7
New posts today
8

Follow NamesLot on Twitter!

NamesLot proudly supported by

NamesLot proudly supported by

Top