473,698 Members | 2,304 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1271

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

Similar topics

81
5159
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 the blogs, and one definitely didn't print right. Surveying the web, my impression is that CSS is very unreliable, because even updated browsers fail to implement the standards correctly. So should one just avoid CSS? Or is it OK if used...
11
2373
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: http://www.hikksworld.com/chess/ /> Display a bottom margin under the images in Mozilla but not anywhere else? When its finished, the pieces will be transparent gifs so you won't notice it as much, but it has me more curious than anything else. And, which is getting it...
12
5010
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 wrote the code and tested it in IE (6), but it looks awful in Mozilla (firefox). Im quite sure my problems are basic, as there really isnt much code to the page. What I have is the bare-bones layout of my website.
22
2595
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 formatting works. I have bought "Tree Menu Magic" from Project 7 and adapted their style sheet for this site. Site address: www.tased.edu.au/tasonline/vest I don't think it's a Mozilla problem as such because then it wouldn't work
5
14392
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 from the bottom of the viewport if the top content is small. Also, when I resize the window I want the footer to move with the bottom of the page until I reach the content. Here is an example that works both in IE and Mozilla using tables. I...
3
1676
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
3840
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 commented out, with -moz-inline-box seems to help a bit for mozilla (linebreaks do not work, any suggestions?), but then again it does not work in IE anymore. How can I make this work, or make something which hase the same
9
1572
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 Mozilla. Why is this? I can attatch an empty external style sheet and it is fixed straight away.(No Gap). Alternatively I can just add an empty layer and again the problem is fixed. Also fixed by adding rouge Javascript tags and no javascript.
6
2773
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. We figured out that this has to do with Mozilla rendering the HTML page in quirks mode, versus the XML/XSL page being rendered in strict mode. I can find no way to enable quirks mode in Mozilla for XML/XSL documents, since it does not appear...
0
8603
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9157
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8895
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8861
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6518
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4369
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2329
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.