473,382 Members | 1,423 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.

Table Explodes - sometimes - in Safari

Hi all,

OK, I'm baffled. I have a menu in a table which I've just realized is
"breaking apart" in Safari:

http://www.fitcityforwomen.com/00-intro/index.html

Yet when I plunk the menu by itself into its own "test" page, it holds
together fine:

http://www.fitcityforwomen.com/00-intro/menutest.html

What gives? I've put spacers in every cell, which has always worked
before... and it looks fine in IE and Netscape. Only recently noticed
the Safari problem.

Only diff I can see is that in the real page the menu table is within
a cell of a larger table, whereas in the test page it's on its own.

Is Safari more strict about HTML rendering, or just buggy? I can't
tell...

Thanks!
Adam
Jul 20 '05 #1
4 1875
Adam wrote:
Hi all,
OK, I'm baffled. I have a menu in a table which I've just realized is
"breaking apart" in Safari:
http://www.fitcityforwomen.com/00-intro/index.html

Yet when I plunk the menu by itself into its own "test" page, it holds
together fine:
http://www.fitcityforwomen.com/00-intro/menutest.html

What gives? I've put spacers in every cell, which has always worked
before... and it looks fine in IE and Netscape. Only recently noticed
the Safari problem.

Only diff I can see is that in the real page the menu table is within
a cell of a larger table, whereas in the test page it's on its own.

Is Safari more strict about HTML rendering, or just buggy? I can't
tell...


It isn't just Safari. It blows apart with Firefox 0.8 & Netscape 7.1 on W2000,
too. It blows apart even more when fonts sizes are increased. I think what
happens is that the main cell is having unwanted influence over the menu cell.
But I don't even understand some of the tags I see there, so I don't know how
they *should* behave!

Did that HTML come out of a graphics package or a "layout-mode"? (Perhaps
Photoshop/ImageReady CS? GoLive?) It looks like the sort of over-controlled
HTML that gives layout tables a bad name. Such packages appear to be obsessed
with putting height controls on tables & cells, presumably to try to force the
rendering to match what the author saw on the screen when developing it.

I'm not sure how to get to where you want to be from where you are. But I
doubt if you will achieve a layout that works cross-browser under a variety of
user viewing conditions while you have many, or even any, width & height
attributes in the table elements. (They are OK in image elements). If you want
tight control of dimensions, even as far as pixel-perfect layouts, you have to
use CSS, because tables cannot be controlled to the same degree by authors.
You would either have to use a tableless layout, or use very simple layout
tables controlled by CSS.

I suspect you have been led astray by the authoring tools, and you may have to
learn more about HTML to get back on track.

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/
Jul 20 '05 #2
ad********@shaw.ca (Adam) wrote:
OK, I'm baffled. I have a menu in a table which I've just realized is
"breaking apart" in Safari:

http://www.fitcityforwomen.com/00-intro/index.html


First correct the errors, then report back:
http://validator.w3.org/check?uri=ht...tro/index.html

--
Spartanicus
Jul 20 '05 #3
ad********@shaw.ca (Adam) wrote in message news:<84**************************@posting.google. com>...
OK, I'm baffled. I have a menu in a table which I've just realized is
"breaking apart" in Safari:

http://www.fitcityforwomen.com/00-intro/index.html


Since "index.html" is the default index name for your server, you can
state this URI in a shorter, more elegant form, as:

http://www.fitcityforwomen.com/00-intro/

You should use ALT attributes for all of your images, including empty
ALT="" for spacers, so that text-mode browsers get meaningful content
for the images requiring it (e.g., ones with text content, like
buttons) and can skip ones that don't need any content (e.g.,
spacers). (Try your page in Lynx some time.)

Some pretty weird tags in there... just what is "csaction" supposed to
mean?

--
Dan
Jul 20 '05 #4
On 20 Apr 2004 10:46:49 -0700, Daniel R. Tobias <da*@tobias.name> wrote:
Some pretty weird tags in there... just what is "csaction" supposed to
mean?


See http://www.nic.fi/~tapio1/HTMLKit/Attributes2a.php3

"CSACTIONS etc. are all created by Adobe's GoLive editors...."

Jul 20 '05 #5

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

Similar topics

0
by: Johannes B. Ullrich | last post by:
--=-WKgoK98ejo9BZyGYc3N/ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I am having problems with MySQL 4.0.12 on RedHat Advanced Server 2.1 using a dual Xeon with 8...
2
by: Josh Renaud | last post by:
I'm working on a site and ran into a little trouble with Safari. Here are the relevant links: page: http://www.joshrenaud.com/fredbear/contact.html css: ...
5
by: Josh Renaud | last post by:
I'm still trying to solve a problem I have experienced in Safari. This is my third post on the subject. I'm hoping someone can shed some light. The problem is that, in Safari, a table with no...
1
by: dumblede | last post by:
Hello fellows, i would like to center a 800px wide 600px high content area without using frames. I have "come up" with the following solution so far. It works under IE 6.0, Firefox 1 (under...
13
by: Giggle Girl | last post by:
Hi there, I need to use a background image in a TR that does NOT restart everytime it hits a TD. Can it be done? Specifically, if you set a background image for an entier table, now mater how...
10
by: Bob Bedford | last post by:
I've a table in wich I've this CSS: ..oddrow{background-color:#FFFFFF} ..evenrow{background-color:#CCCCCC} The oddrows are white and the even are grey. BUT ! when I do print the table,...
18
by: TORQUE | last post by:
Hi, Im wondering if anyone can help me with a problem. I have a form with more than 50 unbound fields. Some of the fields will be blank from time to time. This seems to be where im having...
6
by: digleif | last post by:
I'm struggling to fix an annoying CSS problem. I've built a nav bar in a table and use css to control the hover state, which colours the background of the table cell. In every browser I've...
2
by: rudiedirkx | last post by:
Gents, I have a problem (only in Safari) with the onsubmit in webforms. This topic covers the same subject: http://bytes.com/topic/javascript/answers/166542-onsubmit-safari but not as detailed as...
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: 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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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.