473,398 Members | 2,335 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,398 software developers and data experts.

Tables, alternatives and Mozilla quirks

I am trying to create a set of pages with a standard layout with
banner and horizontal navigation bar at the top of the page. Ideally
i would do this without use of tables, but it seems i will be forced
to resort to tables to appease IE users (at least 95% of the readers
of these pages will be using Mozilla, but among the IE users there may
be some important people...)

An example of what i am trying to do is at

http://www.maths.tcd.ie/~jonivar/test/links.html

Here i have rendered both the banner and the navbar in two ways, with
and without use of html tables. Unfortunately i know in advance that
the non-table versions will not work in IE. I have tested this in
Mozilla and Opera, but so far not in IE.

1. I can probably hack the banner to get the text centered correctly
in IE as well without, but the appropriate way of doing it is not
clear to me, so hints will be appreciated. But the real problem is
how to do the navigation bar without html tables and still get it
to work in IE.

2. With css tables the hover effect in the navbar works the way i
would want it to; with the table markup you risk the <a> box being
smaller than the cell. Is there a way to ensure that the link
always fills up the entire cell while keeping the desired padding?

3. Depending on which way the various divs are ordered, in Mozilla the
navbar may fill up the entire width of the viewport, and even
create a box extending beyond the border of the body. This happens
if the table version of the banner comes after the float version.
If the html-table navbar is not enclosed in a div it is affected by
this quirk. This does not happen in Opera, which behaves as
expected. Is this a bug (feature?) in Mozilla, or have i done
something stupidly wrong?

4. Finally, Opera insists on the body being just a bit bigger than the
viewport. Can this be easily fixed?

--
| jonivar skullerud | http://www.jonivar.skullerud.name/ |
-------------------------------------------------------------------------
You can tell a true war story by its absolute and uncompromised allegiance
to obscenity and evil. -- Tim O'Brien
Jul 21 '05 #1
0 1258

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

Similar topics

81
by: sinister | last post by:
I wanted to spiff up my overly spartan homepage, and started using some CSS templates I found on a couple of weblogs. It looks fine in my browser (IE 6.0), but it doesn't print right. I tested...
11
by: Randy Webb | last post by:
I know that I could use 64 div tags and position them all and get the same effect. Or, some combination, to get the same look. But my question is, why does this page: <URL:...
12
by: Mikejacko86 | last post by:
Hello everyone! I have decided to convert over my table-based layout to pure CSS, to reduce filesize and to increase my designs flexibility. Apparently, I have run into quite a few problems. I...
22
by: Pixel Warrior | last post by:
I have a site which looks quite nice in IE and also looks just fine on Mozilla Firefox (on my home machine). But when I access it from the server where I have uploaded it, NONE of the CSS...
5
by: Tyler Carver | last post by:
I've tried to get CSS to give me a basic layout where I can place a footer at the bottom of the page and the top of the page I can use for content. I don't however want the footer to pull away...
3
by: the_ainbinders | last post by:
This site http://www.nczoo.org has a nagging bug. In Mozilla the left nav list expands into the content area. Opera and IE (MAC/WIN) seem fine. Any advice would be appreciated.
5
by: boe | last post by:
Hi everybody I have the page listed below and want the boxes to be in rows, line-wrapping neatly. In IE this looks right, but in mozilla (and possibly other browsers) it doesn't. the css...
9
by: Lindsey | last post by:
Hello I can create a HTML page with just a table in it set to 100% width and height and nothing else. However it leave a 1/4 inch gap at the right side and at the bottom on IE6, Firebox, and...
6
by: Thomas | last post by:
In Mozilla: The problem we are trying to solve: We are using XSL/XML to generate tables with text in the rows. The spacing is wider then when those same exact tables are created in regular HTML....
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.