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

p4 {
border: medium double #000000;
}

The text that i want to put the border around looks as follows

<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

Recommended Answers

All 2 Replies

This is what you html would look like:

<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:

#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.

<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.

There is no p1 tag in html. One browser had a nonstandard extension that used it. My advice is DON'T!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.