473,396 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Getting Link without Underline

28
hi

i given a link in jsp
how to use links for with out under line in Mozill Firefox
Jun 20 '07 #1
6 1566
r035198x
13,262 8TB
hi

i given a link in jsp
how to use links for with out under line in Mozill Firefox
This is more suitably placed in the Javascript forum.
Jun 20 '07 #2
shoonya
161 100+
use a class for the links

Expand|Select|Wrap|Line Numbers
  1. a.menu:link    { font-family: Arial, Verdana, Tahoma; font-size: 12px; font-weight: normal; text-decoration:none; color: #696969;}
  2.  
  3. a.menu:visited { font-family: Arial, Verdana, Tahoma; font-size: 12px; font-weight: normal; text-decoration:none; color: #696969;}
  4.  
  5. a.menu:hover   { font-family: Arial, Verdana, Tahoma; font-size: 12px; font-weight: normal; text-decoration:none; color: #2D64A8;border-bottom:1px solid #2D64A8;border-top:1px solid #2D64A8;}
it creates a class name "menu"

now simply write

Expand|Select|Wrap|Line Numbers
  1. <a class=menu href=#>click here..</a>
  2.  
i gues this is what you asked for

shoonya
Jun 20 '07 #3
shyamg
28
use a class for the links

Expand|Select|Wrap|Line Numbers
  1. a.menu:link    { font-family: Arial, Verdana, Tahoma; font-size: 12px; font-weight: normal; text-decoration:none; color: #696969;}
  2.  
  3. a.menu:visited { font-family: Arial, Verdana, Tahoma; font-size: 12px; font-weight: normal; text-decoration:none; color: #696969;}
  4.  
  5. a.menu:hover   { font-family: Arial, Verdana, Tahoma; font-size: 12px; font-weight: normal; text-decoration:none; color: #2D64A8;border-bottom:1px solid #2D64A8;border-top:1px solid #2D64A8;}
it creates a class name "menu"

now simply write

Expand|Select|Wrap|Line Numbers
  1. <a class=menu href=#>click here..</a>
  2.  
i gues this is what you asked for

shoonya


hi

without write a css class is it posible to get href link underline.
Jun 20 '07 #4
shoonya
161 100+
i guess no or rather i don't know such thing :(

i tried this

Expand|Select|Wrap|Line Numbers
  1. style="border-bottom:0px"
but it doesn't works

shoonya
Jun 20 '07 #5
acoder
16,027 Expert Mod 8TB
hi

without write a css class is it posible to get href link underline.
Yes, of course, just move the "text-decoration: none" inline:
Expand|Select|Wrap|Line Numbers
  1. style="text-decoration: none;"
or using javascript:
Expand|Select|Wrap|Line Numbers
  1. obj.style.textDecoration='none';
See link.
Jun 20 '07 #6
shoonya
161 100+
thnx acoder :D

shoonya
Jun 20 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: LRW | last post by:
Below I'll paste my CSS and the HTML in question. But what's happening is, I'm trying to establish a link behavior for a class that's separate from the normal link class. I've established a: 's...
2
by: Kevin Lyons | last post by:
Hello, Can anyone assist me with what I am trying to do with the following code (six different scenarios to try to make the functionality work correctly)? I want to always (and ONLY) display...
29
by: jmaxsherkimer | last post by:
the site we're working on has some anchor links, you click them they scroll to the bottom of the page with the answers to the questions linked on to. is there anyway to make it so that the links...
18
by: Denny Schierz | last post by:
hi, i want to change my link colors in the p class="suchen": That is my html: <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//DE"...
6
by: JimO | last post by:
Is there any way to reset a link's state. In other words reset a visited link to an unvisited link. I guess the question I'm asking would be how do you programatically search and clear the...
9
by: Richard | last post by:
Please hlep with a very frustrating problem. I need to be able to have a reference to my "btcopyrights" CSS class override the link colors first specified earlier in the CSS. I inherited a large...
3
by: shapper | last post by:
Hello, How to make the underline of a link to be a dotted line like in this web site: http://www.iconbuffet.com/ Thanks, Miguel
4
by: Mr. Newt | last post by:
Hi y'all, I'm looking to put an underline under some links but not under others. I still want an underline when the link is hovered over. I've dabbled with classes for this, but all I can get...
14
by: Daniel Kaplan | last post by:
So my style sheet has many different types of LINK styles. And they all work fine on IE, even different styles on the same page. But in Firefox, all link throughout my site all follow JUST the...
10
by: JD | last post by:
I've seen websites where the link underline is a different colour to the link text. I've also seen links with dotted underlines (see the hover effect on the 'Change' and 'All Microsoft Sites' links...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.