Excessive bottom padding

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
Lokrin
Advanced
Advanced
Posts: 13
Joined: Sun Jun 06, 2004 4:34 am
Location: Hakuna Matata
Contact:

Excessive bottom padding

Post by Lokrin »

Ok, a new problem just crept up. :cry:

When the page loads, everything is fine. How ever, if the page is not at the very top and it is reloaded, or if you surf back to a page that is not at the top of the screen, then the last item in the menu extends all the way to the bottom of the page.

I'm not sure if it is something I did in the menu_data file or whether it's conflicting witrh something else on the page. However, I justy revalidated the xhtml and that's fine. Mayhaps it's picking something up from css?

Anyway, any help appreciated.

http://lokrin.net
"Bugs? Yum!"
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

What browser are you using?

Thanks,
maz
User avatar
Lokrin
Advanced
Advanced
Posts: 13
Joined: Sun Jun 06, 2004 4:34 am
Location: Hakuna Matata
Contact:

Post by Lokrin »

I'm using Firefox under Redhat Linux via KDE.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8

This problem just started yeterday. At least, that is when I first noticed it. Everything else (basically) was fine for the last few weeks.
"Bugs? Yum!"
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Note that Firefox is still beta (as are a number of others out there), and, as such, that makes it extremely difficult for us to shoot any problems. They change and update things almost as fast as we did back in the RC days.
John
User avatar
Lokrin
Advanced
Advanced
Posts: 13
Joined: Sun Jun 06, 2004 4:34 am
Location: Hakuna Matata
Contact:

Post by Lokrin »

Just fired up Opera and I get the same error. It's probably something I did or a conflict with some Javascript. The only thing I added was the random quote, so I guess I'll have to delete that and see what happens.

Opera info:

Version information
Version 7.50 Final
Build 673
Platform Linux
System i686, 2.4.20-6
Qt library 3.1.1

Java Java Runtime Environment installed
Browser identification
Opera/7.50 (X11; Linux i686; U) [en-GB]
Registration information
Registered No
Name N/A
Organisation N/A
"Bugs? Yum!"
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Try upgrading to 5.23

Remove followscroll=0;
You probably don't need overflow="scroll"; on small menus.

I don't know of any reason to use single quotes on pointer.
General rule is to not use quotes in menu items, for example if you use a bgcolor in a menu item you would leave off the quotes.
In styles you would use:
offbgcolor="#ffffff";

In a menuitem it becomes:
offbgcolor=#ffffff;

maz
User avatar
Lokrin
Advanced
Advanced
Posts: 13
Joined: Sun Jun 06, 2004 4:34 am
Location: Hakuna Matata
Contact:

Post by Lokrin »

Remove followscroll=0;


changed to 0 to see if that helped. Went ahead and deleted it. (then went back and put it in with "1" :D )

You probably don't need overflow="scroll"; on small menus.


Ok, removed them.

I don't know of any reason to use single quotes on pointer.


Don't know why I did. Removed all 'pointers'.

General rule is to not use quotes in menu items, for example if you use a bgcolor in a menu item you would leave off the quotes.
In styles you would use:
offbgcolor="#ffffff";

In a menuitem it becomes:
offbgcolor=#ffffff;


I don't have any colours outside the style section, do I? Nevermind - I know what you mean now. Yep, I removed all those 'pointer' references.

Ok, everything seems to be working for the nonce. Let's see what I can break next :D

And, Thanks All, for all the help. :* (What? No kissing Smiley? :( )


"Bugs? Yum!"
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Now look what you did :oops:

I'd say check for upgrades but why chance fate?

maz
User avatar
Lokrin
Advanced
Advanced
Posts: 13
Joined: Sun Jun 06, 2004 4:34 am
Location: Hakuna Matata
Contact:

Post by Lokrin »

I'd say check for upgrades but why chance fate?


Every read the introduction on my homepage?

Why tempt fate? Why not! Never know how fate will respond.

PS - your avatar - is that you or someone famous I should know?

"Bugs? Yum!"
Post Reply