image
image

Go Back   macosx.com > Design, Media, Programming & Scripting > Design & Media

Reply
 
Thread Tools
  #1  
Old June 28th, 2002, 03:16 AM
iB
 
Join Date: Dec 2000
Location: Portsmouth
Posts: 302
Thanks: 0
Thanked 0 Times in 0 Posts
benp is on a distinguished road
Question how do I do this?

I want to make the text in my nav bar not be underlined except for when I hold the mouse over it (rollover) how do I do this?


http://24.147.179.89/
__________________
Ben Pottier
Reply With Quote
  #2  
Old June 28th, 2002, 04:55 AM
uoba's Avatar
Re: member
 
Join Date: Aug 2001
Location: Merseyside, UK
Posts: 1,726
Thanks: 0
Thanked 0 Times in 0 Posts
uoba is on a distinguished road
Have you created a hover css?

I notice in your source file you have a link to a hover.css, but is it working correctly?

Are you using GoLive or Dreamweaver?

Basically, if you create a Class CSS and name it linkz (for example), then duplicated the Linkz class css and retitle it to linkz:hover (and change the parameters for the rollover you want it to do i.e. underline) that should work.

However, if you have been playing around with the CSS alot in order to get this to work (especially in GoLive), the CSS references can get kinda messy, so you would have to look at the sourcecode to tidy it up.

[EDIT]:

Just looked at your hover.css and your using Element CSS which I would tend to stay away from (they are pretty much inconsistant). Here you go:

CSS:
.linkz { color: gray; font-size: 9px; line-height: 11px; font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular; text-decoration: none }
.linkz:hover { color: gray; font-size: 9px; line-height: 11px; font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular; text-decoration: underline }

Link code:

<a href="contact.html" class="linkz">contact us</a>


Make sure the spanclass code is gone and the other links look exactly like the one above.

It does work anyway, I've just tried it.

Last edited by uoba; June 28th, 2002 at 05:14 AM.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 06:37 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.