> Brian M. Curran wrote:
>> Hi All,
>> I've never done this before... I made a bordered text box around an image 
>> using a paragraph. It can be found here:
>>
>> http://www.draftingservices.com/building_survey.html
>>
>> Would this be considered acceptable CSS or make-shift?
>>
>> Sincerely,
>> Brian
>>


> David Laakso wrote:
> It seems to work the way you have it cross-browder. Not sure why you need 
> such very long selector names, though.
>
> This explains another method for achieving what you're after.
> <http://css.maxdesign.com.au/floatutorial/tutorial0204.htm>
>
> Either way, you may want to add this to keep the text and image within 
> their own block:
> h5 {border: 1px solid red; clear:both; }
>
> Best,
> ~d
>


Great link, thank you. The addition code for my current situation is not 
making sense though? My current CSS and HTML are:

p.articleImageTextRight {
 width: 200px;
 float: right;
 margin: 0 0 5px 5px;
 padding: 5px;
 border: 1px solid #000;
 background: #eee;
 font-size: x-small;
 }

p.articleImageTextRight img {
 margin-bottom: 5px;
 }


<p class="articleImageTextRight">
<img src="images/building_survey.jpg" alt="Building Survey" width="200" 
height="259"/>
<br/>
Building survey floor plan.
</p> 

______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
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/

Reply via email to