ItsWesYo Posted January 19, 2008 Share Posted January 19, 2008 I don't know if I would use PHP or CSS for this, but: How would I make a number appear with WHITE text and a BLACK outline to it? Quote Link to comment Share on other sites More sharing options...
revraz Posted January 19, 2008 Share Posted January 19, 2008 HTML or CSS Quote Link to comment Share on other sites More sharing options...
ItsWesYo Posted January 19, 2008 Author Share Posted January 19, 2008 Could you, perhaps, elaborate on how to do this? Quote Link to comment Share on other sites More sharing options...
maxudaskin Posted January 19, 2008 Share Posted January 19, 2008 I think he means to have block letters... so something like this: Quote Link to comment Share on other sites More sharing options...
marcus Posted January 19, 2008 Share Posted January 19, 2008 <style type="text/css"> .bg1 { color:#000000; padding:1px; background-color:#FFFFFF; border:1px solid #000000; } .bg2 { color:#FFFFFF; padding:1px; background-color:#000000; } </style> <span class="bg1">Example of Number 1</span><p> <span class="bg2">Example of Number 2</span> Quote Link to comment Share on other sites More sharing options...
ItsWesYo Posted January 19, 2008 Author Share Posted January 19, 2008 Max, yes. mgal, that is sort of the idea, but I want it around the text. Not extra black/white around it. And I don't want to make a lot of images of numbers. [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
resago Posted January 19, 2008 Share Posted January 19, 2008 use css. define a normal white style, and a shadow +2px black style. then you would have to double up and get the styles to overlap. anchor them to the same tag or something. post what you figure out. Quote Link to comment Share on other sites More sharing options...
ItsWesYo Posted January 22, 2008 Author Share Posted January 22, 2008 Ugh. I've been trying different CSS styles and none work. Quote Link to comment Share on other sites More sharing options...
resago Posted February 2, 2008 Share Posted February 2, 2008 you would have to make the forground style 50% transparent. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.