Jump to content

Browser Conditional Css


cclloyd9785

Recommended Posts

According to what I understand, no, can't for firefox. Yes for all IE just remove the 6. For CSS, yes just put in a style tag or external style sheet:

<!--[if IE 6]><style type="text/css"CSS here</style><![endif]-->

OR

<!--[if IE 6]><link rel="stylesheet" type="text/css" href="mystyle.css" /><![endif]-->

Link to comment
Share on other sites

Why would you want to change something specifically for Firefox? Conditional comments are OK when dealing with browsers that aren't standards compliant, but I discourage the use of anything that singles out specific browsers because it can cause trouble when browsers change. Internet Explorer is the only exception.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...