MYSPACE, i dont even know what i'm having trouble with is called LOL |
MYSPACE, i dont even know what i'm having trouble with is called LOL |
danni.omg |
Feb 3 2007, 03:03 AM
Post
#1
|
Group: Members Posts: 1 Joined: 3-February 07 Member No.: 1,765 |
hello! um i really dont know how to make this: the line that goes around text i have seen people with it all over myspace but i dont know how to do it arghhh some one helppp? please This post has been edited by danni.omg: Feb 3 2007, 04:00 AM |
Peter1968 |
Feb 3 2007, 05:03 AM
Post
#2
|
Serious Coder Group: Members Posts: 448 Joined: 23-September 06 Member No.: 213 |
Looks like the <legend> element of a <form> to me.
http://htmlhelp.com/reference/html40/forms/legend.html |
Darin McGrew |
Feb 3 2007, 11:45 AM
Post
#3
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
I think the OP is referring to the border, in which case:
|
Christian J |
Feb 3 2007, 01:49 PM
Post
#4
|
. Group: WDG Moderators Posts: 9,630 Joined: 10-August 06 Member No.: 7 |
You can also simulate a FIELDSET+LEGEND with CSS:
CODE h2.pseudo-legend { float: left; /* shrinks H2 width to fit its text content */ font: 120% sans-serif; margin: 0 0 -0.6em 0.3em; /* negative bottom margin pulls up the P element beneath the H2 */ padding: 0 0.2em; color: #000; background: #fff; } p.pseudo-fieldset { clear: both; border: 2px solid #000; margin: 0; padding: 1em; } <h2 class="pseudo-legend">TEXT HERE</h2> <p class="pseudo-fieldset"> and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here </p> |
Lo-Fi Version | Time is now: 28th March 2024 - 12:51 PM |