Borders
Please support our HTML and CSS advertiser: Programming Forums
![]() |
•
•
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 8: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
Other Threads in the HTML and CSS Forum
- 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?
•
•
•
•
Views: 420 | Replies: 2 | Currently Viewing: 1 (0 members and 1 guests)






Linear Mode