473,395 Members | 1,791 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,395 software developers and data experts.

Styling two tags in similar ways: Preferences

CJM
I'm working through Eric Meyer on CSS (a good book).

In one example, he uses the following styles:

a:link, a:visited {
background-color: Transparent;
font-weight:bold;
}

a:link {
color:#171;
}

a:visited: {
color:#747;
}

I was just wondering if there were any reasons (other than preference) that
he chose this route rather than just defining both tags seperately?

E.g.

a:link {
background-color: Transparent;
font-weight:bold;
color:#171;

}
a:visited {
background-color: Transparent;
font-weight:bold;
color:#171;
}

Cheers

CJM
Jul 20 '05 #1
0 1421

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

Similar topics

18
by: Shannon Jacobs | last post by:
Trying to solve this with a regex approach rather than the programmatic approach of counting up and down the levels. I have a fairly complicated HTML page that I want to simplify. I've been able to...
6
by: Stan Brown | last post by:
I want these to be in monospace, but monospace fonts are typically bigger looking than proportional fonts so I want to reduce the font size a bit. This leads me as an author to write kbd, samp {...
2
by: JimO | last post by:
I'm new to CSS and I'm trying to figure out the difference between the Header tags, div, span, and p tags as they relate to style sheets. They each render slightly different in the browser and...
0
by: Guillaume Roy | last post by:
Hi, I am running into a few worrying problems with the ASP.NET calendar control. Styling is the problematic issue. Any info you could provide to help me would be greatly appreciated. The...
3
by: Flip | last post by:
Does c#/.net support custom tags like j2ee does? I don't mean to start a flaming war, I'm just honestly looking to find out. From what I've seen/google'd it doesn't, so I just thought I would ask...
3
by: Garmt de Vries | last post by:
On the website of the Dutch Jules Verne Society (www.jules-verne.nl), we have several forms that visitors can use to order something, or to apply for membership. Of course, a form's primary purpose...
7
by: emferrari | last post by:
Hi all I have a XML file with the following: <Step step="1"> <Text><b>Chapter 1</b> This is a test. Click <b><i>Load</i></b> </Text> </Step>
40
by: Jukka K. Korpela | last post by:
My basic style sheet has a distinctive background and border for forms, to make the structure clearer and to make it visually evident what belongs to a form. However, as people complained that...
2
by: shapper | last post by:
Hello, I am styling the labels on a section of my page as follows: label {float: left; width: 6.5em;} Now I want to remove this styling from a label that has the class "Message". Mu...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...
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
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,...
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,...

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.