Re: [css-d] Pseudo class links

2006-05-21 Thread Kenoli Oleari
 Date: Fri, 19 May 2006 20:50:33 -0400
 From: Al Sparber [EMAIL PROTECTED]
 Subject: Re: [css-d] Pseudo class links
 To: css-d@lists.css-discuss.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; format=flowed; charset=iso-8859-1;
   reply-type=original

 From: Doug Niven [EMAIL PROTECTED]

I've found that a big problem using Dreamweaver or other HTML design  
software is in styling links, as the software seem to like to apply  
styles outside of an a tag using a  span or some such rather than  
applying it to the tag itself.

This is an inherent problem related to  a tags as browsers have a  
built in style for links that overrides any style applied outside of  
the tag.  I frequently have to go in and tweak a lot of code related  
to  link tags when I forget this about  Dreamweaver.

The problem doesn't exist, for instance, when the software uses a  
span to apply a style around a p tag, unless a style has already  
been applied to the p tag.

The it took me a while to develop an eye for seeing issues affected  
by the cascading aspect of CSS in situations lie this.  It always  
comes up with a tags because of their default style.

--Kenoli
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] Pseudo class links

2006-05-19 Thread Doug Niven
Hi Folks,

I admit I'm no CSS wizard but I'm very perplexed why some very basic CSS to
style my links is not working:

http://www.douglasniven.com/books.php

I have the following embedded directly onto the page above:

style type=text/css!--
a:link {color: red} /* unvisited link */
a:visited {color: blue}  /* visited link */
a:hover {color: green}   /* mouse over link */
a:active {color: yellow}   /* selected link */
--/style

Yet no colored links! Very confused. Any help would be much appreciated!

Best, Doug

Santa Cruz, CA


__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Pseudo class links

2006-05-19 Thread Kenny Graham
 I have the following embedded directly onto the page above:

[snip]

 Yet no colored links! Very confused. Any help would be much
 appreciated!

You have font tags inside your links overriding the css.
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Pseudo class links

2006-05-19 Thread Al Sparber
From: Doug Niven [EMAIL PROTECTED]

 I admit I'm no CSS wizard but I'm very perplexed why some very basic 
 CSS to
 style my links is not working:

 http://www.douglasniven.com/books.php

 I have the following embedded directly onto the page above:

 style type=text/css!--
 a:link {color: red} /* unvisited link */
 a:visited {color: blue}  /* visited link */
 a:hover {color: green}   /* mouse over link */
 a:active {color: yellow}   /* selected link */
 --/style

Your page is in pretty bad shape. You need a DOCTYPE and you need to 
get rid of the proprietary Adobe tags. For your links, they should 
work if you remove your font tags.

-- 
Al Sparber
PVII
http://www.projectseven.com

Designing with CSS is sometimes like barreling down a crumbling 
mountain road at 90 miles per hour secure in the knowledge that 
repairs are scheduled for next Tuesday.






__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Pseudo class links

2006-05-19 Thread Design Groups
How about the fact that you're using font tags that are overriding the 
CSS calls?

 a title=Another Vietnam, from National Geographic Books 
href=http://short  Link target=_blank
font face=Arial color=#d8d8d8 size=2Another Vietnam/font/a

You need to get rid of those font tags.

~Shelly
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/