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

CSS and Hyperlinks

I have a top nav and a left nav.

I want the styles on each to be different.

I got it to work just fine on NN7 but with IE6 the 'visted' colour
(not specified anywhere on my page) takes precedence of the <style>
entry.

Example here : http://217.34.24.184/

Thanks in advance for somebody pointing out my error.
Jul 20 '05 #1
4 1732
dc@sell365.com (Dave) wrote:
I have a top nav and a left nav.

I want the styles on each to be different.

I got it to work just fine on NN7 but with IE6 the 'visted' colour
(not specified anywhere on my page) takes precedence of the <style>
entry.
Depends what you styles are. If you've only defined a {} or a:link {}
(regardless of whether you use a class to define the two different
sets of links) then the browser's defaults for a:visited should apply
when the link is in the visited state.
Example here : http://217.34.24.184/


"Directory Listing Denied
This Virtual Directory does not allow contents to be listed."

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 20 '05 #2
Sorry, link was crap :/

http://www.myfootballworld.org.uk/page1.htm

As far as I know I have defined all I need to.

Maybe you can take a look at the source?

Im thinking that the norm is to _not_ prevent the visiter from knowing
which links they have previously visited and therefore IE overrules
what I am trying to do?

The strange thing is that if I set a link to be for an external
webpage opening in a new browser, the link works fine.

Thanks in advance.
Jul 20 '05 #3
dc@sell365.com (Dave) wrote:
Sorry, link was crap :/

http://www.myfootballworld.org.uk/page1.htm

As far as I know I have defined all I need to.

Maybe you can take a look at the source?
a.leftmenu:visted

Spot the missing letter.
The CSS validator would have told you as much:
http://jigsaw.w3.org/css-validator/v...g.uk/page1.htm
Im thinking that the norm is to _not_ prevent the visiter from knowing
which links they have previously visited and therefore IE overrules
what I am trying to do?


The norm is to distinguish between visited and unvisited links.
So what you are trying to do is bad practice. But IE isn't sabotaging
you, your own typing is.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 20 '05 #4
> The norm is to distinguish between visited and unvisited links.
So what you are trying to do is bad practice. But IE isn't sabotaging
you, your own typing is.

Thanks Steve, that would explain it ! On reflection I will be using a
diff colour for visited, just not red :)

Rgds
Dave
Jul 20 '05 #5

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

Similar topics

6
by: Colleyville Alan | last post by:
I have an application that has an Access table that stores the locations of slides in a Powerpoint file. This used to work fine when there were about 4 files and 200 slides. The database would...
0
by: Tim | last post by:
Access 97: I have a table with a hyperlink field that I display on a form. I can click on the form field and the hyperlink activates correctly. However, if I try to activate the hyperlink using VB...
4
by: Seefor | last post by:
Hi, I want my text hyperlinks to have a dotted border underneath, so I did this which works fine: a, a:link, a:visited, a:hover, a:active { color: #000; text-decoration: none;
9
by: Viken Karaguesian | last post by:
Hello all, I'm making a calendar section in a website. Each month is its own page and navigated by Previous / Next links. I have it working now with standard hyperlinks, but I want to learn how...
1
by: Robin | last post by:
Hello! I'm having trouble with links and hyperlinks in MS Access 2003 - any help would be great! Question 1! The "insert hyperlink" icon opens a browser window, allows the user to browse...
1
by: jez123456 | last post by:
Hi Experts I have a working c# application that users can store files (.doc, .xls, ..bmp, etc) as binary data into an Access database. I now need to extend this to also store hyperlinks. ...
1
by: Janna | last post by:
Hello tech savvy gurus! I hope someone can help me! THE PROBLEM: "Cannot open specified file" when I click on a hyperlink in an Access database when it is located on our server. THE...
1
by: mforema | last post by:
Hi Everybody, I have an Access table with a field filled with outdated hyperlinks. I also have an excel spreadsheet that is the master list for these hyperlinks. The spreadsheet will be updated...
3
by: prinsipe | last post by:
Hi all, what i'm doing is showing/hiding hyperlinks depending on the hyperlink clicked. it is partially working. when i call step1, all hyperlinks are hidden. but then i call step2, single and...
12
by: Frustratee | last post by:
Sorry guys, this is killing me. I have been fighting this issue for several weeks, to no avail. I am exporting the results of a query to an excel sheet, with one of the columns being from a field...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.