HighDots Forums  

NN4 - link with border links no more

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss NN4 - link with border links no more in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Thomas Mlynarczyk
 
Posts: n/a

Default NN4 - link with border links no more - 11-15-2003 , 12:35 PM






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




Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: NN4 - link with border links no more - 11-15-2003 , 12:53 PM






On Sat, 15 Nov 2003 19:35:45 +0100, "Thomas Mlynarczyk"
<blue_elephant55 (AT) hotmail (DOT) com> wrote:

Quote:
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
nick_theodorakis (AT) hotmail (DOT) com
nicholas_theodorakis [at] urmc [dot] rochester [dot] edu


Reply With Quote
  #3  
Old   
Thomas Mlynarczyk
 
Posts: n/a

Default Re: NN4 - link with border links no more - 11-15-2003 , 01:03 PM



Also sprach Nick Theodorakis:

Quote:
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.





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.