Log In · Register

 
 
Closed TopicStart new topic
Divider help
JaredxSmith
post Mar 7 2009, 07:09 AM
Post #1


Member
**

Group: Member
Posts: 18
Joined: Mar 2009
Member No: 717,989



I'm currently using this code for a divider:
CODE
<hr color="COLOR" size="3" width="100%">


but I was wondering if anyone knows how I can make it like this.

Thanks guys.
 
fixtatik
post Mar 7 2009, 07:28 AM
Post #2


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



that divider is actually part of an image. if you want it thinner, you can set the size to 1, or you can play with some CSS. a way i usually do it is like this:

between your <style> tags:
CODE
span.hr {
  border-bottom:1px solid black; display:block; margin:10px 0; width:100%;
}

and where you want the divider to show up:
CODE
<span class="hr"></span>
 
JaredxSmith
post Mar 7 2009, 08:13 AM
Post #3


Member
**

Group: Member
Posts: 18
Joined: Mar 2009
Member No: 717,989



Thank you!
This helped a bunch.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: