Simple Design Question

akazzz

Regular Member
Joined
Dec 17, 2011
Messages
382
Reaction score
152
I would like to align my pictures to the right and my text to the left. I tried using the Wordpress align left & right but if the text sentence is too long it will overspill.

Something like this

The picture on the right and all the text on the left without any overspilling of the sentence if its too long.
 
That's done with a table with all the properties set to 0 (border, padding, etc).
 
You can also use css.

float: left
float: right
clear: both

Using the above in the right order (depends on site) will give you your wanted results.
 
I would edit my post if I were you. Its not safe putting your website in public.
But what macdonjo says works pretty good.
 
A table would probably be your best bet. You can use css float but you will have overspill issues like you said, unless you set the image into a div and define specific heights for that div class, or give the img a margin-bottom to prevent the overspill, but this might get messy..
 
Back
Top