| | |
how to make a horizontal rule
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
i have tried making a horizontal rule <hr> that i can put under my text links but it always spaces them out by a huge amount. I am trying to achieve the effect that is kind of like what you see to the right of this page. But exactly like what you see on the left link set on www.seochat.com.
i am using dreamweaver can someone help?
i am using dreamweaver can someone help?
N2Ads.com - Your online source for Indie Music, Music Promotion, and Music Resources!
Provided for and created by Music Artists and Fans.
Provided for and created by Music Artists and Fans.
•
•
Join Date: Jun 2005
Posts: 107
Reputation:
Solved Threads: 3
It's most likely done with background images in DIVs or table cells
HTML and CSS Syntax (Toggle Plain Text)
<style> .field { height: 20px; line-height: 20px; background: #ffffff url(somepicture.jpg); padding: 4px; } </style> <body> <div class="field">link1</div> or <TD class="field">link1</TD>
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
Actually, that's achieved by setting the border property. CSS allows you to set border-top, border-bottom, border-left, and border-right, independently.
You can also set the border width and style, to get a grooved or inset border.
So, search for "CSS border properties", and you should be on the right track.
You can also set the border width and style, to get a grooved or inset border.
So, search for "CSS border properties", and you should be on the right track.
•
•
Join Date: Aug 2005
Posts: 3
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by n2ads
THANKS, will do!
HTML and CSS Syntax (Toggle Plain Text)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>12345 12345 12345 12345</title> <style type="text/css"> .hr,.hr100{ background:#ff0000;/*NS FF OP */ color:#ff0000;/*IE*/ border:none;/*FF NS OP*/ height:1px;/*FF NS OP*/ width: 98%; } .hr100{ height:100px; background:#00ff00;/*NS FF OP */ color:#00ff00;/*IE*/ border:10px solid #0000ff;/*IE FF NS OP*/ } </style> </head> <body> <hr /> <p></p> <hr class="hr" /> <hr class="hr100" /> </body> </html>
![]() |
Similar Threads
- horizontal line/rule in JComboBox? (Java)
- Microsoft Access 2003 Validation Rule (MS Access and FileMaker Pro)
- MS Access validation rule help (MS Access and FileMaker Pro)
- Confused & frustrated (IT Professionals' Lounge)
- GIS Forum - please test and use - leave a thread or two! (Website Reviews)
Other Threads in the HTML and CSS Forum
- Previous Thread: i-frame problem
- Next Thread: Are these sites validated across the board?
| Thread Tools | Search this Thread |
Tag cloud for HTML and CSS
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash font fonts form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization perl pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7 xml xsl






