Simple HTML table structure issue/question.

The issues is with IE and Firefox.
If you browse to http://www.thedream.ca with IE the table is smooth and
intact.
Yet browsing to the same page with FireFox youll notice that on the right
side the table image is a few pixels off.
This is very basic HTML table structuring, check out the source.
To get a better idea of whats going on check outhttp://www.thedream.ca/index2.shtml and you can see the same page with
borders on.

Any recommendations?
Chances are I have to restructure the entire thing to meet both browser
needs.

Advertisements

nAnd0 wrote:
> The issues is with IE and Firefox.
> If you browse to http://www.thedream.ca with IE the table is smooth and
> intact.
> Yet browsing to the same page with FireFox youll notice that on the right
> side the table image is a few pixels off.
> This is very basic HTML table structuring, check out the source.
> To get a better idea of whats going on check out
> http://www.thedream.ca/index2.shtml and you can see the same page with
> borders on.
>
> Any recommendations?
> Chances are I have to restructure the entire thing to meet both browser
> needs.
>
> Thanks in advance.
>
>
>
>
On quick glance can see HTML errors, nesting errors. Did you try
validating your code first?

Advertisements

"Jonathan N. Little" <> wrote in message
news:gZkSe.341$...
> nAnd0 wrote:
>> The issues is with IE and Firefox.
>> If you browse to http://www.thedream.ca with IE the table is smooth and
>> intact.
>> Yet browsing to the same page with FireFox youll notice that on the right
>> side the table image is a few pixels off.
>> This is very basic HTML table structuring, check out the source.
>> To get a better idea of whats going on check out
>> http://www.thedream.ca/index2.shtml and you can see the same page with
>> borders on.
>>
>> Any recommendations?
>> Chances are I have to restructure the entire thing to meet both browser
>> needs.
>>
>> Thanks in advance.
>>
>>
>>
>>
> On quick glance can see HTML errors, nesting errors. Did you try
> validating your code first?
>
> http://validator.w3.org/check?uri=http://www.thedream.ca/
>
> --
> Take care,
>
> Jonathan

I have corrected all the minor issues that validator found. It continues to
complain about HEIGT option in my table structure, not sure why.

"nAnd0" <> wrote in message
news:eOkSe.37103$...
> The issues is with IE and Firefox.
> If you browse to http://www.thedream.ca with IE the table is smooth and
> intact.
> Yet browsing to the same page with FireFox youll notice that on the right
> side the table image is a few pixels off.
> This is very basic HTML table structuring, check out the source.
> To get a better idea of whats going on check out
> http://www.thedream.ca/index2.shtml and you can see the same page with
> borders on.
>
> Any recommendations?
> Chances are I have to restructure the entire thing to meet both browser
> needs.
>
> Thanks in advance.
>
>
>
>

"David Dorward" <> wrote in message
news:dfcodd$6h$1$...
> nAnd0 wrote:
>
>
>> If you browse to http://www.thedream.ca
>
>> This is very basic HTML table structuring, check out the source.
>
> No, its somewhat complicated abuse of tables for layout. If it was
> structured then the data being marked up would be tabular - which it
> isn't.
>
>> Any recommendations?
>
> Dump the table. Simplify your markup. Switch to HTML 4.01 Strict. Use CSS
> for presentation. Don't use non-breaking spaces as "oi! browser! there's
> content here, honest!" hacks. Stick "#" characters at the front of your
> hexadecimal RGB colour codes. Avoid <font>. Use alt text that is an
> alternative to the image, not utter rubbish.

Thanks for the advice.. Im sure your recommendations are what I SHOULD do,
but unfortunetly I know little of html .. not to mention CSS and any sort of
present html coding standards.

I need to learn alot. Last time I coded was back when html was first around
which would explain my old school coding.

<snip>
> I have corrected all the minor issues that validator found. It continues to
> complain about HEIGT option in my table structure, not sure why.
>
> Anyways my issue still exists, and that solved nothing.

As others will probably tell you, your are making a mistake with a fixed
width and height layout, but if you must one way to do it with HTML 4.01
strict and CSS is:

Looks like good advice to me (as usual from this respected poster, of
course)
> Thanks for the advice.. Im sure your recommendations are what I SHOULD
> do, but unfortunetly I know little of html .. not to mention CSS and any
> sort of present html coding standards.

Perhaps the group would be better able to help if we knew how you got in
this mess in the first place.

(Hunch if you extruded this HTML from some wannabe-WYSIWYG authoring
tool, then the kind of variation between browsers that you're complaining
of is frankly no big surprise, but I couldn't really recommend manually
wading through the mess of dubious HTML that it has produced. It's going
to waste a lot of your time and effort for some one-off result that might
or might not work on the next page you have to deal with.

My advice, for what it's worth, is that you'd do better to spend that time
on looking into the kind of thing that David was recommending. There's a
learning curve, sure, no mistake there, and not helped by the shortcomings
of some current browsers, but it's the way things are going, and rates to
get you ahead of the field.

"Toby Inkster" <> wrote in message
news:5n.co.uk...
> nAnd0 wrote:
>
>> Last time I coded was back when html was first around which would
>> explain my old school coding.
>
> "Back when HTML was first around" such coding would have been atrocious
> too. There was a short period between 1996 and 2000 when it was
> commonplace. (Still atrocious though.)

You know what... The code is way to simplistic and short to be called
atrocious.. so do me a favour and stick your negative comments up your ass,
your not helping anyone.

"Alan J. Flavell" <> wrote in message
newsine.WNT.4.63.0509032128140.1596@ZORIN...
>
> On Sat, 3 Sep 2005, nAnd0 wrote:
>
>> "David Dorward" <> wrote in message
>> news:dfcodd$6h$1$...
>> >
>> > Dump the table. Simplify your markup.
> [...]
>
> Looks like good advice to me (as usual from this respected poster, of
> course)
>
>> Thanks for the advice.. Im sure your recommendations are what I SHOULD
>> do, but unfortunetly I know little of html .. not to mention CSS and any
>> sort of present html coding standards.
>
> Perhaps the group would be better able to help if we knew how you got in
> this mess in the first place.

There is no mess! Simple issue which has already been solved with a little
table reconstruction.
>
> (Hunch if you extruded this HTML from some wannabe-WYSIWYG authoring
> tool, then the kind of variation between browsers that you're complaining

The majority of the code was hand written .. initial table dumped by
dreamweaver(homesite/coder mode). So no authoring tool is to blame, i could
have used notepad.
> of is frankly no big surprise, but I couldn't really recommend manually
> wading through the mess of dubious HTML that it has produced. It's going

mess of dubious HTML???? .. its freaking 32 lines of code.
> to waste a lot of your time and effort for some one-off result that might
> or might not work on the next page you have to deal with.
>
> My advice, for what it's worth, is that you'd do better to spend that time
> on looking into the kind of thing that David was recommending. There's a
> learning curve, sure, no mistake there, and not helped by the shortcomings
> of some current browsers, but it's the way things are going, and rates to
> get you ahead of the field.

"Jonathan N. Little" <> wrote in message
news:KxpSe.356$...
> nAnd0 wrote:
> <snip>
>> You know what... The code is way to simplistic and short to be called
>> atrocious.. so do me a favour and stick your negative comments up your
>> ass, your not helping anyone.
>
> Great! You ask folks who actually know what they are doing to help you,
> and when they inform your where your are wrong, you flip them off because
> you do now want to accept that you are wrong...

I never said I was wrong or right. It just pisses me off when you ask for
help and someone has to come along and give negative comments. I asked for
help.. I was already aware that my code was flawed.
>
> Oh and by the way, your HTML is *still* invalid. I guess your on your own!

Little Works Studio is a very ugly site!
Im sure many will agree .. how does that make you feel?
I can assure you that when my site is complete (valid or not) it will be a
hell of alot more tastefull then yours, not to mention functioning properly
on all popular browsers.

nAnd0 wrote:
>> "Back when HTML was first around" such coding would have been atrocious
>> too. There was a short period between 1996 and 2000 when it was
>> commonplace. (Still atrocious though.)
> You know what... The code is way to simplistic and short to be called
> atrocious.

Compared to that, your code is not in the least "simplistic" or "short". Its
bloated (not to mention the problems of syntax errors and nonsensical
semantic claims).
> . so do me a favour and stick your negative comments up your
> ass, your not helping anyone.

You're asking a group of people to invest their time and energy into helping
you for free. You are getting good (and free) advice from several different
people (Alan and Toby are respected experts on many of the topics this
newsgroup covers). The only person claiming that the advice isn't good is
you.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

nAnd0 wrote:
>
> "Jonathan N. Little" <> wrote in message
> news:KxpSe.356$...
>> nAnd0 wrote:
>> <snip>
>>> You know what... The code is way to simplistic and short to be called
>>> atrocious.. so do me a favour and stick your negative comments up your
>>> ass, your not helping anyone.
>>
>> Great! You ask folks who actually know what they are doing to help you,
>> and when they inform your where your are wrong, you flip them off because
>> you do now want to accept that you are wrong...
>
> I never said I was wrong or right. It just pisses me off when you ask for
> help and someone has to come along and give negative comments. I asked for
> help.. I was already aware that my code was flawed.
>
>>
>> Oh and by the way, your HTML is *still* invalid. I guess your on your own!
>
> Oh and by the way http://validator.w3.org/ believes that google.com is not
> valid either. That says alot doesnt it.

Yes, it says google.com isn't valid. What's your point?

And do you really have that email account at way.com that you're
flying, or are you just abusing their servers by giving that address to
the spam address harvestors? I think the latter.

nAnd0 wrote:
>> you flip them off because you do now want to accept that you are wrong...
> I never said I was wrong or right.

Nor did Jonathan. He (I assume) made some, probably accurate, assumptions
about why you reacted the way you did.
> It just pisses me off when you ask for
> help and someone has to come along and give negative comments.

Get real! This is a discussion group, not a helpdesk. You post
something, we discuss its implications. If the discussion happens to
answer a question you've asked, that's incidental.
-- nobull, c.l.p.misc
>> Oh and by the way, your HTML is *still* invalid. I guess your on your
>> own!
> Oh and by the way http://validator.w3.org/ believes that google.com is not
> valid either. That says alot doesnt it.

Yes, Google suck at writing markup. Google suck at a great many things. What
they don't suck at is search. (And they are so good at search, and loaded
down with enough resources to do lots and lots of testing, that they can
get away with any problems missing out a basic level of quality assurance
might cause them).
> Little Works Studio is a very ugly site!
> Im sure many will agree .. how does that make you feel?

Hopefully not too bad. Aesthetics are (largely) a matter of taste. I
wouldn't think the opinion of one, rather objectionable individual who
hides behind a forged email address and pseudonym on Usenet would count for
much.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

"Blinky the Shark" <> wrote in message
news:...
> nAnd0 wrote:
>>
>> "Jonathan N. Little" <> wrote in message
>> news:KxpSe.356$...
>>> nAnd0 wrote:
>>> <snip>
>>>> You know what... The code is way to simplistic and short to be called
>>>> atrocious.. so do me a favour and stick your negative comments up your
>>>> ass, your not helping anyone.
>>>
>>> Great! You ask folks who actually know what they are doing to help you,
>>> and when they inform your where your are wrong, you flip them off
>>> because
>>> you do now want to accept that you are wrong...
>>
>> I never said I was wrong or right. It just pisses me off when you ask
>> for
>> help and someone has to come along and give negative comments. I asked
>> for
>> help.. I was already aware that my code was flawed.
>>
>>>
>>> Oh and by the way, your HTML is *still* invalid. I guess your on your
>>> own!
>>
>> Oh and by the way http://validator.w3.org/ believes that google.com is
>> not
>> valid either. That says alot doesnt it.
>
> Yes, it says google.com isn't valid. What's your point?
>
> And do you really have that email account at way.com that you're
> flying, or are you just abusing their servers by giving that address to
> the spam address harvestors? I think the latter.

"David Dorward" <> wrote in message
news:dfd9bv$8r0$1$...
> nAnd0 wrote:
>
>>> "Back when HTML was first around" such coding would have been atrocious
>>> too. There was a short period between 1996 and 2000 when it was
>>> commonplace. (Still atrocious though.)
>
>> You know what... The code is way to simplistic and short to be called
>> atrocious.
>
> The markup should look something like this:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
> <html>
> <head>
> <title>thedream.ca</title>
> <link rel="stylesheet" type="text/css" href="style.css">
> </head>
> <body>
> <div id="splash"><div class="roundedCornerHack">
> <h1>thedream.ca</h1>
> <p class="note">under construction
>
> <p>The image gallery is located at&hellip;<br>
> <em><a
>
> href="http://gallery.thedream.cs">http://gallery.thedream.cs</a></em>
> </div></div>
> </body>
> </html>
>
> Compared to that, your code is not in the least "simplistic" or "short".
> Its
> bloated (not to mention the problems of syntax errors and nonsensical
> semantic claims).
>
>> . so do me a favour and stick your negative comments up your
>> ass, your not helping anyone.
>
> You're asking a group of people to invest their time and energy into
> helping
> you for free. You are getting good (and free) advice from several
> different
> people (Alan and Toby are respected experts on many of the topics this
> newsgroup covers). The only person claiming that the advice isn't good is
> you.

I was replying to a single individual.. insulting the code is not advice.
>
> --
> David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
> Home is where the ~/.bashrc is

<snip>
> I never said I was wrong or right. It just pisses me off when you ask for
> help and someone has to come along and give negative comments. I asked for
> help.. I was already aware that my code was flawed.

Ah, doesn't it seem logical that maybe a *flaw* might be the cause of
some of your trouble?

<snip>
> Little Works Studio is a very ugly site!
> Im sure many will agree .. how does that make you feel?
> I can assure you that when my site is complete (valid or not) it will be a
> hell of alot more tastefull then yours, not to mention functioning properly
> on all popular browsers.

Ah and yes, way to go!

Anyway is was not aesthetics what we where discussing but mechanics.
Your approach and execution is flawed. We offered your alternative that
would have improved your situation.

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!