473,661 Members | 2,494 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1891
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.go ogle.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.nam e> 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
3129
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 GByte of RAM. I have a database collecting logs. Each day, a new table is created. In order to allow for queries across more than one day, I use 'MERGE'
2
4074
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: http://www.joshrenaud.com/fredbear/stylesheets/style.css (both have successfully passed the relevant validators) The problem is that the Feedback table breaks out of the containing div. I
5
12340
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 specified width inside a containing div with a specified width seems to break out of that div when margins are applied to the table. It seems the table's width defaults to 100% of the parent div. But when I apply left and right margins to the...
1
3379
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 Windows and Linux) but not under Konqueror (could not test Safari, but they have the rendering engine in common (see www.kde.org)): <pre>
13
3958
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 many TRs and TDs you have, it will show the complete/unfragmented image (as long as you don't over-ride it). When I set a TR background image, every time I hit a TD it "re-seeds" the image. I want to have a TR that shows an 800px image in it's
10
7722
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, there is nothing !!! How to print such lines colors ? the main purpose of this table is to be
18
3784
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 trouble. I have tried keeping some of the fields bound and when I use the save button it has been saving as 2 different records. This is unacceptable. This is what I have, can anyone help me out with this?
6
1797
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 tested it works fine, but in Safari (1.3.2) the table breaks between cells causing extra space to appear. The nature of this project is such that it HAS to work in Safari. You can see the page (no graphics, embedded styles) at:...
2
4769
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 I will. Let me illustrate the problem with examples. The HTML: <html> <head> <script type="text/javascript" src="/js/mootools_1_11.js"></script>
0
8856
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...
0
8762
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8545
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
7365
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6185
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
4179
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
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1992
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1747
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.