Previous Message
Next Message

Styling borders?

Sent by Eric A. Meyer on 27 August 2004 20:08


At 21:37 +0200 8/27/04, Lukasz Grabun wrote:

>Googling yielded with no result: can I style border? More precisely:
>is it possible to use -- instead of solid color (or dotted lines, or
>groove borders) -- a specific graphic file? E.g. Or do I have to
>create dummy box and put it outside, say, container with a 5 pixel
>margin and add background property afterwards...

    You can style a border, but not the way you mean.  There are 
proposals for graphic borders in CSS3, but none of them have yet come 
to pass.  Your idea about creating a dummy box is about the only way 
I can think of to create a graphic border.  Well, you could also use 
a nested series of three or four dummy boxes, but it would come to 
the same thing in the end.

-- 
Eric A. Meyer (http://www.meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
   -- Martina Kosloff (http://www.mako4css.com/)
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: