PDA

View Full Version : border image not showing



ShadowIce
Apr 28th, 2009, 08:06 PM
Hi everybody. Can somebody please help me get this code for input boxes to work for ALL browsers, or at least firefox all versions & explorer all versions?


<style type="text/css">input { border-image: url("anibar.gif"); text-align: center; }</style>

thanks!

~Shadow~

_Aerospace_Eng_
Apr 28th, 2009, 08:29 PM
It won't work for a while. border-image is part of CSS3. I think only Safari and Firefox 3.1 support it.

ShadowIce
Apr 28th, 2009, 08:36 PM
then what would be an alternative?

and if any, can u please show me an example?

perhaps with "<td>" ?

thanks!

~Shadow~

_Aerospace_Eng_
Apr 28th, 2009, 08:44 PM
Its messy but here is a workaround.
http://codingforums.com/showthread.php?t=75868
You'll need to edit it fit your needs. And exactly do you want to use it on a td? Are you displaying data in a td or are you using for page layout? If you are using it for page layout then I suggest you read the link in my sig titled "Why Tables for Layout is Stupid?".

ShadowIce
Apr 28th, 2009, 09:15 PM
Im building a calculator. and need an image for td border :)

thats all :)