[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 294
  • Last Modified:

Joomla Browser support

Hi Experts,

I'm running Joomla 1.5 and my site has a few css problems when rendered by IE 7 & 8 (css drop menu left position).

I'd like to create a style sheet for IE 7 & 8 to deal with the drop menu issue so what line can I add to the index.php head to test for the browser version and direct it to use the appropriate CSS file?

Thanks,

HNM
0
HelpNearMe
Asked:
HelpNearMe
  • 2
1 Solution
 
Panagiotis Sweb developer - designer Commented:
0
 
Panagiotis Sweb developer - designer Commented:
moreover

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
	<head>
		<title>Test</title>
		<link href="all_browsers.css" rel="stylesheet" type="text/css">
		<!--[if IE]> <link href="ie_only.css" rel="stylesheet" type="text/css"> <![endif]-->
		<!--[if lt IE 7]> <link href="ie_6_and_below.css" rel="stylesheet" type="text/css"> <![endif]-->
		<!--[if !lt IE 7]><![IGNORE[--><![IGNORE[]]> <link href="recent.css" rel="stylesheet" type="text/css"> <!--<![endif]-->
		<!--[if !IE]>--> <link href="not_ie.css" rel="stylesheet" type="text/css"> <!--<![endif]-->
	</head>
	<body>
		<p>Test</p>
	</body>
</html>

Open in new window

0
 
HelpNearMeAuthor Commented:
Excellent info, thanks!

HNM
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now