Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
So close to solving my problem, help please!
Old 08-22-2008, 05:53 PM So close to solving my problem, help please!
Skilled Talker

Posts: 53
Trades: 0
I've been having problems with my drop down navigation in IE 7. I am sooooooo close now. Just one small problem. When I mouse over the images in IE 7 the drop down appears just fine but when I try to mouse to a link the navigation immediately disappears. This doesn't happen in Firefox though. Can anyone look at my code and help me find the problem. Thanks.

http://www.classicengraving.org/New%.../layoutv9.html
moonlit is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-23-2008, 07:54 AM Re: So close to solving my problem, help please!
bas
Super Talker

Posts: 108
Name: Bas
Trades: 0
Before you can acces the 'drop-down menu' you leave the a:hover-zone, and so the menu is closed ...
This is something caused by a little spacing between the button and the drop down menu in IE, nothing visible, but just 1 or 2 pixels that aren't in the a:hover-zone. Probably caused by a margin.

The solution should be finding and removing the spacing.

This code (place it at the end of your CSS) will stop disappearing in IE7, it's not a solution, but maybe it's a help to find some.
Code:
#qm0 ul li{
margin-top:-4px !important;
}

Last edited by bas; 08-23-2008 at 08:18 AM.. Reason: add code
bas is offline
Reply With Quote
View Public Profile
 
Old 08-23-2008, 03:01 PM Re: So close to solving my problem, help please!
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
First of all, you are improperly repeating ID's in your code:
Quote:
<ul id="qm0" class="qmmc">
ID's MUST be unique, they cannot be repeated on a page. If you want to repeat it's usage, make it a class instead.

You have not defined any styling for that table (ack!) at all, you need to be sure you close up ALL the spaces between cells in the CSS AND in the html. You don't want ANY spaces, so the table cells will will have to run together ie:
<td></td><td></td> etc. .. same goes for <tr>s.

There's no reason to be using a TABLE for layout there either.

That !important hack is just not necessary.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 08-24-2008, 09:19 AM Re: So close to solving my problem, help please!
Skilled Talker

Posts: 53
Trades: 0
Ok, I've sort of figured out my problem. It has to do with the cell padding. This is the strangest, most mind boggling thing to me...although I am certainly by no means an expert @ HTML, CSS & Java. Anyway, when I change the cell padding to 1 in this code:

/*"""""""" (MAIN) Items""""""""*/
#qm0 a
{
padding:0px 1px 0px 0px;
background-color:#666666;
color:#FFFFFF;
font-family:Arial;
font-size:12px;
text-decoration:none;
}

Then the navigation stays when you hover over the links in IE 7. However, in Firefox it does the same thing except it has messed up the right side of one of my images. Also, it does add the 1 pixel to my buttons which doesn't look so good. Is there a way I can get the navigation to stay when hovering over the links & display my buttons and right side bar correctly? Please forgive me for being such a pain but I'm new to all of this coding.

Thanks.
moonlit is offline
Reply With Quote
View Public Profile
 
Old 08-24-2008, 11:32 AM Re: So close to solving my problem, help please!
Skilled Talker

Posts: 53
Trades: 0
Yay, I figured it out, it just needed to be set to -1.
moonlit is offline
Reply With Quote
View Public Profile
 
Old 08-24-2008, 03:54 PM Re: So close to solving my problem, help please!
L a r r y's Avatar
Super Talker

Posts: 102
Name: Larry K
Location: Arizona
Trades: 0
One thing too, that I have done is to edit all of my code to play in Firefox, validate it, both HTML and CSS, then add browser-specific CSS for IE, by inserting conditional comments into your HTML to add a style sheet targeting the needs of Microsoft's inept browser technology.

Do a Google search for css conditional comments. IE style sheets will not be loaded by other browsers, and if loaded into IE after the main CSS, will overwrite the mail CSS where needed to make IE do it right.

Last edited by L a r r y; 08-24-2008 at 04:06 PM.. Reason: After browser restart my Enter key is working to make paragraphs.
L a r r y is offline
Reply With Quote
View Public Profile Visit L a r r y's homepage!
 
Reply     « Reply to So close to solving my problem, help please!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.84454 seconds with 12 queries