This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > February 2006 > CSS Link problems!





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author CSS Link problems!
j2studio

2006-02-25, 6:15 pm

I am having difficulty getting the links on pages follow the same style sheet
properties consistently. In some areas, the visited links links stay red, where
others go grey (an early property of the style sheet).

And why is it on the Mac (where I am developing the site) the styles are
followed more closely than on the PC in IE 6.0?

Please have a look at
http://j2studio.com/epandr/instruct...askKendrick.htm

redpixel

2006-02-25, 10:14 pm

Froget about IE6. That's completely different story. Microsoft just
doesnt want to follow the standards.
For your problem try defining visited and link behaviors as one like
this:

..bodyOnWhite a {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 11px;
line-height: 16px;
color: #CC0000;
text-decoration: none;
}

and then define hover and active as you please, e.g:

..bodyOnWhite a:hover, a:active {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 11px;
line-height: 16px;
color: #000000;
text-decoration: underline;
}

This might help, however I havent checked other classes and selectors
yet that may influence behaviors on these links.

Murray *TMM*

2006-02-25, 10:14 pm

Pseudo-classes are uniformly supported. There would be no difference
between Macs and PCs. Which links are you speaking of?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"j2studio" <webforumsuser@macromedia.com> wrote in message
news:dtqmu1$1ns$1@forums.macromedia.com...
>I am having difficulty getting the links on pages follow the same style
>sheet
> properties consistently. In some areas, the visited links links stay red,
> where
> others go grey (an early property of the style sheet).
>
> And why is it on the Mac (where I am developing the site) the styles are
> followed more closely than on the PC in IE 6.0?
>
> Please have a look at
> http://j2studio.com/epandr/instruct...askKendrick.htm
>



j2studio

2006-02-26, 6:15 pm

Hi Murray,

Thank you for replying. There are many people in these forums whom I consider
prolific in CSS and DWMX, and you are certainly up there.

The links I am speaking of are the catagory, question numbers, back to top and
the links within the questions and answers themselves. They revert to grey when
visited. The links at the top of the page in the intro copy and under the photo
do not go to grey. They stay red after visiting, which is what my client wants
and I thought I fixed in the style sheet (../../../templates/epr.css). The grey
visited link was an attribute I set when I first created the style.

Did you have a chance to read my other submission regarding the broken up
image slices and image map situation?

Thanks!

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews