473,714 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Link underlining - how to turn off?

I have a page with many links. Browsers like
to underline the links -- result is ugly.

Is there any (CSS?) way to prevent underlining?
(By the way, I decry the common practice
of making links hard to see -- at least
color them.)

Mason C
Jul 21 '05 #1
15 16210
Mason A. Clark wrote:
I have a page with many links. Browsers like
to underline the links -- result is ugly.

Is there any (CSS?) way to prevent underlining?
Yes. http://www.w3.org/TR/REC-CSS2/text.h...ext-decoration


(By the way, I decry the common practice
of making links hard to see -- at least
color them.)


Most visitors to a site also expect links to be underlined, ugly as it
is. Unless you take measures like creating an obvious menu, links will
go unnoticed. IF you choose to remove underlines, take extra effort to
make it very very clear that your chosen style is a link.

--
Stan McCann "Uncle Pirate" http://stanmccann.us/pirate.html
Webmaster/Computer Center Manager, NMSU at Alamogordo
Cooordinator, Tularosa Basin Chapter, ABATE of NM; AMA#758681; COBB
'94 1500 Vulcan (now wrecked) :( http://motorcyclefun.org/Dcp_2068c.jpg
A zest for living must include a willingness to die. - R.A. Heinlein
Jul 21 '05 #2
Uncle Pirate <st**@surecann. com> wrote:
Mason A. Clark wrote:
Is there any (CSS?) way to prevent underlining?

Most visitors to a site also expect links to be underlined, ugly as
it is. Unless you take measures like creating an obvious menu,
links will go unnoticed. IF you choose to remove underlines, take
extra effort to make it very very clear that your chosen style is a
link.


And be sure not to rely on color or boldfacing to do it. Both have
major isses attached.

Jul 21 '05 #3
Mason A. Clark wrote:
I have a page with many links. Browsers like
to underline the links -- result is ugly.

Is there any (CSS?) way to prevent underlining?
See the text-decoration property.
(By the way, I decry the common practice
of making links hard to see -- at least
color them.)


And what if I'm colour-blind? I agree that the usual underlining is a
bit harsh: my usual solution is to use a subtle border-bottom with hover
effects. See the site in my sig for an example.

--
Mark.
http://tranchant.plus.com/
Jul 21 '05 #4
"Mason A. Clark" wrote in comp.infosystem s.www.authoring.stylesheets:
Is there any (CSS?) way to prevent underlining?

(By the way, I decry the common practice
of making links hard to see -- at least
color them.)


So you want to make links hard to see, but not make them hard to see.
Uh-HUH.

Underlining is part of hat makes links visible. You're putting your
aesthetic sensibility up against a part of the user interface that
everyone understands.

If you're still determined to do this damn silly thing, style all <a>
elements with text-decoration:none .
--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you
Jul 21 '05 #5
Em Thu, 06 Jan 2005 08:07:02 +0000, Mark Tranchant
<ma**@tranchant .plus.com> escreveu:
my usual solution is to use a subtle border-bottom with hover effects.
See the site in my sig for an example.


I like it, but I think it comes in contradiction with the acronym or abbr
tags effect that do a similar effect(bottom dotted border).
--

Kerberos.

http://www.opera.com
http://www.freebsd.org
http://www.auriance.com
http://www.osresources.com
http://exodus.jabberstudio.org
Jul 21 '05 #6
Em Thu, 06 Jan 2005 00:34:36 -0500, Neal <ne*****@yahoo. com> escreveu:
And be sure not to rely on color or boldfacing to do it. Both have major
isses attached.


This is what I use most of the time.
What do you suggest instead?
--

Kerberos.

http://www.opera.com
http://www.freebsd.org
http://www.auriance.com
http://www.osresources.com
http://exodus.jabberstudio.org
Jul 21 '05 #7
Kerberos <me@privacy.net > wrote:
Neal <ne*****@yahoo. com>:
And be sure not to rely on color or boldfacing to do it. Both have
major isses attached.


This is what I use most of the time.
What do you suggest instead?


