PDA

View Full Version : One site using PHP-HTML & CSS Issues


asesupply
05-29-2012, 08:48 PM
New to the forum, I will try to explain this issue the best I can.

I have a 30 page (approx.) website, the main pages are in HTML and the product program (i.e. login.php) are all PHP, I also have two DWT templates, one is a HTML and the other is a DWT.PHP.
Everything works just how it is supposed to, but I have two pages in my PHP customer login area that the CSS nav.menu they donít roll over on mouse over, if you look at the site www.asesupply.com (http://www.asesupply.com/) and hover over home, contact us and so on, you see it rolls to a white background and the link changes color, but just on two pages inside, they donít roll over and just the text changes color.

I have messed with this for days, you would think it would be in the template, cause it uses the template and isnít editable in other pages, so im lost on this one, I can post the source code if someone want to see it.
Any help would be cool.

Thanks
Ken

edbr
05-30-2012, 01:25 AM
your link to the style sheet on login is wrong

<link href="style.css" rel="stylesheet" type="text/css" />
should be
<link href="../style.css" rel="stylesheet" type="text/css" />

asesupply
05-30-2012, 04:25 AM
not sure how this happen, but the correct way is on line 33, not even sure how this is working right..

<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/custtemplate.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>ASE Supply - Thermo By Products</title>
<!-- InstanceEndEditable -->
<link href="style.css" rel="stylesheet" type="text/css" />
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<style type="text/css">
a:link {
color: #06C;
text-decoration: underline;
}
a:visited {
text-decoration: underline;
color: #C60;
}
a:hover {
text-decoration: underline;
color: #00C;
}
a:active {
text-decoration: underline;
}
.bodyPadding table tr td table tr th p {
text-align: left;
}
</style>
<!-- InstanceBeginEditable name="head" -->
<link href="../style.css" rel="stylesheet" type="text/css" />
<!-- InstanceEndEditable -->

</head>

<body>