Thread: Borders
View Single Post
Join Date: Oct 2005
Posts: 1,283
Reputation: roryt will become famous soon enough roryt will become famous soon enough 
Solved Threads: 14
roryt's Avatar
roryt roryt is offline Offline
Nearly a Posting Virtuoso

Re: Borders

 
0
  #2
Jan 2nd, 2009
This is what you html would look like:

  1. <div id="border_links">
  2. <p1><a href=""> link</a></p1>
  3. <p1><a href=""> link</a></p1>
  4. <p1><a href=""> link</a></p1>
  5. <p1><a href=""> link</a></p1>
  6. <p1><a href=""> link</a></p1>
  7. <p1><a href=""> link</a></p1>
  8. <p1><a href=""> link</a></p1>
  9. </div>

And this is the css:

  1. #border_links {
  2. border: medium double #000000;
  3. }

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.

  1. <ul>
  2. <li><a href="link.html">link</a></li>
  3. <li><a href="link.html">link</a></li>
  4. <li><a href="link.html">link</a></li>
  5. <li><a href="link.html">link</a></li>
  6. </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.
PhotoShopthis
FlyingPen
If I have helped you please add to my reputation
Reply With Quote