Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
shelld #1
css link styles don't work
Hi-I've made a css style that is supposed to make links and visited links on
the main part of my page one color and the links and visited links on the
bottom part of my page another color. I cannot get it to work and can't see why
it won't work. Can anyone help? The website I'm doing is
[url]http://vintagemorgans.com[/url]
The class attrributes for the main page links are called "main" and the class
attributes for the bottom links are called "bottom"
If anyone can help, I would really appreciate it!
shelld Guest
-
Different Link Styles on same page
I would like to have two different Link Styles on the same page - in the center table I have Bold and RED links but farther down I would like to... -
Link styles with CSS
Hi there, Please have a look at the site I'm currently working on: http://www.team-o.org. I am using CSS for virtually everything you see on the... -
How do we get needed XML styles to work with CFChart
The Webcharts 3D designer (shipped with Coldfusion) has exactly the kind of chart we need (Statistical histogram). Great! :D See the XML, below.... -
link font styles with db
I'm having a problem with the links that I have set up. I have anchor tags on column headings from a database that users can sort by. The sorting... -
Problem using different a:link CSS styles in Template
Is it possible to use more than one CSS for hyperlinks on a template based page. I'm trying to have different hyperlink properties on the same page.... -
shelld #2
Re: css link styles don't work
I have followed the step by step directions and still can't see what I did
wrong. See the attached code for the style sheet. Thanks!
.bottom {
color: f1e1c8;
}
.main a:link {
color: 002200;
}
.main a:visited {
color: 663300;
}
.main a:hover {
color: 002200;
}
.main a:active {
color: 002200;
}
.bottom a:link {
color: f1e1c8;
}
.bottom a:visited {
color: 999966;
}
.bottom a:hover {
color: f1e1c8;
}
.bottom a:active {
color: f1e1c8;
}
shelld Guest
-
wizardofdata #3
Re: css link styles don't work
Okay, I see what you're doing. Change your css to reflect the following (I
copied and pasted your css and made the modifications):
.bottom {
color: f1e1c8;
}
a.main:link {
color: 002200;
}
a.main:visited {
color: 663300;
}
a.main:hover {
color: 002200;
}
a.main:active {
color: 002200;
}
a.bottom:link {
color: f1e1c8;
}
a.bottom:visited {
color: 999966;
}
a.bottom:hover {
color: f1e1c8;
}
a.bottom:active {
color: f1e1c8;
}
This should work now. Let us know how it goes and keep coding!
wizardofdata Guest
-
Michael Fesser #4
Re: css link styles don't work
..oO(wizardofdata)
The CSS was correct.>Okay, I see what you're doing. Change your css to reflect the following (I
>copied and pasted your css and made the modifications):
Please learn how to use descendant selectors. Applying a class to every>[...]
> a.bottom:active {
> color: f1e1c8;
> }
>
>
> This should work now. Let us know how it goes and keep coding!
link is really ugly code.
Micha
Michael Fesser Guest
-
Michael Fesser #5
Re: css link styles don't work
..oO(shelld)
Works here. Or what am I missing?>Hi-I've made a css style that is supposed to make links and visited links on
>the main part of my page one color and the links and visited links on the
>bottom part of my page another color. I cannot get it to work and can't see why
>it won't work. Can anyone help? The website I'm doing is
>[url]http://vintagemorgans.com[/url]
Micha
Michael Fesser Guest
-
shelld #6
Re: css link styles don't work
I made the changes to the code and it still doesn't work. The links at the
bottom are supposed to change to another color after they're visited.
Could it be something from within Dreamweaver not working? I'm using
Dreamweaver MX. Any other ideas? I appreciate your help!
shelld Guest
-
Michael Fesser #7
Re: css link styles don't work
..oO(shelld)
OK, I _did_ miss something ...>I made the changes to the code and it still doesn't work. The links at the
>bottom are supposed to change to another color after they're visited.
[url]http://jigsaw.w3.org/css-validator/validator?uri=http://vintagemorgans.com/&warning=1&profile=css2[/url]
Color values have to start with an '#'.
Micha
Michael Fesser Guest



Reply With Quote

