473,396 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

IE6 is doing something very funny

Hello all

The page I am having problems with is:
http://www.bangor.ac.uk/~absc04/test2.htm

It has an unordered list which reads Link One, Link Two, Link Three
and so forth. If you view this page with IE6 you will see that it has
picked up a 'list-style-image' declaration but this is not declared in
the associated CSS id.

Very annoying as Mozilla, Opera, Firefox and Netscape seem to render
it properly. Is there a hack for this IE issue or could it be I need
to re-code somehwere.

Any ideas would be much appreciated.

Thanks
Chris
Jul 20 '05 #1
3 2215
Chris wrote:

The page I am having problems with is:
http://www.bangor.ac.uk/~absc04/test2.htm

It has an unordered list which reads Link One, Link Two, Link Three
and so forth. If you view this page with IE6 you will see that it has
picked up a 'list-style-image' declaration but this is not declared in
the associated CSS id.


I can see the following image ...
http://www.bangor.ac.uk/~absc04/images/navbullet.jpg

.... is declared in the page's CSS ...
list-style-image: url("../images/navbullet.jpg");

The selector you use is...
#NAVIGATON ul,li

.... so it applies to "li" of any type. You need to write:
#NAVIGATON ul, #NAVIGATON li

--
Google Blogoscoped
http://blog.outer-court.com
Jul 20 '05 #2
On 27 May 2004 07:35:34 -0700, Chris <ab****@bangor.ac.uk> wrote:
Hello all

The page I am having problems with is:
http://www.bangor.ac.uk/~absc04/test2.htm

It has an unordered list which reads Link One, Link Two, Link Three
and so forth. If you view this page with IE6 you will see that it has
picked up a 'list-style-image' declaration but this is not declared in
the associated CSS id.

Very annoying as Mozilla, Opera, Firefox and Netscape seem to render
it properly. Is there a hack for this IE issue or could it be I need
to re-code somehwere.

Any ideas would be much appreciated.

Thanks
Chris


#NAVIGATON ul,li

This resets all li. Change to #NAVIGATON ul,#NAVIGATON li
Jul 20 '05 #3
ab****@bangor.ac.uk (Chris) wrote:
The page I am having problems with is:
http://www.bangor.ac.uk/~absc04/test2.htm

It has an unordered list which reads Link One, Link Two, Link Three
and so forth. If you view this page with IE6 you will see that it has
picked up a 'list-style-image' declaration but this is not declared in
the associated CSS id.

Very annoying as Mozilla, Opera, Firefox and Netscape seem to render
it properly. Is there a hack for this IE issue or could it be I need
to re-code somehwere.


You have the following style:

#NAVIGATON ul,li {
list-style-image: url("../images/navbullet.jpg");
}

That selector matches all <ul> elements that are descendents of
#NAVIGATION and _all_ <li> elements.

This is then in conflict with the #CONTENT li { list-style : none; }
rule. IE seems to be getting it wrong when it resolves the confliect
between the two rules, the more specific rule (#CONTENT li) should
take precdence even if it is using a shorthand property.

To fix the problem change #NAVIGATON ul,li to
#NAVIGATON ul, #NAVIGATON li

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: francisco lopez | last post by:
hi, well I think I will forget the earthquake-effect, because it doesn´t run in a frame with IE, so I need now another funny prank, but not the format C: fake, I was thinking for example that a...
3
by: Anna | last post by:
Hi. I want to write a program which does different functions according to input. I need to write it as general as possible. Example: input: Beep 2 <should call a function which does the...
3
by: Suri | last post by:
hi im trying to run this simple program. any help shall be appreciated ..pls see error message. #include <math.h> #include <stdio.h> #include <stdlib.h> int main() { double pic; pic= 4.0 *...
9
by: Salad | last post by:
The other day my friends were on the web ready to purchase some tickets on-line for a concert. There was a textbox to enter their e-mail address and another to enter a password. So they entered...
8
by: xanthviper | last post by:
Hey, I'm trying to do what I think is pretty basic here, but I am missing something. Hopefully someone can point me in the right direction. Essentially I have an enumeration set up as the...
3
by: Jochen Müller | last post by:
Just a short question: With a network sniffer and a hex editor I looked at the pages coming from my ASP.NET environment and I saw some strange bytes between header and the page content: 0d 0a 0d...
5
by: One Handed Man [ OHM# ] | last post by:
I'm doing something stupid !, I must be because this throws no exception, but does not delete the file which "is" there. Amy ideas ? Try System.IO.File.Delete("c:\test.txt") Catch ex As...
18
by: JohnR | last post by:
From reading the documentation, this should be a relatively easy thing. I have an arraylist of custom class instances which I want to search with an"indexof" where I'm passing an instance if the...
4
by: jason.teen | last post by:
Hi, when i am joining on a Column of Text Type with one of Memo type the resulting entry has funny chinese characters! Has anyone else encountered this before? Is there a cure?? Cheers.
8
by: Connectcase | last post by:
Hi there, and greetings from the Netherlands. Trying to switch over from VB to VB.NET and struggling with something that seemed very simple: ============================ Public Class Form1...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.