[thelist] CSS Box Model

Dmytro Borovsky thelist at web-artel.net
Wed Jun 26 09:17:01 CDT 2002

> Is there a while to specifiy an image as a border for a box? Instead of
> border:1px ... have border: url(image.gif)?
> If not, any ideas I can get the same effect?

Use two boxes:
<div style="padding: 10px; background: url('~.png');"><!-- Border -->
    <div style="background: yellow; color: navy;">Content</div>

Dmytro Borovsky

More information about the thelist mailing list