I'm stumped. Visit: http://positivesweat.com/class.html
....and look at the tables in the middle labeled "morning" and
"evening". Do this in both IE and Firefox.
The tables appear to me to be defined identically (to take up 100% of
the width of the parent table), and indeed IE makes them the same
width, as I wanted and expected. But in Firefox (latest), the "evening"
table is appreciably narrower. Seemingly regardless of the text
contents of each cell.
Am I missing something subtle here or is this a Firefox/Gecko bug?
Thoughts on what's causing this, and on any non-kludgey workarounds,
much appreciated.
cheers /jonster/ 5 2530 th************@ hotmail.com wrote: I'm stumped. Visit:
http://positivesweat.com/class.html
...and look at the tables in the middle labeled "morning" and "evening". Do this in both IE and Firefox.
The tables appear to me to be defined identically (to take up 100% of the width of the parent table), and indeed IE makes them the same width, as I wanted and expected. But in Firefox (latest), the "evening" table is appreciably narrower. Seemingly regardless of the text contents of each cell.
Am I missing something subtle here or is this a Firefox/Gecko bug?
Thoughts on what's causing this, and on any non-kludgey workarounds, much appreciated.
cheers /jonster/
First of all, there are 67 HTML errors, some of which involve
tables.
Then, you seem to be using a table to force margins, which should
instead be done with style-sheets. A style-sheet would simplify
your HTML by eliminating nested tables.
Finally, your MORNINGS and EVENINGS tables have no width
specified. As long as the specified ratios of column widths
(indicated as percentages in the <TD> tags) are maintained, these
two tables will have the minimum necessary width to hold their
text. Try adding width="100%" to the two <table> tags.
Even better, fix all the HTML errors and eliminate nested tables.
--
David E. Ross
<URL:http://www.rossde.com/>
I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.
David: your MORNINGS and EVENINGS tables have no width specified. As long as the specified ratios of column widths (indicated as percentages in the <TD> tags) are maintained, these two tables will have the minimum necessary width to hold their text. Try adding width="100%" to the two <table> tags.
I'll try that; thanks. Still interesting to me that IE and Firefox
render it differently, though.
BTW: The whole site is something I inherited (it's NOT my html) and
it's in dire need of a rethink/rewrite from the ground up. At that
point of course stylesheets would be the way to go, but I'm not about
to throw time and energy into the current version...
-jon- th************@ hotmail.com schrieb: I'll try that; thanks. Still interesting to me that IE and Firefox render it differently, though.
With HTML errors, you can have all kinds of rendering. Especially
Firefox and other Gecko browers) are prone to that.
If I get a really funny display, I put the page through the validator,
and with a chance of 99%, there will be an error in that page, sometimes
not at the same place, where the funny display occurs.
I don't blame the programmers - as they say: Garbage in, garbage out.
Hans-Joachim
--
Debian will contain the most up-to-date of everything.
Ian A Murdock Mon, 16 Aug 1993 13:05:37 GMT th************@ hotmail.com wrote: I'll try that; thanks. Still interesting to me that IE and Firefox render it differently, though.
They're different programs written by different teams with different
ways of interpreting the specification, and differing levels of respect
for the specification. It would be remarkable if they rendered
everything in exactly the same way.
Harlan Messinger wrote: th************@ hotmail.com wrote:
I'll try that; thanks. Still interesting to me that IE and Firefox render it differently, though.
They're different programs written by different teams with different ways of interpreting the specification, and differing levels of respect for the specification. It would be remarkable if they rendered everything in exactly the same way.
Oh, and that's even when the code is correct. When it isn't, it would be
a miracle for different browsers to have the same rendering. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: windandwaves |
last post by:
Hi Gurus
I have a little javascript that works perfectly in IE (for a change), but
does not work in Firefox and Opera (no errors though)...
You can see the script in action at www.tupelo.co.nz by moving your mouse
over the little thumbnails below the big image.
The script that makes it work is:
|
by: Diffident |
last post by:
Hello Guys,
I am posting my weird experience on firefox by a piece of code I have
written. That piece of code is supposed to be executed when the page is not
posted back i.e., for the very first time.
In IE, my code is doing what it is supposed to do i.e.., it is not executing
that piece of code whenever page is posted back but in firefox browser it is
executing even if it is a postback.
|
by: CalSun |
last post by:
Greetings,
I want users to browse the site with IE since my pages are not well
displayed in firefox. I created a client script and hooked it to a Redirect
button. This button will show as users open the site with firefox. It did
open a new window, but the firefox window. I need this window to be IE
window.
I need your help, thanks.
|
by: Paul Gorodyansky |
last post by:
Hi,
Ran into the problem today - in INPUT field Firefox executes
clean-yp of the content if a user presses Esc, _before_ control goes to
the code via onkeydown - and search showed that it's a known issue:
https://bugzilla.mozilla.org/show_bug.cgi?id=236628
The bug is closed due to the inactivity (I've just written to the
Submiter because apparently I don't have rights to re-Open)
|
by: sveinn |
last post by:
Hi all,
I've read through this group searching for an answear about this
problem.
Few have come close but not quite what I need.
My problem is this: I'm using Ajax to fetch a new table with input
boxes. I then take
the innerHTML from my <div> and add the new table to the existing
one/s.
What happens in FireFox is that all values in other tables input boxes
| |
by: Alex.Svetos |
last post by:
Hello,
I'm trying to get a popup to keep focus when it is re-clicked.
The script below is supposed to produce this exact behaviour,
however it doesn't work, at least on firefox 1.0.7 and moz 1.7.12
(linux kubuntu). It does work with konqueror.
It seems to work with firefox on windows but not with IE (not completly
sure though).
|
by: Coder |
last post by:
Hi I have the following code in java script, it is not giving proper
output in FIREFOX but running fine in IE... can anybody help me out to
make this run in FIREFOX .
<script language="JavaScript">
var cntlName;
var eleTarget = document.getElementById('hiding');
function showOrHide(){
|
by: Kenneth McDonald |
last post by:
Sorry for crossposting to several lists, but from what I can tell, what
I want to do may involve several different areas of expertise. (None of
which I have :-( )
I'd like to use Gecko as the UI for an application mostly implemented in
Python. Ideally, I'd like to somehow come up with a Python module that
wraps the Gecko, so that I can:
1) Create windows whose content is drawn by Gecko.
1) Dynamically manipulate what is shown by Gecko.
|
by: FMDeveloper |
last post by:
Currently transitioning from a shared host to a dedicated server. The
same code that works on the old server is not working on the dedicated
server. It is a simple AJAX request like:
<code>
function createXMLHttpRequest() {
if (window.ActiveXObject) {
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
else if (window.XMLHttpRequest) {
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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...
| |
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,...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |