PDA

View Full Version : float left (no line break) ????


Jtree
03-14-2003, 11:25 AM
I am trying to left float some pictures with text next to them but they are floating next to each other instead of on there own line. This is he web page where I am having the problem http://home.neb.rr.com/akcdobermans/registration.html Thanks for any help that you can give me.

How do I make them float on there own line instead of next to each other. Other than putting a bounch of <br> together???

Coreyp_1
03-14-2003, 08:11 PM
Jtree,

Add this to your style sheet:


br {clear: left;}


It should be as simple as that!

BTW, if applying the style to every <br> has certain "undesireable" side effects, then just specify a certain class, and use it after the </p> of the text beside each picture. That way, the second <br> will give you spacing between each picture.

Good luck!

Jtree
03-17-2003, 06:08 AM
:) thank you I will give that a try.