>
> > A div is a block level element by default.  If it has no styling of its
> > own, its width should be 100% of its parent's inner width.
>
> If true, display:inline (plus positioning styles - on container or what
> have you) would not yield the desired results?

Right, display:inline or float would make the div wrap its content.
However, even then you have the possibility of pixel bugs that might
keep the div from wrapping cleanly in all browsers. That's why the
safest move is to apply the border to the image.

--
--
C Montoya
rdpdesign.com ... cssliquid.com ... montoya.rdpdesign.com
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to