HighDots Forums  

Link problem IE vs Mozilla

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


Discuss Link problem IE vs Mozilla in the Cascading Style Sheets forum.



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

Default Link problem IE vs Mozilla - 12-10-2003 , 12:34 PM






I'm having a bit of a problem with a navigation bar in IE that was discovered
when I removed a Search form from the navigation. What happened is that the
links are no longer active in the blank space following the text. With Mozilla,
the link are active for the entire width of each navigation bar entry. I may be
explaining this poorly, so here is a snippet of the html:

<div id="nav">
<a href="/">Home</a>
<form method="post" action="search.php">
<input type="text" size="1"> <input type="submit" value="X">
</form>
</div>


This is from the CSS file:

#nav {
border-top: #666 solid 1px;
border-bottom: #666 solid 1px;
border-left: #333 solid 2px;
border-right: #333 solid 2px;
width: 175px;
padding: 2px;
margin: 10px;
}

#nav a:hover {
background: #ffff00 no-repeat top left fixed;
}


div#nav a {
display: block;
margin: 3px 2px;
padding-left: 18px;
}

div#nav a:link {
color: #900;
text-decoration: none;
border-bottom: 1px solid #966;
border-left: 15px solid #966;
padding-left: 3px;
}
================================================== ===============

With the <form></form> section, the "Home" link works anywhere in the space
following the "e". If I remove the form section, the link only works when
hovering over the actual letters of Home.

Mozilla Firebird doesn't exhibit this behavior, and works along the width of the
navigation bar.

TIA for any help.

jon
--
jwayne (AT) _myrealbox_no_spam (DOT) com

Reply With Quote
  #2  
Old   
Andrew Thompson
 
Posts: n/a

Default Re: Link problem IE vs Mozilla - 12-10-2003 , 12:48 PM






"JW" <jwayne (AT) _myrealbox_no_spam (DOT) com> wrote

....
Quote:
TIA for any help. *
1) Ask a question. You gave lots of information,
but forgot to ask a question.

2) Supply an URL rather than 'code snippets',
which are about as useful as breasts on a bull.

* You're Welcome ;-)

--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site




Reply With Quote
  #3  
Old   
JW
 
Posts: n/a

Default Re: Link problem IE vs Mozilla - 12-10-2003 , 03:48 PM



"Andrew Thompson" <andrew64 (AT) bigNOSPAMpond (DOT) com> wrote:

Quote:
"JW" <jwayne (AT) _myrealbox_no_spam (DOT) com> wrote in message
news:7toetvkci5l6380hpqg1g9o7eb1chmg76o (AT) 4ax (DOT) com...
...
TIA for any help. *

1) Ask a question. You gave lots of information,
but forgot to ask a question.
I thought that the question was self evident, even though I didn't use an actual
"?" <g>

Quote:
2) Supply an URL rather than 'code snippets',
which are about as useful as breasts on a bull.
Point taken.

http://www.jonathanwayne.com/csstest

http://www.jonathanwayne.com/csstest/test.css

TAIA!

jon
--
jwayne (AT) _myrealbox_no_spam (DOT) com


Reply With Quote
  #4  
Old   
JW
 
Posts: n/a

Default Re: Link problem IE vs Mozilla - 12-12-2003 , 12:19 AM



JW <jwayne (AT) _myrealbox_no_spam (DOT) com> wrote:

Quote:
I'm having a bit of a problem with a navigation bar in IE that was discovered
when I removed a Search form from the navigation. What happened is that the
links are no longer active in the blank space following the text. With Mozilla,
the link are active for the entire width of each navigation bar entry. I may be
explaining this poorly, so here is a snippet of the html:
(snip)

If anybody cares, I fixed this with an addition to my IE6 specific CSS file:

#nav a {
width: 163px;
}


jon

--
jwayne (AT) _myrealbox_no_spam (DOT) com


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.