Can you use CSS to make a border using an IMAGE?Yes.No, you can't. What you could do though is make a div which has your image in it as a background and stick the div you want a border on inside that. Use margins or padding to get the border effect.
I hope this helps.
D'oh! Maybe I'm wrong... Triumph, any chance of expanding?He didn't ask if there was a border attribute in CSS that allows this (even though it is rumored in CSS3) he just asked if you can use CSS to border with an image. Am I taking the question too literally?
<!-- m --><a class="postlink" href="http://www.alistapart.com/articles/customcorners/I">http://www.alistapart.com/articles/customcorners/I</a><!-- m --> was wonderng if you could use the Border attribute of CSS to do this, the same way you make borders with lines.Originally posted by Mr Initial Man
I was wonderng if you could use the Border attribute of CSS to do this, the same way you make borders with lines. No.border-image (<!-- m --><a class="postlink" href="http://www.w3.org/TR/2002/WD-css3-border-20021107/#the-border-image">http://www.w3.org/TR/2002/WD-css3-borde ... rder-image</a><!-- m -->) is not yet supportedOkay. Then I guess things get complicated. Thanks, anyways. Originally posted by BonRouge
D'oh! Maybe I'm wrong... Triumph, any chance of expanding? It turns out I did take the question too literally. Bon, you are the english teacher.
I guess we were both right by being on opposite sides...uhh, is that possible? LOL!
I hope this helps.
D'oh! Maybe I'm wrong... Triumph, any chance of expanding?He didn't ask if there was a border attribute in CSS that allows this (even though it is rumored in CSS3) he just asked if you can use CSS to border with an image. Am I taking the question too literally?
<!-- m --><a class="postlink" href="http://www.alistapart.com/articles/customcorners/I">http://www.alistapart.com/articles/customcorners/I</a><!-- m --> was wonderng if you could use the Border attribute of CSS to do this, the same way you make borders with lines.Originally posted by Mr Initial Man
I was wonderng if you could use the Border attribute of CSS to do this, the same way you make borders with lines. No.border-image (<!-- m --><a class="postlink" href="http://www.w3.org/TR/2002/WD-css3-border-20021107/#the-border-image">http://www.w3.org/TR/2002/WD-css3-borde ... rder-image</a><!-- m -->) is not yet supportedOkay. Then I guess things get complicated. Thanks, anyways. Originally posted by BonRouge
D'oh! Maybe I'm wrong... Triumph, any chance of expanding? It turns out I did take the question too literally. Bon, you are the english teacher.
I guess we were both right by being on opposite sides...uhh, is that possible? LOL!