Results 1 to 5 of 5
Oct 19, 2006, 09:23 #1
How do I insert thumbnail into html paragraph?
I need to insert a thumbnail into an HTML paragraph within a layer using Dreamweaver 8. Can anyone tell me how to do this and keep the paragraph to stay flush against the right of the thumbnail?
Thanks a lot!
Oct 19, 2006, 09:50 #2
Do you want the text to flow by the image if the paragraph gets too long, or do you want the left margin of the paragraph to continue?
For the former, just use CSS to float the image left.
For the latter, use CSS to add a left margin to the paragraph, then float the image left.
Oct 19, 2006, 11:26 #3
I want the thumbnail to show up on the left and the paragraph to go flush against the right side of the thumbnail then continue down the table/layer.
I accomplished this by doing align left in the properties menu of Dreamweaver. I don't know if this is the correct way of doing it yet. I have to learn how to use a float. That will be tonight.
Oct 19, 2006, 11:46 #4Originally Posted by Another DesignerHTML Code:
<p><img style="float: left;" src="picture.jpg" alt="Thumbnail description" /> Your paragraph text here. </p>
*please put your CSS in an external file and don't use inline styles like I just did
Oct 20, 2006, 03:59 #5Originally Posted by vgarcia
Why shouldn't I use inline styles as oppossed to exertnal files.
I'm re-designing a major website and using both inline styles and exertal css files.