If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.
Register Today on DNForum IT'S FREE!I want a text link to have no underline except on hover.
This will remove the underline altogether
<a href="(L)" style="text-decoration:none">click</a>
and that's the form I'd like to use, not a seperate style statement.
Perhaps someone with a better memory / more well versed can better answer the question., but you may want to something with the border.
Like this: http://www.webreference.com/dhtml/di...er/hover2.html
You might be better off just using images with img tags for SEs.
All offers good for 72 hours except running auctions
Progeria Research | Pulmonary Fibrosis | Dammit!
Bionic.... Why don't you want to use a separate style statement?
You are far better off with a separate stylesheet, or even a separate style declaration.
This is what you need at the very least:
<style>
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
</style>
www.musicdownloads.tv for sale, taking offers.
It's impossible to do this with CSS and without using a <style> block in the <head> section.
You can do this via a onmouseover="javascript:..." JS hack, but that'd still require code in the <head> section and is just a bit pointless.
Just add in what ftaylor says, it's the only way to do what you want since you can't use pseudo-names (i.e. :active, :hover etc) as an inline style.
the HTML is for visitors to copy and add a link to their site, having a big block of code to insert didn't look too good.
I just used text-decoration:none, they can modify it themselves to fit their site.
thanks all
If it was for visitors to copy and paste into their site, then their own site's style sheets would apply. Noone is going to copy and paste a link that breaks their stylesheets.
www.musicdownloads.tv for sale, taking offers.
Thanks for this thread, was always getting screwed up w/ a and a: hover. Much thanks!
Bookmarks