Previous Message
Next Message

How to display a line BELOW the div?

Sent by Teknofile Services on 27 May 2009 05:05


Does not compute.

	You open box1 div, insert the image, close box1 div, then add a <p></p> of text... does not match
with "Image and text must stay inside box1

	How about...

<div id="box1">
	<img src="tn_ScreenShot003.jpg" alt="" width="160" height="182" />
	<p>blah blah blah</p><!--/close p-->
</div> <!--/close #box1-->

	And then just stick the 
xxxx {
	clear: both;
}

	...in the definition of the next element?

	Seems simple enough...

	Cheers...



*********** REPLY SEPARATOR  ***********

On 27/05/2009 at 11:35 a.m. Anna G wrote:

>Thanks David :)
>But both the image and the first paragraph have be inside the box1 div :(
>
><div id="box1">
><img src="tn_ScreenShot003.jpg" alt="" width="160" height="182" />
></div>
>
><p>Vestibulum egestas quam in nulla pretium blandit. In ac urna purus,
>tempor hendrerit sem. Vestibulum nec ligula dolor, quis egestas elit.
>Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere
>cubilia Curae; Integer posuere nunc et odio adipiscing non porta lacus
>molestie.</p><!--/close p-->
>
><!--/close #box1-->

---
Karl
Teknofile Services
www.teknofile.co.nz

 

Please consider the environment before printing this email.

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: