| | |
Borders
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jan 2009
Posts: 1
Reputation:
Solved Threads: 0
Hi
I am trying to put a Border around 6 links to other pages. I am using a ref from a stylesheet that i have created
i made the border like this within my stylesheet
The text that i want to put the border around looks as follows
I have never designed a web page and i am very new to this have been trying it out to desig i webpage for the company i work for.
I am using Dreamweaver CS3
I am trying to put a Border around 6 links to other pages. I am using a ref from a stylesheet that i have created
i made the border like this within my stylesheet
css Syntax (Toggle Plain Text)
p4 { border: medium double #000000; }
The text that i want to put the border around looks as follows
html Syntax (Toggle Plain Text)
<p1><a href= link</a></p1> <p1><a href= link</a></p1> <p1><a href= link</a></p1> <p1><a href= link</a></p1> <p1><a href= link</a></p1> <p1><a href= link</a></p1>
I have never designed a web page and i am very new to this have been trying it out to desig i webpage for the company i work for.
I am using Dreamweaver CS3
Last edited by peter_budo; Jan 6th, 2009 at 9:36 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
This is what you html would look like:
And this is the css:
I have changed the css identifier to the id border_links because p4 refers to a paragraph of text which isn't really what you are doing.
Actually if anything it should be displayed as a list.
In this case you can use the style sheet to control the unordered list element (ul).
I have also changed you link syntax because it was wrong... but i think you knew that.
I hope that helps.
html Syntax (Toggle Plain Text)
<div id="border_links"> <p1><a href=""> link</a></p1> <p1><a href=""> link</a></p1> <p1><a href=""> link</a></p1> <p1><a href=""> link</a></p1> <p1><a href=""> link</a></p1> <p1><a href=""> link</a></p1> <p1><a href=""> link</a></p1> </div>
And this is the css:
css Syntax (Toggle Plain Text)
#border_links { border: medium double #000000; }
I have changed the css identifier to the id border_links because p4 refers to a paragraph of text which isn't really what you are doing.
Actually if anything it should be displayed as a list.
html Syntax (Toggle Plain Text)
<ul> <li><a href="link.html">link</a></li> <li><a href="link.html">link</a></li> <li><a href="link.html">link</a></li> <li><a href="link.html">link</a></li> </ul>
In this case you can use the style sheet to control the unordered list element (ul).
I have also changed you link syntax because it was wrong... but i think you knew that.
I hope that helps.
![]() |
Similar Threads
- Eliminating visible table borders? (HTML and CSS)
- fancy borders with images... ? (HTML and CSS)
- FrontPage98 help with shared borders (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: Help with CSS url links on Multi pages
- Next Thread: how to redirect to mobile page?
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form google griefers hackers hitcounter hover html ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping swf swf. textcolor timecolor titletags url urlseparatedwords visualization web webdevelopment webform website windows7






