Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Need Help on Hyperlink
 

ali-hussaini




quote this post edit post

IP Loged report this post

Old Post  12-30-05 - 11:22 PM  
on the navigation bar of my site i dont know how to not show the underline, 
line when mouse over on a link or when visiting a link does anyone know what
 to do plz


Post Follow-Up to this message ]
Re: Need Help on Hyperlink
 

Murray *TMM*




quote this post edit post

IP Loged report this post

Old Post  12-30-05 - 11:26 PM  
Pseudo-classes and container styles are what you need - here are some
tutorials.
http://www.mako4css.com
http://www.thepattysite.com/linkstyles1.cfm
http://www.projectseven.com/tutoria...asses/index.htm

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"ali-hussaini" <webforumsuser@macromedia.com> wrote in message
news:dp38v3$d98$1@forums.macromedia.com...
> on the navigation bar of my site i dont know how to not show the
> underline, line when mouse over on a link or when visiting a link does
> anyone know what to do plz




Post Follow-Up to this message ]
Re: Need Help on Hyperlink
 

bubba11




quote this post edit post

IP Loged report this post

Old Post  12-30-05 - 11:29 PM  
You need to set your CSS styles for a Visited link and a Hover (when the mou
se
is over the link). Here's a sample:

a:link {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
color: #006800;
text-decoration: none;
font-weight: normal;
}

a:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
color: #006800;
text-decoration: none;
font-weight: normal;
}

a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
color: #FFFFFF;
text-decoration: none;
background-color: #006800;
font-weight: normal;
}

The text-decoration: none; gets rid of the underline.



Post Follow-Up to this message ]
Re: Need Help on Hyperlink
 

Murray *TMM*




quote this post edit post

IP Loged report this post

Old Post  12-30-05 - 11:29 PM  
Don't use points on the web.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"bubba11" <webforumsuser@macromedia.com> wrote in message
news:dp3tii$993$1@forums.macromedia.com...
> You need to set your CSS styles for a Visited link and a Hover (when the
> mouse
> is over the link). Here's a sample:
>
> a:link {
>  font-family: Verdana, Arial, Helvetica, sans-serif;
>  font-size: 10pt;
>  color: #006800;
>  text-decoration: none;
>  font-weight: normal;
> }
>
> a:visited {
>  font-family: Verdana, Arial, Helvetica, sans-serif;
>  font-size: 10pt;
>  color: #006800;
>  text-decoration: none;
>  font-weight: normal;
> }
>
> a:hover {
>  font-family: Verdana, Arial, Helvetica, sans-serif;
>  font-size: 10pt;
>  color: #FFFFFF;
>  text-decoration: none;
>  background-color: #006800;
>  font-weight: normal;
> }
>
> The text-decoration: none; gets rid of the underline.
>




Post Follow-Up to this message ]
Re: Need Help on Hyperlink
 

Michael Fesser




quote this post edit post

IP Loged report this post

Old Post  12-30-05 - 11:29 PM  
..oO(Murray *TMM*)

>Don't use points on the web.

Yep, and don't define the same rules over and over again (the font stuff
in this case). That's _not_ necessary. The following

a {color: #006800; text-decoration: none}
a:hover {color: #FFF; background: #006800}

does the same, if the font-family etc. are declared for a parent element
(usually 'body').

Micha


Post Follow-Up to this message ]
Re: Need Help on Hyperlink
 

Gary White




quote this post edit post

IP Loged report this post

Old Post  12-30-05 - 11:29 PM  
On Fri, 30 Dec 2005 19:38:09 +0100, Michael Fesser <netizen@gmx.de>
wrote:

>does the same, if the font-family etc. are declared for a parent element
>(usually 'body').


Assuming the browser is not rendering in quirks mode, where inheritance
is broken.

Gary


Post Follow-Up to this message ]
Re: Need Help on Hyperlink
 

Michael Fesser




quote this post edit post

IP Loged report this post

Old Post  12-30-05 - 11:29 PM  
..oO(Gary White)

>On Fri, 30 Dec 2005 19:38:09 +0100, Michael Fesser <netizen@gmx.de>
>wrote:
> 
>
>Assuming the browser is not rendering in quirks mode, where inheritance
>is broken.

Somewhat, but not totally. Table cells might be an issue.

Micha


Post Follow-Up to this message ]
Re: Need Help on Hyperlink
 

Gary White




quote this post edit post

IP Loged report this post

Old Post  12-31-05 - 03:24 AM  
On Fri, 30 Dec 2005 22:28:13 +0100, Michael Fesser <netizen@gmx.de>
wrote:

>Somewhat, but not totally. Table cells might be an issue.

Exactly. Use a proper doctype and valid code, and it will all work just
fine.

Gary


Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 12:25 AM. Post New Thread   
  Previous Last Thread   Next Thread next
Dreamweaver archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top