![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| CSS CSS styling code help for your website, CSS is like art and what makes your website look professional. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| I'm new to using CSS and would like to know how to do the following. In my .css file, I have a link tag defined, a:link{color:red:} and it works as I expected it to. Now, my problem is that I have "one" anchor, I want to use a:link {color:yellow;} What do I need to do? Thanks....s | |||
| Advertisements |
| | #2 | ||
| Bruce A. Julseth wrote: > I'm new to using CSS and would like to know how to do the following. > > In my .css file, I have a link tag defined, a:link{color:red:} and it works > as I expected it to. Now, my problem is that I have "one" anchor, I want to > use a:link {color:yellow;} > > What do I need to do? > > Thanks....s (I hope that's a typo and you had a semicolon instead of a colon after "red"). This sounds like a good opportunity to learn about classes: <style type="text/css"> a:link{color:red;} a.yellowlink:link {color:yellow;} </style> </head> <body> two link <a href="bo.com">test two</a> one link <a class='yellowlink' href="ge.com">test one</a> </body> Check Section "1. Hyperlinks" here: http://www.graphicaddicts.net/forums...pic,840.0.html Mike | |||
| | #3 | ||
| "Mike Scirocco" <mscir@yahoo.com> wrote in message news:Z8WdnaaZhNeNSr7bnZ2dnUVZ_j2dnZ2d@pghconnect.c om... > Bruce A. Julseth wrote: >> I'm new to using CSS and would like to know how to do the following. >> >> In my .css file, I have a link tag defined, a:link{color:red:} and it >> works >> as I expected it to. Now, my problem is that I have "one" anchor, I want >> to >> use a:link {color:yellow;} >> >> What do I need to do? >> >> Thanks....s > > (I hope that's a typo and you had a semicolon instead of a colon after > "red"). > > This sounds like a good opportunity to learn about classes: > > <style type="text/css"> > a:link{color:red;} > a.yellowlink:link {color:yellow;} > </style> > </head> > <body> > two link <a href="bo.com">test two</a> > one link <a class='yellowlink' href="ge.com">test one</a> > </body> > > Check Section "1. Hyperlinks" here: > > http://www.graphicaddicts.net/forums...pic,840.0.html > > Mike Thanks, Mike.. Your response was just what I was looking for... Is there a more active css newsgroup? I see it took 6 day for a response and it looks like you are the ONLY persons responding... But, I do appreciate your help... Bruce | |||
| | #4 | ||
| Bruce A. Julseth wrote: > "Mike Scirocco" <mscir@yahoo.com> wrote in message > news:Z8WdnaaZhNeNSr7bnZ2dnUVZ_j2dnZ2d@pghconnect.c om... >> Bruce A. Julseth wrote: >>> I'm new to using CSS and would like to know how to do the following. >>> >>> In my .css file, I have a link tag defined, a:link{color:red:} and it >>> works >>> as I expected it to. Now, my problem is that I have "one" anchor, I want >>> to >>> use a:link {color:yellow;} >>> >>> What do I need to do? >>> >>> Thanks....s >> (I hope that's a typo and you had a semicolon instead of a colon after >> "red"). >> >> This sounds like a good opportunity to learn about classes: >> >> <style type="text/css"> >> a:link{color:red;} >> a.yellowlink:link {color:yellow;} >> </style> >> </head> >> <body> >> two link <a href="bo.com">test two</a> >> one link <a class='yellowlink' href="ge.com">test one</a> >> </body> >> >> Check Section "1. Hyperlinks" here: >> >> http://www.graphicaddicts.net/forums...pic,840.0.html >> >> Mike > > Thanks, Mike.. > > Your response was just what I was looking for... > > Is there a more active css newsgroup? I see it took 6 day for a response and > it looks like you are the ONLY persons responding... But, I do appreciate > your help... > Bruce Sorry, I don't check in very often, this group is a lot more active: comp.infosystems.www.authoring.stylesheets Cheers, Mike | |||
| Featured Websites | ||||
|
![]() |
| Tags: css, newbie, problem |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| newbie q | will | Central Processing Unit (CPU) and Overclocking | 2 | 06-18-2007 3:02 AM |
| Newbie layers problem | Bradley Hart | Graphics in general | 0 | 06-11-2007 9:45 PM |
| replicatable Folder Search problem : is source of problem Windows Desktop Search ? | Bill Woodruff | MSN questions | 0 | 05-28-2007 1:45 AM |
| Newbie | Technophobe | Introduce yourself | 3 | 02-23-2007 9:01 AM |
| Featured Websites | ||||
|