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

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

3
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by MidiMagic
0

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.

0

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

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.