473,493 Members | 4,347 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Link problem IE vs Mozilla

JW
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@_myrealbox_no_spam.com
Jul 20 '05 #1
3 2127
"JW" <jwayne@_myrealbox_no_spam.com> wrote in message
news:7t********************************@4ax.com...
....
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
Jul 20 '05 #2
JW
"Andrew Thompson" <an******@bigNOSPAMpond.com> wrote:
"JW" <jwayne@_myrealbox_no_spam.com> wrote in message
news:7t********************************@4ax.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>
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@_myrealbox_no_spam.com
Jul 20 '05 #3
JW
JW <jwayne@_myrealbox_no_spam.com> wrote:
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@_myrealbox_no_spam.com
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2546
by: Marco | last post by:
I made an html-page with this line in it: <A HREF="http://www.bla.com" onClick="javascript:window.close()" target="moeder">link</A> It works very well in Internet Explorer, but in Netscape 7...
1
13493
by: Mat | last post by:
How can I detect when a link has been clicked but the new page is still in the process of loading? The document.location.href property still displays the current location (understandably) not the...
3
2209
by: Craig | last post by:
Hi, What I'm trying (quite poorly) to do is make it so when a link is clicked the text inside a div or p changes. I've tried numerous things, most of which work in IE but none of which work in...
22
5108
by: Jonathan Snook | last post by:
I've been contemplating what the recommended usage of a "top of page" link should be? Should there only ever be one at the bottom of the page? Should they be sprinkled at various points on the...
33
27702
by: Thomas Mlynarczyk | last post by:
Hi, I'm looking for a way to put a 1px solid border around the image in this link: <a href="some.html"><img src="some.gif"></a> Well, that, by itself, is simple. However, I would like to have a...
8
1341
by: dev | last post by:
hey all, i have this demo code: <script> tog=0; function setvalue(id){ if(id){ tog=1 }else{ tog=0;
26
3814
by: Harrie | last post by:
Hi, After Brian mentioned the use for <link rel=..> for navigational purposes in another thread, I've been looking into it and found that HTML 3.2 has two other recognized link types than HTML...
1
1387
by: Stefan Mueller | last post by:
In my example the focus should only jump to textbox2 if you press the tab key and if '11' is in textbox1. That works fine. However if you enter e.g. '12' in textbox1 and click on 'Link', Mozilla...
4
2298
by: zoookapi | last post by:
I'm attempting to dynamically add a link so I can take a mouseover action on it and am having problems in Safari (this works fine in Firefox and IE (Windows version of IE)). When I add the img...
0
7118
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6862
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7364
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4886
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3087
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1397
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
282
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.