I need to make white text with a thin black border surrounding it.. is this possible? I don't care if its css or html or xml or whatever, I just assumed it was easiest done using css so that's why it's in this forum.
thanks in advance.Yes, it is. Here is an example:
<html>
<head>
<title>Test</title>
<style type="text/css">
span.style1 {
border-style: solid;
border-color: #000000;
border-width: thin;
}
</style>
</head>
<body>
<span class="style1">This is the text with a black border.</span>
</body>
</html>We need to know the purpose for the text in order to recommend the appropriate HTML.I suspect (but am not sure) that the original request is not for white text with a black box drawn around it, but for a display font where each letter is white with black edging. If so, I believe this can only be done for now with a graphic image. I believe CSS 3.x will support this whenever it get's firmed up and then supported by browsers. (Well, actually, you could sort of simulate it with current CSS by overlaying the white text on slightly larger version of the same text in black; but it would require a lot of fudging of letter spacing and such to get it to work - and it would not be semantically correct.)Actually now that I read it again I think he's wanting an outlint font.Sorry, I should've specified. Yes, I'm interested in making an outlined font.. I believe IE supports it with its little quirky mode that also lets text glow and stuff.. but i'd much rather have it be standards-compliant.
To see what I want to do, go here: <!-- m --><a class="postlink" href="http://www.xvisionx.com">http://www.xvisionx.com</a><!-- m --> .. I'm interested in making the big font that says 'home' or whatever else white with a black border.(Thanks for not mentioning the pitiful spelling. 8) I think you'll have to go the GIF route on that font. Most paint programs will manipulate rasterized text for you.
thanks in advance.Yes, it is. Here is an example:
<html>
<head>
<title>Test</title>
<style type="text/css">
span.style1 {
border-style: solid;
border-color: #000000;
border-width: thin;
}
</style>
</head>
<body>
<span class="style1">This is the text with a black border.</span>
</body>
</html>We need to know the purpose for the text in order to recommend the appropriate HTML.I suspect (but am not sure) that the original request is not for white text with a black box drawn around it, but for a display font where each letter is white with black edging. If so, I believe this can only be done for now with a graphic image. I believe CSS 3.x will support this whenever it get's firmed up and then supported by browsers. (Well, actually, you could sort of simulate it with current CSS by overlaying the white text on slightly larger version of the same text in black; but it would require a lot of fudging of letter spacing and such to get it to work - and it would not be semantically correct.)Actually now that I read it again I think he's wanting an outlint font.Sorry, I should've specified. Yes, I'm interested in making an outlined font.. I believe IE supports it with its little quirky mode that also lets text glow and stuff.. but i'd much rather have it be standards-compliant.
To see what I want to do, go here: <!-- m --><a class="postlink" href="http://www.xvisionx.com">http://www.xvisionx.com</a><!-- m --> .. I'm interested in making the big font that says 'home' or whatever else white with a black border.(Thanks for not mentioning the pitiful spelling. 8) I think you'll have to go the GIF route on that font. Most paint programs will manipulate rasterized text for you.