473,405 Members | 2,373 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

IE/Win breaks ul/menu padding (and some other things) horribly -- workarounds?

I've got a website that I thought was going so well, until the client
pulled it up in IE 5 and revealed a train wreck.

http://weston.canncentral.org/misc/X...r/contact.html

If you don't have IE 5 handy, contrast and compare at:

http://www.browsercam.com/view.aspx?proj_id=6485

The "Home" "About Us" "Contact" etc... menus are an absolutely
positioned inline list. The dropdown menu from the parts (normally
hidden/shown via javascript, but left shown for debugging purposes) is
an absolutely positioned list. That's fine in everything I've looked at
except IE5, which collapses the space around each of the elements of the
inline list, and then gives huge gobs of padding to the dropdown, making
it extend the length of the page.

Any idea what's going on? Better yet, any ideas how to workaround this?

The CSS validates. The markup nearly validates as XHTML 1
transitional... the few exceptions are due to some javascript related
attributes I've added to a few elements.

Any help would be greatly appreciated!

regards,
Weston

~ == ~
http://weston.canncentral.org/
Jul 20 '05 #1
1 2054
Weston C wrote:
I've got a website that I thought was going so well, until the client
pulled it up in IE 5 and revealed a train wreck.

http://weston.canncentral.org/misc/X...r/contact.html

If you don't have IE 5 handy, contrast and compare at:

http://www.browsercam.com/view.aspx?proj_id=6485
I don't have an account at browsercam.com, so I can't access this page.
However, I do have WinIE 5.0 available. As you found out, it does a
lousy job with inline lists. It does a better job with floated list items.
The "Home" "About Us" "Contact" etc... menus are an absolutely
positioned inline list.
I don't suppose you've looked at this in a browser that allows your text
to be resized, like mozilla? It doesn't take much to make it start
falling apart. Using px units for text size and positioning can create
a rather fragile design, especially when trying to make text fit within
a background image. It is invariably doomed to failure.

As is, at a larger text size, the menu text overflows its background and
becomes unreadable, and the Parts submenu is no longer positioned
properly, making it inaccessible. BTW, your carefully chosen px
font-size is much too small for my reading pleasure, so the text size
has to be increased for me to read your content.
Any idea what's going on? Better yet, any ideas how to workaround this?


1. Give up on a pixel-perfect layout. Use em and/or % units for text.
2. Move the separate submenu list to a nested list under Parts like it
should be, then it should be naturally positioned relative to its parent
and you can get rid of some superflous positioning properties.
3. For better results in WinIE 5.0, try floating the "tlmenu" list items
instead of in-line display.

--
To email a reply, remove (dash)ns(dash). Mail sent to the ns
address is automatically deleted and will not be read.

Jul 20 '05 #2

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

Similar topics

4
by: Simon Birch | last post by:
Hi, I hope someone can help with this, it is driving me bonkers. After reading the Suckerfish Dropdown article on A List Apart, I decided to try and create a side menu based on the code I'd seen....
22
by: Marek Mand | last post by:
How to create a functional *flexible* UL-menu list <div> <ul> <li><a href=""></li> <li><a href=""></li> <li><a href=""></li> </ul> </div> (working in IE, Mozilla1.6, Opera7 (or maybe even...
1
by: Richard | last post by:
A menu page has a set of A tages in a UL The menu (in IE) will only get the hover visualization if the mouse rolls over underlined text. I want it to happen if the rollover occurs anywhere in...
1
by: dkimbrell | last post by:
Hi there, I'm very novice to web design. I'm trying to make a pulldown menu, but the formatting keeps getting screwed up when you roll the mouse over it. Please see www.boundarysys.com for...
1
by: leicklda | last post by:
Hi there, I'm very novice to web design. I'm trying to make a pulldown menu, but the formatting keeps getting screwed up when you roll the mouse over it. Please see www.boundarysys.com for...
4
by: TycoonUK | last post by:
Hi, As I do not have IE7 on my computer, I was wondering if there is a fault in my CSS Menu when using IE7. Please can someone look at my site - http://www.worldofmonopoly.co.uk and tell me...
7
by: milestogofromhere | last post by:
It is late so this is probably something really obvious but I am not seeing it. Can someone please help? Here is the page in question: html - http://www.itsyourplate.com/index2.php css -...
2
by: dharmbhav | last post by:
Hello all, I am trying to develop a roll-over menu effect on a page. It works fine with all other browsers except IE6. Can some one please help me? HTML: <div class="menu-item-wrap">...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.