473,657 Members | 2,378 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CSS Dashed Underline for Links

I am trying to build a new personal homepage and decided to try using
CSS for the first time. I came across some dashed underlines for links
on this page (and several others):

http://www.mezzoblue.com/zengarden/resources/

How do you do this? It's not one of the defined text-decorations, so
I'm not sure how to do it? You don't have to use dashed borders like
you would in a table would you (i.e. somehow make a table around every
link and make the bottom border dashed).
Let me know your thoughts.

Thanks

Jul 21 '05 #1
3 132536
On 23 Jan 2005 01:57:50 -0800, LadyKnight <lk*******@gmai l.com> wrote:
I am trying to build a new personal homepage and decided to try using
CSS for the first time. I came across some dashed underlines for links
on this page (and several others):
How do you do this?


a:link {
text-decoration:none ;
border-bottom:1px dotted $color; }

--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'
Jul 21 '05 #2
*Barbara de Zoete* <b_********@hot mail.com>:

a:link {
text-decoration:none ;
border-bottom:1px dotted $color; }


That of course works, but actually it's still just a hack to get the
desired appeareance in current browsers with current standards.

a:link {
text-decoration: underline;
text-underline-style: dotted;}

or something equivalent would be more appropriate. If it was specified and
working yet.

<http://www.w3.org/TR/css3-text/#text-decoration-style>

--
"Censorship , like charity, should begin at home;
but, unlike charity, it should end there."

Clare Booth Luce
Jul 21 '05 #3
On Mon, 24 Jan 2005 00:29:28 +0100, Christoph Paeper
<ch************ **@nurfuerspam. de> wrote:
*Barbara de Zoete* <b_********@hot mail.com>:

a:link {
text-decoration:none ;
border-bottom:1px dotted $color; }
That of course works, but actually it's still just a hack to get the desired
appeareance in current browsers with current standards.


Well, yes. AOL and all.
a:link {
text-decoration: underline;
text-underline-style: dotted;}

or something equivalent would be more appropriate. If it was specified and
working yet.

But that's quite a big 'if'.
<http://www.w3.org/TR/css3-text/#text-decoration-style>


Wouldn't hold my breath. I'm still waiting for a full, ah no, forget full ...
for a correct implementation of CSS2

--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'
Jul 21 '05 #4

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

Similar topics

2
6016
by: Ed | last post by:
Don't even know if this is a javascrip thing...but how do I remove the underline from hyperlinks?
17
3866
by: Rickard Lindhé | last post by:
Hey. I'm experiencing a problem using a css stylesheet on my homepage (http://w1.193.telia.com/~u19305515/test/testis.html). As you can see, the link works according to the stylesheet when not visited. But when the link is visited, the stylesheet has no effect on the link. Basically, what my problem is all about, is that I want my visited links to be underlined in hover, just like they are when not visited. I hope there is someone who...
6
9468
by: Paul Kaufman | last post by:
What do I add to the style sheet to do this? Thanks. -Paul, the CSS Newbie
1
960
by: LadyKnight | last post by:
I am trying to build a new personal homepage and decided to try using CSS for the first time. I came across some dashed underlines for links on this page (and several others): http://www.mezzoblue.com/zengarden/resources/ How do you do this? It's not one of the defined text-decorations, so I'm not sure how to do it? You don't have to use dashed borders like you would in a table would you (i.e. somehow make a table around every...
29
49046
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 are not underlined when the page loads, when the user moves the mouse over it's underlined, mouse out no underline. i tried: <a href="#section14" class="drkblue08bold" style="text-decoration:none"> but that left the underline gone forever,...
2
7299
by: Jeff | last post by:
hey asp.net 2.0 I have a HyperLink control on my webpage, I want this HyperLink to display a underline when mouse is hovering over it. This is NOT a html link, but a System.Web.UI.WebControls.HyperLink This is my CSS (which I use to set font size and remove the underline, but when mouse are hovering I want the link to display a underline):
11
2446
by: Alan | last post by:
Okay, IE and Netscape have a default link style with "color: blue;" and "text-decoration: underline". That's fine, but for what I am doing I need to turn OFF the default styling. I know how to change it so that it is another color, or force it to NOT have underlining, or make it bold, or italics, or whatever. The problem is, how do I get it to turn the syling OFF completely. How do I get it NOT to change the color or text-decoration...
4
8513
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 is line or no line. Any help? Thanks.
10
5367
by: Michael7 | last post by:
Hi everyone, With all the trouble I have concerning simple things with CSS (still learning), I think I am getting it now, but have stumbled upon a relatively NOT simple problem. I've looked all over to see if anyone else has such a problem, but not much luck. My problem actually lies with Firefox! In my website's menu, I use a few <h3> tags as links. I never had access to Firefox before, but as I'm redoing my website with CSS, I am...
0
8399
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8827
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...
0
8606
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
7337
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...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2732
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1959
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1622
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.