Another question for Friday!
I apply this css link style below to 8+ divs which have the same id of 'adesc' . It has been pointed out to me that using the same id for div's is a dodgy practice. So to combat this I have decided to re-name each div id as: adesc1, adesc 2 etc.
Is it possible to assign this link style to each div id without duplicating the whole css? ie can I input multiple id's in the css to which it applies?
Hope i've made sense! I'm still learning.
thanks
#adesc a:link {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #003399;
display: block;
height: 65px;
width: 207px;
}
#adesc a:visited {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #333333;
display: block;
height: 65px;
width: 207px;
}
#adesc a:hover {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
display: block;
height: 65px;
width: 207px;
}



Reply With Quote


Bookmarks