473,383 Members | 1,813 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,383 software developers and data experts.

strange (lineheight) gaps in list-styled horizontal menu

Hi all,

I've got some strange behavior happening in Firefox and Safari (Khtml
and Gecko) that displays *almost* fine in IE6.0 (still trying to get
pixels to line up, anal anal anal...)

To speed things up, and to avoid any problems with looking through the
css file, I'll say first that I based the navigation menu on the
"Suckerfish Dropdown menu" online demo over at htmldog.
(http://www.htmldog.com/articles/suckerfish/dropdowns/). In terms of
markup structure and such I didn't vary too much from the guide (which
is great, btw...), but somewhere things stopped working, so I'm
pointing fingers at css and how the cascade actually affects descendant
objects...
html is here:
http://www.ale.com.tw/ale_online/members/test/index.php
css is here:
http://www.ale.com.tw/include/ale_test.css
(sorry, the content is in Chinese, but even if you can't display the
characters, you should be able to see the odd behavior...).

Basically, in the navigation menu at the top (if fonts are at normal
size (i.e. [Ctrl-0]) there are gaps at every 2 or 3 <li> tags... This
goes away completely if the font is larger or smaller... and there's
not a trace of this behavior in IE6. The markup is very
straightforward in its format:

<ul id="nav">
<li><a href="foo.bar">foobar</a>
<ul>
<li><a href="who.bar">whobar</a>
</li>
</ul>
</li>
</ul>

but feel free to poke and prod there, as well... it is definitely
*something* I'm missing/don't see/don't know...

I'm guessing it has to do with borders adding a pixel or two to each
side, followed by a fixed width of 130px for parent elements, but I
can't wrap my head around *why* it's doing this, and why it's working
better in IE6.

Any thoughts would be appreciated!

It's a test page, so it may change here and there - but I don't think
I'll figure it out anytime soon.

thanks in advance for any nudges in the right direction.

Travis Hulsey

Jul 21 '05 #1
0 1670

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

Similar topics

6
by: Sulsa | last post by:
Does memory allocated by opperator new has gaps, or is it one big block of memory??
6
by: christopher.secord | last post by:
I have a table containing typed log entries. One log entry is supposed to be created every twelve hours, but sometimes there are gaps. I need to create a report showing the time of entry, and the...
5
by: cool2005 | last post by:
I have a table contains 4 cells (2 x 2) like this http://www.coolshare.com/planttrade/temp/gap.jpg each cell contains a div and the div contains a table. As you can see from the image above,...
8
by: grundmann | last post by:
Hello, i got a strange compiler error. When compiling the following: // forward declarations typedef AvlTree<LineSegment,LineSegmentComperator> LSTree; void handleEventPoint (const...
3
by: Robert McGregor | last post by:
Hi there, I was wondering if anyone could help with this problem. I have a table with about 250,000 rows that relate to files that have been processed elsewhere in our business. Each file has...
5
by: Arno R | last post by:
I need to find the 'gaps' in a numbered recordset like: 1 Philips 2 Jones 5 Jo Do 6 Frenzy 10 John Matthias 23 Arno R (and so on ....) What I need is one...
10
by: conor.robinson | last post by:
The Problem (very basic, but strange): I have a list holding a population of objects, each object has 5 vars and appropriate funtions to get or modify the vars. When objects in the list have...
2
by: pecan | last post by:
Okay, I give up. How do I do it? (Spent the last 4 hours searching for a solution) Here's the url: http://www.rouxville.info/rouxville-index.htm I can get this to display correctly in IE, but...
2
by: jaka | last post by:
Hi, I'm in need of some expert help in sorting a numerical/alphanumerical employee ID field (5&6 characters in length). Also seperating the alphanumerical IDs and finding the gaps in the...
2
by: scdowney | last post by:
First and foremost, thank you in advance for any attempts to help me out. I am working on a project with work, and it requires I use CSS selectors to locate elements within a webpage. For the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.