View Full Version : Links and CSS

03-09-2010, 02:44 AM
I have the links on my page set up as styles, a:link, a:visited, a:hover, a:active. But that limits my links to be at one point size type. Is there a way to have two distinct CSS styles for separate links at different point sizes?

03-09-2010, 04:22 AM
see the link in my sig for different links

03-10-2010, 01:48 AM
Thanks, that worked out well. Can you help me with something else? How do I set up the link to open a new browser window, if the links are styled as such? If I use the built in java behavior, the linked website opens in the current window AND the new browser window.

03-10-2010, 03:03 AM
<a href="link.html" target="_blank">link</a>

03-11-2010, 02:53 AM
Thanks, that worked!

d a v e
03-11-2010, 05:04 AM
don't forget though that you shouldn't use pts for the web (except for a print style sheet) use percentages, ems or pixels (with the caveat that px don't resize in ie6) *if* that's what you mean by 'point sizes' ;)

03-11-2010, 11:56 AM
I was mistaken about point size, been too long working in print. I was using what ever the unit was in the drop down CSS menus in Dreamweaver which is px. (I just checked) So from what you've said I should change that to em.