5 replies [Last post]
JVRudnick
JVRudnick's picture
Offline
Enthusiast
Last seen: 7 years 42 weeks ago
Timezone: GMT-4
Joined: 2004-09-22
Posts: 80
Points: 13

and it requires that I use...
<body link="white" alink="white" vlink="white"> which is fine.

except on a couple of pages there are other links that I MUST show on a white background, and of course they are invisible.

IS it possible, using css, to INDIVIDUALLY make some links white via my <body> statement above and then somehow use a seperate notation for another link and say make it <link="gray" alink="gray" vlink="gray">

that is, use a differnent css property to set a single link on it's own?

???

Jim

Jim Rudnick
KKT INTERACTIVE
www.kkti.com

Root
Offline
Enthusiast
Brighton UK
Last seen: 13 years 27 weeks ago
Brighton UK
Joined: 2004-09-08
Posts: 76
Points: 0

I'm dev a new website...

Yes. If you must. In your a href etc add a class= etc. Then style it in the CSS.

No class, little style and a lotta division.

JVRudnick
JVRudnick's picture
Offline
Enthusiast
Last seen: 7 years 42 weeks ago
Timezone: GMT-4
Joined: 2004-09-22
Posts: 80
Points: 13

Aahhh....

cool!

now, can someone point me at a how-to or tutorial for how to write the two sep areas?

Wink

Jim

Jim Rudnick
KKT INTERACTIVE
www.kkti.com

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 2 days 7 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

I'm dev a new website...

Hi JVRudnick,
There's links to tutorials in useful CSS Links and throughout this site you will find similar topics.

Here's a quick overview.
CSS, either in the head of the document between style tags or in a separate style sheet page linked to via the link tag.

.linkw{color:white;} 
.linkg{color:gray;}
Then in your document you could use
 <a href="#" class="linkw">this will be white</a> 
<a href="#" class="linkg">this will be gray</a>


Hope that helps

Root
Offline
Enthusiast
Brighton UK
Last seen: 13 years 27 weeks ago
Brighton UK
Joined: 2004-09-08
Posts: 76
Points: 0

I'm dev a new website...

As a final semantic detail; it will make your markup and CSS much easier to use / edit / follow if you use a naming convention. If you abbreviate other readers can't follow it (and you might forget what is what) If you use colors; they might change and it won't make sense.

I try and allocate classes (where necessary) by function.

Here I might use classes=internal and external or something appropriate to indicate the difference between the link types in a meaningful way.

No class, little style and a lotta division.

JVRudnick
JVRudnick's picture
Offline
Enthusiast
Last seen: 7 years 42 weeks ago
Timezone: GMT-4
Joined: 2004-09-22
Posts: 80
Points: 13

THANKS...so much!

thanks here to all, for 'knowing' what I didn't! this will make in future our dev of sites all that much better, and allow us to use css to code for links!

fwiw...I had no idea about css at all! to whomever dev same, thanks too!

Wink

Jim

Jim Rudnick
KKT INTERACTIVE
www.kkti.com