Underlining. It means "link" to WWW users. Colors mean nothing if the
user's eyes or equipment cannot handle color well. Bolding isn't bad
really (so long as you don't set it on hover but not on link, of
course) but underlining is the way people expect to find links.

The only un-underlined links ("derlined" links? :D ) I use are in a
list of what are clearly navigational elements.
Jul 21 '05 #8
Em Thu, 06 Jan 2005 13:49:11 -0500, Neal <ne*****@yahoo. com> escreveu:
It means "link" to WWW users. Colors mean nothing if the user's eyes or
equipment cannot handle color well.


I second that. There are norms that, if respected, add to accessibility.
Oh well, real world case are sometimes different - The important thing is
to take a dummy standpoint while creating the page, and see where
accessibility can be improved.

--

Kerberos.

http://www.opera.com
http://www.freebsd.org
http://www.auriance.com
http://www.osresources.com
http://exodus.jabberstudio.org
Jul 21 '05 #9
>Mason A. Clark wrote:
I have a page with many links. Browsers like
to underline the links -- result is ugly.

Is there any (CSS?) way to prevent underlining?


Yes. http://www.w3.org/TR/REC-CSS2/text.h...ext-decoration


(By the way, I decry the common practice
of making links hard to see -- at least
color them.)


Ha! I got slammed for the underlines, then I got
slammed for thinking of eliminating them.

Mason C loser I'll do it my way.
Jul 21 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2263
by: Franklin P Patchey | last post by:
<P><A style="COLOR: rgb(0,0,0); FONT-SIZE: 80%; FONT-FAMILY: 'Comic Sans MS', cursive; TEXT- ALIGN: left" href="javascript:self.close();"><FONT size=4><STRONG>Close this window!</STRONG></FONT></A></P>
33
27760
by: Thomas Mlynarczyk | last post by:
Hi, I'm looking for a way to put a 1px solid border around the image in this link: <a href="some.html"><img src="some.gif"></a> Well, that, by itself, is simple. However, I would like to have a different border color for a mouse hover effect over the image. With Mozilla, I can simply specify img:hover {...}, but IE allows hover only for <a>. So now I'm looking for a way to set the border for my <a> element rather than the <img>, but...
6
9476
by: Paul Kaufman | last post by:
What do I add to the style sheet to do this? Thanks. -Paul, the CSS Newbie
4
20225
by: crhaynes | last post by:
I'm having trouble with my CSS. My links are black, my hover is orange and my active link is red. When I select a link it turns red but i does not retain that color when the selected page loads. Is i possible to retain that color? My navigation that i'm trying to get this corrected on is server-side include
3
2171
by: debbie | last post by:
I have an Access 2002 program that I install using Wise. The first thing my program does when a front end is opened is re-link, then it checks the version and if needed upgrades the backend. My problem is that I have a new front end version upgrade that creates several new tables in the backend and then links them. So when the program opens up it checks the version in the backend and if needed creates new tables & new links. Now when...
3
3818
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
5
40961
by: Bubba | last post by:
I need to use an inline css tag for a few links that will not behave like the a:link and a:hover attributes in my stylesheet. I want to add a special link color with underline and a mouseover a:hover attribute to eliminate an underline when underlined to a series of links . Wondering how possible putting an inline style such as this to <a hreftag thanks
13
2853
by: Casimir Pohjanraito | last post by:
I have a list of links, with a thumbnail image hidden(resized) next to the link. Complete html&css at end of this post. CSS for the link resizes the image on a:hover. All is good, except the list resizes to accomodate the image, thus "tearing up" the list. In some browsers the thumbnail and resize effect goes back and forth real fast (try mouseovering the "another page" link). I tried constraining the list item height, but that doesnt...
10
3149
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 at the top right of this page for an example: http://support.microsoft.com/kb/253503). Do these techniques involve background image/border hacks or can it be done by directly styling the underline using CSS? Thanks
0
8715
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9322
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9086
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9037
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7963
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6641
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4470
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2116
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.