The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> MYSPACE, i dont even know what i'm having trouble with is called LOL
danni.omg
post 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:
IPB Image
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 unsure.gif

This post has been edited by danni.omg: Feb 3 2007, 04:00 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Peter1968
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post 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:
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post 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>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 12:51 PM