Oh boy this one's got me stumped

liunx

Guest
Hi.

I'm having a spot of bother with div tags. On my site, <!-- w --><a class="postlink" href="http://www.quib.co.uk">www.quib.co.uk</a><!-- w --> (<!-- m --><a class="postlink" href="http://www.quib.co.uk">http://www.quib.co.uk</a><!-- m -->), I have a dropdown menu in the top left corner. However, when it drops down over the main div tag in the page, the menu seems to lose its ability to perform the link-hover-color change when my mouse is overone of the options.

Anybody have any suggestions for this please?

:eek: surpise, then :( dismay, now :confused: puzzlement.Try placing the style definitions before the scripts.Your code has a bunch of errors. I suggest you add a valid doctype to your document eg:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

Then validate your HTML at <!-- m --><a class="postlink" href="http://validator.w3.org/">http://validator.w3.org/</a><!-- m --> This is a good way to find errors in your code.

OK, for starters, you need to put your <div> within <body> Currently you have
<html>
<head>...</head>
<div>...</div>
<body>
...

In your <table>, at multiple places you have used <tr> instead of </tr>. Rectfy that error.

Probably you were using IE to test your pages. IE is very forgiving, which is why you couldn't spot much of your errors. If you check with different versions of IE, you'll find your page displayed differently, due to small errors here and there.Thanks chaps !

Plenty to keep me going methinks.

I appreciate the advice and comments.

O.
 
Back
Top