Thread: CSS Question
View Single Post
  #2 (permalink)  
Old 03-28-2007, 05:38 AM
speed speed is offline
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Cornwall, UK
Posts: 862
speed RepRank 1
Default

You are correct that an id can only be used once, however you should be able to use a class as follows:

.p11 {font-family: "Times New-Roman"; padding-bottom: 2px; padding-top: 0px; padding-left: 3px;
font-size: 11pt; font-weight: normal; word-spacing: 2px; text-align: left;}

.p11 a:link {COLOR: #0000FF; TEXT-DECORATION: none; font-weight: bold}

.p11 a:active {COLOR: #0000FF; TEXT-DECORATION: underline; font-weight: bold}

.p11 a:visited {color: #A52549; TEXT-DECORATION: none; font-weight: bold}

.p11 a:hover {COLOR: #0000FF; text-decoration: underline}

<p class="p11">Some Text Link Text</p>
<p class="p11">Some Text2 Link Text2</p>

If you find it doesn't then a test page would be most helpful in diagnosing the problem.
__________________
US & UK Web Hosting with hourly backups | Hosting Affiliate Scheme | Web Directory 2 for 1 Offer
Reply With Quote