nyc_skater
02-18-2007, 04:05 PM
I find a solution that sounds almost to easy to impliment to make round corner boxes in css.
But for some reason it's not working.
Here's my code. the images are tl for top left, tr for top right and so on...
div.content_introduction {
background-image :
url("tl.gif"),
url("tr.gif"),
url("br.gif"),
url("bl.gif"),
url("tm.gif"),
url("rm.gif"),
url("bm.gif"),
url("lm.gif"); }
div.content_introduction {
background-repeat :
no-repeat, no-repeat, no-repeat, no-repeat, repeat-x,
repeat-y, repeat-x, repeat-y; }
div.content_introduction {
background-position :
top left,
top right,
bottom right,
bottom left,
top left,
top right,
bottom right,
bottom left; }
Then it says to do this:
<p class="content_introduction">blah blah blah blah blah</p>
but I get nothing. and yes, the images are saved in the right place
But for some reason it's not working.
Here's my code. the images are tl for top left, tr for top right and so on...
div.content_introduction {
background-image :
url("tl.gif"),
url("tr.gif"),
url("br.gif"),
url("bl.gif"),
url("tm.gif"),
url("rm.gif"),
url("bm.gif"),
url("lm.gif"); }
div.content_introduction {
background-repeat :
no-repeat, no-repeat, no-repeat, no-repeat, repeat-x,
repeat-y, repeat-x, repeat-y; }
div.content_introduction {
background-position :
top left,
top right,
bottom right,
bottom left,
top left,
top right,
bottom right,
bottom left; }
Then it says to do this:
<p class="content_introduction">blah blah blah blah blah</p>
but I get nothing. and yes, the images are saved in the right place