Netscape inserts line breaks after <a class="...">
Does anyone have a workaround for this? I have found that Netscape, in all its wonderful logic, inserts a line break after <a> tags that have a CSS class.
Here is an example
Here is the code for the CSS class, link:
.link{
font-size : 14px;
font-family : Arial, Tahoma, Serif;
font-style: normal;
text-align: left;}
Once again... I am befuddled by Netscape.
Your help is appreciated.
NN4 should handle using class & id for <a> tags.
I think the problem is the inline style declarations in the <hr> & <p> tags.
NN4 does goofy things when it encounters inline style declarations.
Re: Netscape inserts line breaks after <a class="...">
Originally posted by telark
.link { ... text-align: left;}
Why are you aligning the contents of an inline element? That may be your problem.
~~Hope This Helps
Re: Re: Netscape inserts line breaks after <a class="...">
Originally posted by Ian Glass
Why are you aligning the contents of an inline element? That may be your problem.
Indeed, good job Ian.
The text-align property doesn't apply to in-line elements like <a>. Other browsers are ignoring this but Netscape is being tempermental as usual.
Thank you both!
Thank you - that had not occurred to me - and I have no idea why the text-align attribute was there.
I appreciate your help.
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks