By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,767 Members | 1,255 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,767 IT Pros & Developers. It's quick & easy.

NN4 - link with border links no more

P: n/a
Hello,

I have styled a link like this:

a {
text-decoration:none;
display:block;
width:100px;
background-color:yellow;
border:2px outset yellow;
padding-left:5px;
margin-left:10px;
}

NN4 displays the border, but ignores the background color (yellow). Instead,
the background image of the parent element (a table cell) is used (not just
showing through, but starting anew at an offset). And as if that wasn't
enough to annoy me, the link does no longer work as a link!

When I remove the border in the above style definition, the link works again
and also has the correct yellow background (though not as a box of 100px,
but only behind the actual link text). Is there a way to have *both* the
functioning link with yellow background *and* the border? It works as
intended on "all" other browsers.

Greetings,
Thomas

Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Sat, 15 Nov 2003 19:35:45 +0100, "Thomas Mlynarczyk"
<bl*************@hotmail.com> wrote:
Hello,


[snip description of NS4 problem when a border is added]

Netscape4 is notorious for spectacular screw-ups when borders are
specified with CSS. Your best bet is to use one the "NS4-hiding
tricks" to keep it from seeing those declarations, if NS4 support is
important to you.

Nick

--
Nick Theodorakis
ni**************@hotmail.com
nicholas_theodorakis [at] urmc [dot] rochester [dot] edu
Jul 20 '05 #2

P: n/a
Also sprach Nick Theodorakis:
Your best bet is to use one the "NS4-hiding
tricks" to keep it from seeing those declarations, if NS4 support is
important to you.


That would be my last resort, but I'm still hoping to find a better
solution.

Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.