Jump to content

Recommended Posts

Posted

On the new version of the school website I am working on, I had previously had the CSS style commands embeded in the template PHP file that is included in all webpages automatically.

 

I was trying to move these embeded style commands to an external file. Everything except for the menu buttons works and looks the same. However, for some reason the menu buttons are double the width when the exact same coding is used in an external file.

 

Take a look: (add http): claridenfundraisers.com/tcsweb2/template/test.php

 

If you click on any of the links, you can see what it is supposed to look like. Are there any tricks? I find it odd that is the only problem that showed up.

Posted

Looks OK to me in Firefox and Konqueror. Which browser are you using?

 

Also try this (replacing the whole section)

 

Posted

I did try your recommended change, webman. It did not help this problem in IE. :(

 

I just tested it in Firefox (good thought). It turns out it is an IE problem.

I use IE 6.

 

Here is an attached screenshot of what I see in IE 6.

screenhunter_01_apr._08_10.39.gif

  • 2 weeks later...
Posted

I'm going to have a look at this for you while I wait for a reply to a questiuon I'm about to post....

 

Don't know if you know already but the menu looks fine in ie7, but when you go below li number one on a sublist, it dissapears. Makes me think you either have the width of your li or ul too wide, or you haven't set them. I'll have a look and see if I can help

Posted

This problem is due to differences in the css interpretation of IE6

 

You will need some IE6 only hacks in the css to solve it

 

try adding

/* Hacks */

* html #menu li {

float: left;

height: 1%;

}

* html #menu a {

height: 1%;

}

/* End Hacks */

 

to your css...it should fix the height issue in IE6

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...