Previous Thread
Next Thread
Print Thread
Rate Thread
#107528 10/25/2000 7:16 PM
Joined: Sep 2000
Posts: 305
CTH
Offline
Member
Member
Offline
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

Sponsored Links
#107529 10/25/2000 7:26 PM
Joined: Sep 2000
Posts: 32
Member
Member
Offline
Joined: Sep 2000
Posts: 32
Try this:

Code
code:

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

#107530 10/25/2000 7:39 PM
Joined: Aug 2000
Posts: 469
Member
Member
Offline
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.class

Where mode is link, hover, active, or visited.

------------------
-david
Choose your future.
www.antipopculture.org

#107531 10/25/2000 7:56 PM
Joined: Sep 2000
Posts: 32
Member
Member
Offline
Joined: Sep 2000
Posts: 32
Quote
quote:
Wrong? It doesnt matter what order they are in. It works either way.

Like this A.other:Hover
or like this A:Hover.other

------------------
goodfellasweb.com

This message has been edited by SonnyBlack on October 25, 2000 at 09:41 PM

#107532 10/25/2000 8:08 PM
Joined: Sep 2000
Posts: 305
CTH
Offline
Member
Member
Offline
Joined: Sep 2000
Posts: 305
Hey,

Thanks to both of you - strange the things you forget isn't it [Linked Image]

Works like a charm [Linked Image]

This is how I did it ...



and then an example link was ...

Home

Cheers,

TotalNewbie

Sponsored Links
#107533 10/25/2000 8:35 PM
Joined: Aug 2000
Posts: 469
Member
Member
Offline
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]

------------------
-david
Choose your future.
www.antipopculture.org

#107534 10/25/2000 9:25 PM
Joined: Sep 2000
Posts: 32
Member
Member
Offline
Joined: Sep 2000
Posts: 32
I didn't just make it up [Linked Image] If you don't believe me you can check this link and scroll down to "Navigation Menu"

http://wdvl.com/Authoring/Style/Sheets/Examples/

------------------
goodfellasweb.com

#107535 10/25/2000 10:13 PM
Joined: Sep 2000
Posts: 305
CTH
Offline
Member
Member
Offline
Joined: Sep 2000
Posts: 305
At the risk of perpetuating your "discussion" hehe [Linked Image]

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

#107536 10/25/2000 10:54 PM
Joined: Sep 2000
Posts: 32
Member
Member
Offline
Joined: Sep 2000
Posts: 32
You are on the right track [Linked Image] 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

#107537 10/26/2000 6:38 AM
Joined: Sep 2000
Posts: 305
CTH
Offline
Member
Member
Offline
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]

Any ideas ????

Great link BTW [Linked Image] [Linked Image]

TotalNewbie

Sponsored Links
#107538 10/26/2000 10:15 AM
Joined: Sep 2000
Posts: 32
Member
Member
Offline
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]

------------------
goodfellasweb.com


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)