I.E version 6.0.28 ?

L

lisztnet

Hi,

I beginning to desperate...should one really try to achieve
compatibility with this browser ? For example, here, it doesn't get
the color of the link from the css style :

<div class="col-gauche">

<p>&nbsp;</p>

<div class="element-de-menu">

<a href="#"><span STYLE="display:block"><img src="pl.gif"
alt="Polski" border="1">Polski</span></a>

</div>

CSS :

..element-de-menu a:link
{
color: #663300;
text-decoration: none
}

Color is replaced by the default one (sort of fuschia)


But strangely the hover style is rendered :

..element-de-menu a:hover
{
color: #c63;
text-decoration: none
}

Color is exact rendered !




Oper and Firefox works fine, IE display not what it should.

I used the span style to get a block effect, maybe this isn't OK ?

TIA,

L
 
L

lisztnet

Hi,

I beginning to desperate...should one really try to achieve
compatibility with this browser ? For example, here, it doesn't get
the color of the link from the css style :

<div class="col-gauche">

<p>&nbsp;</p>

<div class="element-de-menu">

<a href="#"><span STYLE="display:block"><img src="pl.gif"
alt="Polski" border="1">Polski</span></a>

</div>

CSS :

.element-de-menu a:link
{
color: #663300;
text-decoration: none
}

Color is replaced by the default one (sort of fuschia)

But strangely the hover style is rendered :

.element-de-menu a:hover
{
color: #c63;
text-decoration: none
}

Color is exact rendered !

Oper and Firefox works fine, IE display not what it should.

I used the span style to get a block effect, maybe this isn't OK ?

TIA,

L

http://validator.w3.org/check

Congratulations

The uploaded document "index.html" was checked and found to be valid
HTML 4.01 Transitional. This means that the resource in question
identified itself as "HTML 4.01 Transitional" and that we successfully
performed a formal validation using an SGML or XML Parser (depending
on the markup language used).


But IE 6 won't render it and i have no clue for the moment ...grrrr

l
 
L

lisztnet

http://validator.w3.org/check

Congratulations

The uploaded document "index.html" was checked and found to be valid
HTML 4.01 Transitional. This means that the resource in question
identified itself as "HTML 4.01 Transitional" and that we successfully
performed a formal validation using an SGML or XML Parser (depending
on the markup language used).

But IE 6 won't render it and i have no clue for the moment ...grrrr

l

Sorry, i had to specify a:visited, though this was optional...

L
 
E

Els

<div class="element-de-menu">

<a href="#"><span STYLE="display:block"><img src="pl.gif"
alt="Polski" border="1">Polski</span></a>

</div>

CSS :

.element-de-menu a:link
{
color: #663300;
text-decoration: none
}

Color is replaced by the default one (sort of fuschia)

Because you have visited the link.
Try this:
..element-de-menu a:link,
..element-de-menu a:visited
{
color: #663300;
text-decoration: none
}

Oper and Firefox works fine, IE display not what it should.

Maybe you visited the page in IE, but not in Opera and Firefox.
I used the span style to get a block effect, maybe this isn't OK ?

If the above doesn't help, try this:
..element-de-menu a:link span,
..element-de-menu a:visited span
{
color: #663300;
text-decoration: none
}
 
D

dorayme

Hi,

I beginning to desperate...should one really try to achieve
compatibility with this browser ? For example, here, it doesn't get
the color of the link from the css style :

<div class="col-gauche">

<p>&nbsp;</p>

<div class="element-de-menu">

<a href="#"><span STYLE="display:block"><img src="pl.gif"
alt="Polski" border="1">Polski</span></a>

</div>

CSS :

.element-de-menu a:link
{
color: #663300;
text-decoration: none
}

Color is replaced by the default one (sort of fuschia)

My first thought on this is it sounds like a visited link, the memory of
which is stuck in some cache in your IE?
 
D

dorayme

Els said:
Because you have visited the link.
Try this:
.element-de-menu a:link,

Ah, yes, sorry Els, you said this first, I should read all the posts
instead of offering my 2 cents...

(But at least mine can be thought to be uniquely from a non-sensible
person - as per Andy and Sherm's posts which I have also now read. I
like to be a living example of what these fellers are saying. It makes
me feel real. A martian can get to feel too ghostly on this planet.)
 
L

lisztnet

Because you have visited the link.
Try this:
.element-de-menu a:link,
.element-de-menu a:visited
{
color: #663300;
text-decoration: none
}


Maybe you visited the page in IE, but not in Opera and Firefox.


If the above doesn't help, try this:
.element-de-menu a:link span,
.element-de-menu a:visited span
{
color: #663300;
text-decoration: none
}

Ok thanks, your right; as soon as i visited the links, i had the sames
troubles in Firefox as in I.E, so...

L
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top