A:Visited Is Not Working on Mozilla But Works Fine on Ie

a:visited is not working on mozilla but works fine on IE

The visited style has been removed from Firefox (and most other browsers) in recent versions due to a security issue with it.

The problem is that a malicious web site could work out your browsing history by using it - they would set a visited colour, produce a load of URLs (even hidden ones so the user doesn't know about it), and check their colour. It caused quite a bit of noise in browser security circles a couple of years ago.

The visited feature can be switched back on again in Firefox, by going to the security preferences, but it is disabled by default, and most users will have it switched off.

See here for more info on the problem and how Firefox went about fixing it: http://blog.mozilla.com/security/2010/03/31/plugging-the-css-history-leak/

layout issues with IE and FIrefox, CHrome works fine

What could be the root of your problem is both your CSS and HTML are invalid. Running them through their respective W3C validators located at:

http://validator.w3.org

http://jigsaw.w3.org/css-validator

turns up errors.

For your CSS:

11   h1, h2, h3, h4, h5  Parse Error [ (font-weigth: bold;} h1]
51 .content Value Error : float top is not a float value : top

First column is line numbers. For the HTML, it looks like most complaints it has stem from this one:

 Line 44, Column 51: end tag for element "p" which is not open
<h3>Students discounts Launched</p>

Fix your HTML and CSS, revalidate, and try again in those browsers.

My nav doesn't work on internet explorer

HTML5 is not supported by IE8 so you can't use the <nav> tag.

Replace your nav tags with something like this:

<div class="nav"></div>


Related Topics



Leave a reply



Submit