Posted by Jonathan N. Little on 10/24/28 11:28
typingcat@gmail.com wrote:
> <div style="position:relative; border:solid 10px;">
> <div style="position:absolute; top:0; left:0;">Hello, World!</div>
> </div>
>
> The text is displayed INSIDE the boarder. But is it possible to make it
> displayed ON the boarder?
>
<div style="position:relative; border:10px solid yellow;">
<div style="position:absolute; top: -1em;">
Hello, World!
</div>
...Need something here for the div to have size or style dims...
</div>
Gave border a color else default is black like your text and would not
be visible...
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|