logo-dw

Go Back   Dreamweaver Club Forums > Coders Forum > HTML and CSS
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 03-09-2010, 02:44 AM   #1
bobrugh
 
Join Date: Nov 2009
Posts: 11
Default Links and CSS

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?
bobrugh is offline   Reply With Quote
Old 03-09-2010, 04:22 AM   #2
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 5,143
Default

see the link in my sig for different links
edbr is offline   Reply With Quote
Old 03-10-2010, 01:48 AM   #3
bobrugh
 
Join Date: Nov 2009
Posts: 11
Default

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.
bobrugh is offline   Reply With Quote
Old 03-10-2010, 03:03 AM   #4
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 1,847
Default

<a href="link.html" target="_blank">link</a>
__________________
If my answer helped, you might want to sign up for my Dominate Dreamweaver online training and learn to Dominate Dreamweaver in just 12 weeks.
DWcourse is online now   Reply With Quote
Old 03-11-2010, 02:53 AM   #5
bobrugh
 
Join Date: Nov 2009
Posts: 11
Default

Thanks, that worked!
bobrugh is offline   Reply With Quote
Old 03-11-2010, 05:04 AM   #6
d a v e
 
Join Date: Feb 2006
Location: finland
Posts: 1,172
Default

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'
d a v e is online now   Reply With Quote
Old 03-11-2010, 11:56 AM   #7
bobrugh
 
Join Date: Nov 2009
Posts: 11
Default

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.
bobrugh is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 08:34 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2006 DreamweaverClub.com