I created a navigation bar which is exhibiting rather odd behavior after
using CSS styles.
The code, including the internal style sheet, is below. (The links won't
work for you--what I am concerned about is the styling.)
When you look at the page in IE6, IE6 has inserted dark grey horizontal
bars between all the list items, except in 3 cases:
between the 1st and 2nd items; between 2nd and 3rd list items; between
the 4th and 5th items.
Netscape does not insert any such horizontal grey bars.
As you can see from the code, these horizontal grey bars are an artifact
of IE rendering. The bars are not in the code. I would appreciate any ideas
as to what could be causing this IE6 behavior and how it can be stopped or
at least made uniform, so that the grey bars are inserted between all the
list items.
Thanks in advance, CMA
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>sidebar2</title>
<style type="text/css">
<!--
#navlist
{padding: 0 1px 1px;
margin-left: 0;
font: bold 12px Verdana, sans-serif;
background: gray;
width: 13em;}
#navlist li
{list-style: none;
margin: 0;
border-top: 1px solid gray;
text-align: left;}
#navlist li a
{display: block;
padding: 0.25em 0.5em 0.25em 0.75em;
border-left: 1em solid #AAB;
background: #CCD;
text-decoration: none;}
#navlist li a:link { color: #448; }
#navlist li a:visited { color: #667; }
#navlist li a:hover
{border-color: #FE3;
color: #FFF;
background: #332;}
-->
</style>
</head>
<body>
<div id="navcontainer">
<ul id="navlist">
<li><a href="Earlyall.htm" title="early clothing">EARLY </a></li>
<li><a href="victall.htm" title="Victorian clothing">VICTORIAN </a></li>
<li><a href="EdwardianVintageClothing.htm" title="Edwardian
clothing">EDWARDIAN</a></li>
<li><a href="20sall.htm" title="1920's clothing">1920'S </a></li>
<li><a href="30sall.htm" title="1930's-1950's
clothing">1930'S-1950'S</a></li>
<li><a href="Designer Vintage Clothing.htm" title="designer
clothing">DESIGNER</a></li>
<li><a href="Jewelry.htm" title="jewelry">JEWELRY</a></li>
<li><a href="AntiqueTextiles.htm" title="textiles">TEXTILES</a></li>
<li><a href="shawlall.htm" title="shawls">SHAWLS</a></li>
<li><a href="treasure hunt.htm" title="treasure hunt">TREASURE
HUNT</a></li>
<li><a href="articlesall.htm" title="Articles">ARTICLES</a></li>
</ul>
<p> </p>
<p> </p>
</div>
</body>
</html> 2 2108
"CMAR" <cm***@yahoo.com> wrote: I created a navigation bar which is exhibiting rather odd behavior after using CSS styles.
The code, including the internal style sheet, is below. (The links won't work for you--what I am concerned about is the styling.) When you look at the page in IE6, IE6 has inserted dark grey horizontal bars between all the list items, except in 3 cases: between the 1st and 2nd items; between 2nd and 3rd list items; between the 4th and 5th items.
Netscape does not insert any such horizontal grey bars.
As you can see from the code, these horizontal grey bars are an artifact of IE rendering. The bars are not in the code. I would appreciate any ideas as to what could be causing this IE6 behavior and how it can be stopped or at least made uniform, so that the grey bars are inserted between all the list items.
Thanks in advance, CMA
Strangely, the problem occurs after those items where you *don't* have
a trailing space at the end of the text inside the link. If you insert
a trailing space after each item that doesn't already have one, all
the gray bars vanish. I don't know why.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>sidebar2</title> <style type="text/css"> <!-- #navlist {padding: 0 1px 1px; margin-left: 0; font: bold 12px Verdana, sans-serif; background: gray; width: 13em;} #navlist li {list-style: none; margin: 0; border-top: 1px solid gray; text-align: left;} #navlist li a {display: block; padding: 0.25em 0.5em 0.25em 0.75em; border-left: 1em solid #AAB; background: #CCD; text-decoration: none;} #navlist li a:link { color: #448; } #navlist li a:visited { color: #667; } #navlist li a:hover {border-color: #FE3; color: #FFF; background: #332;} --> </style> </head> <body> <div id="navcontainer"> <ul id="navlist"> <li><a href="Earlyall.htm" title="early clothing">EARLY </a></li> <li><a href="victall.htm" title="Victorian clothing">VICTORIAN </a></li> <li><a href="EdwardianVintageClothing.htm" title="Edwardian clothing">EDWARDIAN</a></li> <li><a href="20sall.htm" title="1920's clothing">1920'S </a></li> <li><a href="30sall.htm" title="1930's-1950's clothing">1930'S-1950'S</a></li> <li><a href="Designer Vintage Clothing.htm" title="designer clothing">DESIGNER</a></li> <li><a href="Jewelry.htm" title="jewelry">JEWELRY</a></li> <li><a href="AntiqueTextiles.htm" title="textiles">TEXTILES</a></li> <li><a href="shawlall.htm" title="shawls">SHAWLS</a></li> <li><a href="treasure hunt.htm" title="treasure hunt">TREASURE HUNT</a></li> <li><a href="articlesall.htm" title="Articles">ARTICLES</a></li> </ul> <p> </p> <p> </p> </div> </body> </html>
--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
"Harlan Messinger" <hm*******************@comcast.net> wrote in message
news:nl********************************@4ax.com... "CMAR" <cm***@yahoo.com> wrote:
I created a navigation bar which is exhibiting rather odd behavior after using CSS styles.
The code, including the internal style sheet, is below. (The links won't work for you--what I am concerned about is the styling.) When you look at the page in IE6, IE6 has inserted dark grey horizontal bars between all the list items, except in 3 cases: between the 1st and 2nd items; between 2nd and 3rd list items; between the 4th and 5th items.
Netscape does not insert any such horizontal grey bars.
As you can see from the code, these horizontal grey bars are an
artifactof IE rendering. The bars are not in the code. I would appreciate any
ideasas to what could be causing this IE6 behavior and how it can be stopped
orat least made uniform, so that the grey bars are inserted between all the list items.
Thanks in advance, CMA
Strangely, the problem occurs after those items where you *don't* have a trailing space at the end of the text inside the link. If you insert a trailing space after each item that doesn't already have one, all the gray bars vanish. I don't know why.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>sidebar2</title> <style type="text/css"> <!-- #navlist {padding: 0 1px 1px; margin-left: 0; font: bold 12px Verdana, sans-serif; background: gray; width: 13em;} #navlist li {list-style: none; margin: 0; border-top: 1px solid gray; text-align: left;} #navlist li a {display: block; padding: 0.25em 0.5em 0.25em 0.75em; border-left: 1em solid #AAB; background: #CCD; text-decoration: none;} #navlist li a:link { color: #448; } #navlist li a:visited { color: #667; } #navlist li a:hover {border-color: #FE3; color: #FFF; background: #332;} --> </style> </head> <body> <div id="navcontainer"> <ul id="navlist"> <li><a href="Earlyall.htm" title="early clothing">EARLY </a></li> <li><a href="victall.htm" title="Victorian clothing">VICTORIAN </a></li> <li><a href="EdwardianVintageClothing.htm" title="Edwardian clothing">EDWARDIAN</a></li> <li><a href="20sall.htm" title="1920's clothing">1920'S </a></li> <li><a href="30sall.htm" title="1930's-1950's clothing">1930'S-1950'S</a></li> <li><a href="Designer Vintage Clothing.htm" title="designer clothing">DESIGNER</a></li> <li><a href="Jewelry.htm" title="jewelry">JEWELRY</a></li> <li><a href="AntiqueTextiles.htm" title="textiles">TEXTILES</a></li> <li><a href="shawlall.htm" title="shawls">SHAWLS</a></li> <li><a href="treasure hunt.htm" title="treasure hunt">TREASURE HUNT</a></li> <li><a href="articlesall.htm" title="Articles">ARTICLES</a></li> </ul> <p> </p> <p> </p> </div> </body> </html>
-- Harlan Messinger Remove the first dot from my e-mail address. Veuillez ôter le premier point de mon adresse de courriel.
Nice work Harlan. Problem solved, thanks to you! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: mike420 |
last post by:
In the context of LATEX, some Pythonista asked what the big
successes of Lisp were. I think there were at least three *big*
successes.
a. orbitz.com web site uses Lisp for algorithms, etc.
b....
|
by: Nick Evans |
last post by:
Hello there,
I have been on and off learning to code (with python being the second
language I have worked on after a bit of BASIC). What I really want to know
is, if you are going to actually...
|
by: Nicolas Fleury |
last post by:
In the following example:
class MyMetaclass(type): pass
class MyBaseType(object): __metaclass__ = MyMetaclass
class MyType(MyBaseType):
x = 4
y = 5
z = 6
Is there any way to modify...
|
by: BobAchgill |
last post by:
I had a setup install fail on me for some reason which is
not clear. I had to kill the install because it got
stuck... I killed it using Windows Task Manager.
So now I can not make another...
|
by: =?Utf-8?B?bWljaGFlbCBzb3JlbnM=?= |
last post by:
I have created a Control that extends RichTextBox to do syntax-hilighting. My
strategy is to have a timer that restarts every time a user types a key so
that it can wait until the user pauses for...
|
by: kjensen |
last post by:
Hi
I'm working on a simple FTP server implementation but I've run into a strange problem.
I use this function to recieve:
def stor(self):
f = open('test', 'w')
while 1:
|
by: Goomba |
last post by:
I am keeping track of artifacts from a certain place (cache) and certain owners. There are many artifacts to a cache and many artifacts to an owner, but cache and owner are not necessarily related....
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
| |