HTML & CSS
Im guessing its cause some of the titles are way too long for where the content is going so could someone give me a hand on how can solve this issue...
Here is example of what is not correct need some of the information to move next to the main image...
Here is example of one with shorter title how it should look, how can I easily achieve this even for the ones with longer titles?
You could try a max-width here:
Floats are only as wide as the content they hold but a line of text will push a float to be 100% wide and therefore it won't fit next to anything at all.
Thanks, that has worked but now the thumbs below the picture get bumped down more when theres two lines but I guess thats what happens since theres an extra line now in the title.
Reduce the line-height on that h2 and it won't look so bad when it wraps. You have it at 70px.
You can't have the thumbnails not move unless you put the image and the thumbnails in the same floated div but then you couldn't have the right column text merge into the middle. It's either one or the other.
This topic is now closed. New replies are no longer allowed.