473,651 Members | 2,659 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

UL list formating CSS problem with IE - works fine with Firefox

3 New Member
Hello - new to the board and wondering if anyone can help with this. I have a site developed with the CMS ModX.

It has a CSS UL list menu on the left hand side that needs to have roll-overs and a way to show location.

The solid background colour, is to indicate which page the visitor is on, works fine with Firefox - but doesn't work with IE 6 and for the life of me I can't figure out where in the CSS I've gone wrong.

At the moment I'm testing on the Utility section;

http://emc2.site4test. co.uk/index.php?q=acc essibility.html

for the menu on the left

The CSS

Overall - http://emc2.site4test.co.uk/css/emc_our.css

Then for the menu

http://emc2.site4test.co.uk/css/flyout_footer.css
http://emc2.site4test.co.uk/css/flyout_footerie.css

I've used the CMS to add a class tag (active) to the relevant list item to indicate it is the live page

and therefore to format this class this I have added

.menu ul li.active a {color:#fff; background:#CC3 333;}
.menu ul li.here a{color:#fff; background:#CC3 333;}

to both flyout css sheets.

And still it only works in Firefox.

Any help would be appreciated, I've spent a day on this already, and it's stumped two forums so far.

Help !
Apr 20 '07 #1
4 2324
drhowarddrfine
7,435 Recognized Expert Expert
Validate and fix your 10 html errors.

Also, case matters to CSS and Xhtml. Change your 'A' for anchors in your CSS to lower case.

In your CSS comments, it appears you are aware that hover only works on anchors in IE6, correct?
Apr 20 '07 #2
DavidJColbran
3 New Member
Validate and fix your 10 html errors.

Also, case matters to CSS and Xhtml. Change your 'A' for anchors in your CSS to lower case.

In your CSS comments, it appears you are aware that hover only works on anchors in IE6, correct?
Errors fixed and validated.

Also changed the case for the anchors.

>it appears you are aware that hover only works on anchors in IE6, correct?

I need them to work on IE6 and above - copied the CSS from elsewhere to be honest.
Apr 20 '07 #3
drhowarddrfine
7,435 Recognized Expert Expert
Ok but you didn't validate the css. Fix these:
font color: #999999;
should be:
color:#999999;

and
#navcontainer a:link, a:visited, {

remove the last comma.

Haven't looked to see if that does anything but will be back later. Let me know.
Apr 20 '07 #4
DavidJColbran
3 New Member
Ok but you didn't validate the css. Fix these:
font color: #999999;
should be:
color:#999999;

and
#navcontainer a:link, a:visited, {

remove the last comma.

Haven't looked to see if that does anything but will be back later. Let me know.
Thanks for your help - still a bit rusty when it comes to CSS.

All the CSS validate now, but still no joy.
Apr 20 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
25313
by: Matt | last post by:
I want to know if readOnly attribute doesn't work for drop down list? If I try disabled attribute, it works fine for drop down list. When I try text box, it works fine for both disabled and readOnly attribute. For example, #1 will work, but #2 doesn't work 1) <SELECT name="streetDirection" class="FormInput" DISABLED> In JavaScript, I have InputForm.streetDirection.disabled = false; 2) <SELECT name="streetDirection" class="FormInput"...
0
1235
by: fragmonster | last post by:
Hi, I need to manipulate XML files with PHP. So i need to extract and insert nodes in my files. For the extraction : no problem with XPath, it works fine. But, for inserting new nodes, it's more complicated. It's works but I'm experiencing some XML code formating problems Lets take an example of XML source file, in which I have to insert data
15
6381
by: KBuser | last post by:
I recently developed an internal website with various queries against our SQL server. I added buttons with Response.Redirect. These buttons do not work with Internet Explorer, however when using Firefox the page works flawless. Does anyone know why this is happening or how to fix it?
28
13184
by: entfred | last post by:
I have the following line of html: &nbsp;&nbsp1234&nbsp;&nbsp;&nbsp;&nbsp;&nbspabc&nbsp;&nbsp;&nbspyow In Internet Explorer 6.0, the columns look ok using the above html: 1234 abcd yow But, in firefox, for same html, getting this:
7
6308
by: David Trimboli | last post by:
Suppose I've got HTML with the following in it: <ul class="navigation"> <li><a href="chapter1.html" title="Chapter 1">Previous</a></li> <li><a href="./">Contents</a></li> <li><a href="chapter3.html" title="Chapter 3">Next</a></li> </ul> I'd like to style this such that all three links appear on the same line, with Prev at the far left, Contents in the center, and Next at the
0
1746
by: Fonix | last post by:
I'm trying to make table border with pyExcelerator. As i can see there is only cell formating!? If i'm wrong pls tell me what is method to make more then one cell to have same format, other then just give them one-by-one. For little tables 100/20 formating cell by cell work ( i try with borders) fine. But when i get 5000/20 excel say: Too many different cell format! and excel remove some of the formats :( Pls help i need to format...
7
2534
by: Carlos Mendonça | last post by:
Has anyone managed to get ClickOnce to work with Firefox? It seems to me that it still has the same issues VS 2K5 had. I appreciate any comments or tips.
6
1945
by: raknin | last post by:
I am creating a dynamic list on the server using php file,when I run the PHP script in all 4 browsers (IE 6, Firefox 2, opera and safari 3) every think go Ok and the list is created. but when I call the php script from the browser using Ajax, the list is created fine in IE and Opera but on Firefox and safari I got the following error: "Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in...
0
8347
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8792
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8457
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8571
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7294
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4143
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4280
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1905
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.