|
Posted by Neredbojias on 11/26/13 11:56
To further the education of mankind, dorayme
<doraymeRidThis@optusnet.com.au> vouchsafed:
> Is there any trouble or downside in using a div for the sole
> purpose of containing a background image, eg. a decorative
> horizontal strip, not very high, 50px at most. If the height is
> css'd at 50px and the pic is naturally 50px high, is it kosher to
> leave out not only width, (a div being 100% by default), but also
> repeat instructions. My tests work as I want.... but if there are
> downsides, I would like to know about them.
Under some conditions, IE 6 has trouble with divs for which a width is not
specified.
--
Neredbojias
Infinity has its limits.
Navigation:
[Reply to this message]
|