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 >
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 -- desktop http://chelseacreekstudio.com/ mobile http://chelseacreekstudio.mobi/ ______________________________________________________________________ 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/