|
|
Joined: Sep 2000
Posts: 305
Member
|
Member
Joined: Sep 2000
Posts: 305 |
Hey,
I am creating a new page where I want the sidebar links to be underlined, but the links in a seperate table specifically I want to not be underlined.
How would I go about doing that ?
Cheers,
TotalNewbie
|
|
|
|
Joined: Sep 2000
Posts: 32
Member
|
Member
Joined: Sep 2000
Posts: 32 |
Try this: Where "other" is whatever you want the links to be defined for your page. You will have to put that class="other" for every link you want like that. ------------------ goodfellasweb.com
|
|
|
|
Joined: Aug 2000
Posts: 469
Member
|
Member
Joined: Aug 2000
Posts: 469 |
right-o-rama. wait...NO! not right. almost, but not quite. EVERYONE does this wrong. to do a class, the syntax for links is: A:mode.classWhere mode is link, hover, active, or visited. ------------------ -david Choose your future. www.antipopculture.org
|
|
|
|
Joined: Sep 2000
Posts: 32
Member
|
Member
Joined: Sep 2000
Posts: 32 |
Wrong? It doesnt matter what order they are in. It works either way. Like this A.other:Hoveror like this A:Hover.other------------------ goodfellasweb.com This message has been edited by SonnyBlack on October 25, 2000 at 09:41 PM
|
|
|
|
Joined: Sep 2000
Posts: 305
Member
|
Member
Joined: Sep 2000
Posts: 305 |
Hey, Thanks to both of you - strange the things you forget isn't it ![[Linked Image]](https://ubbdev.com/ubb/smilies/biggrin.gif) Works like a charm ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) This is how I did it ... and then an example link was ... HomeCheers, TotalNewbie
|
|
|
|
Joined: Aug 2000
Posts: 469
Member
|
Member
Joined: Aug 2000
Posts: 469 |
Sonny: It's wrong. It's wrong. OK, maybe it's not really "wrong", but I know people who've done what you do (A.class:mode), had a problem, then when they switched to my syntax (A:mode.class), it worked. besides, my word is the word. ![[Linked Image]](https://ubbdev.com/ubb/smilies/biggrin.gif) ------------------ -david Choose your future. www.antipopculture.org
|
|
|
|
Joined: Sep 2000
Posts: 305
Member
|
Member
Joined: Sep 2000
Posts: 305 |
At the risk of perpetuating your "discussion" hehe ![[Linked Image]](https://ubbdev.com/ubb/smilies/biggrin.gif) OK, I have .... The A:hover affects all links other than those using the .topbar styles. I now want to make the .TopBar on hover go the color #CC00000 Any ideas ???? Thanks, TotalNewbie
|
|
|
|
Joined: Sep 2000
Posts: 32
Member
|
Member
Joined: Sep 2000
Posts: 32 |
You are on the right track ![[Linked Image]](https://ubbdev.com/ubb/smilies/wink.gif) This should work: A.TopBar.Link {color: #FFFFFF; text-decoration: none;} A.TopBar.Hover {color: #CC0000;} If you just have A:Hover that makes it the default hover. Check that link I posted. It has a lot of nice examples of this stuff. ------------------ goodfellasweb.com
|
|
|
|
Joined: Sep 2000
Posts: 305
Member
|
Member
Joined: Sep 2000
Posts: 305 |
Sonny, This is what I have .... The A:hover like you said is the default hover and it works on ALL links other than those I have specified the above styles to. However, the hover color which I am trying to give the .TopBar isn't working at all ![[Linked Image]](https://ubbdev.com/ubb/smilies/frown.gif) Any ideas ???? Great link BTW ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) TotalNewbie
|
|
|
|
Joined: Sep 2000
Posts: 32
Member
|
Member
Joined: Sep 2000
Posts: 32 |
That's interesting. I checked the code out and the hover color worked just fine. The only thing I can think of, is that you need to specify that .TopBar is an anchor. It didn't make a difference on my computer, but it's worth a try. And the semicolons after each style won't hurt ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) ------------------ goodfellasweb.com
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|