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

Seemingly-simple valid HTML renders diff in FF1.0, IE6

Hello everybody --

The problem has me stopped. The page:

http://www.key-horse.com/fftst.html

is rendered completely differently by Firefox 1.0 and IE 6.0. The code
seems to me perfectly straightforward and simpl: show two small tables
side-by-side and top-aligned when the browser window is wide enough,
else show the tables arranged vertically.

My HTML must be wrong: I've made IE6.0 do as I expect, whereas I've
made FF1.0 do something surprising, meaning:

1. Tables look to be one row deep in FF; and
2. Tables seem to be bottom-aligned in FF.
What is the proper HTML to do this job? Thanks!

-- Pete

Jul 23 '05 #1
1 1425
"Pete" <pe*****@yahoo.com> wrote:
http://www.key-horse.com/fftst.html

is rendered completely differently by Firefox 1.0 and IE 6.0.
To begin with, "seemingly-valid" (as on your Subject line) is a pointless
concept. Is you think that validity is important, simply check it (but
don't pollute your pages with foolish icons for such purposes).
The code
seems to me perfectly straightforward and simpl: show two small tables
side-by-side and top-aligned when the browser window is wide enough,
else show the tables arranged vertically.
But you are using CSS for that, not HTML. Hence this would belong to
c.i.w.a.stylesheets.

You seem to have set display: inline for your tables. If this is taken
seriously, it means that your table becomes just inline text, like the
content of a paragraph. You would probably want to use float: left instead.
Or maybe positioning. But this belongs to the other group.

Your HTML has some oddities though;
<p><br><br><br><br><br><br><br><br></p>
is a coarse way of trying to create some empty vertical space, and should
more or less be ignored by browsers. It's much better to use CSS (margin
properties) for such purposes.
What is the proper HTML to do this job?


Well, you _could_ float tables in HTML too, using <table align="left"> and
putting <br clear="both"> after the tables.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 23 '05 #2

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

Similar topics

1
by: lawrence | last post by:
Please look at these few lines of code. You'll see that I keep echoing out the variable $name. And each time, I'm getting the correct result. But then, when it is used in an error statement, it is...
3
by: Sander Janssen | last post by:
Hello, I have this peculiar problem concerning MS SQL Server. My company works with an mailing application (ASP) which uses SQL Server as it's repository. What I want to do is send data...
3
by: Sean Quinn | last post by:
Hi, I don't know if anyone has run into similar problems, but it seems like when I use `require_once(...)' with files that contain functions I get an error indicating that it can't redeclare the...
1
by: Lance Orner | last post by:
I wrote this letter to a colleague, and I thought I'd share it here: --- We had a problem with pointers being passed between managed C++ and unmanaged C++ code, but it only occurred once in...
0
by: matt | last post by:
Hi,Hope someone can help me on this infuriating problem. We have several pages containing different user controls which run fine then strangely output the following error. The problem can then be...
6
by: Chris Ashley | last post by:
I have been tearing my hair out (or indeed, what's left of it) all day with this one. I'm not sure if it's a .NET issue, a server issue or anything else and would appreciate any guidance. ...
16
by: Julie Lerman | last post by:
Okay, so I'll try here now <g> I've been battling this problem for over a week now. So, if nothing else, hopefully my little tale of woe will be entertaining. But I'm really hoping someone...
13
by: mfreeman | last post by:
The minimal code (VB.NET 2003) needed to show this problem is shown below. All I do is loop through the records in the table and update them without making any changes. Out of 600 records, about...
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: 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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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?
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.