[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 638
  • Last Modified:

HTML Table Issue...

Hi, got a small problem.
I have been asked to update a simple HTML website and have come across something that I hope someone can help me with.
The table that I am editing can be found here http://merdocmarine-antigua.com/v2/boats_for_sale.html & I'm adding images and text to cell on the far right hand side.
When I add the last image, I find that the whole body of the page moves slightly, compare it to this page http://merdocmarine-antigua.com/v2/boats_for_sale2.html.

The problem seems to happen when I add something whether it's content or even a blank line or extra cells to increase the cell length of either the left or right hand cell.
I've tried changing various things like the cell dimensions etc. without any success.

Can anyone help?
1 Solution
I am running linux and so Io tested in Google Chrome and Mozilla Firefox.
Looks fine to me.  Are you seeing a problem in MS IE?
Ken ButtersCommented:
I'm running windows 7... IE8.... looks fine to me too.
Firstly get rid of the annoying This website is copyrighted - it only works in IE and just annoys people - if your unique code is so important don't publish it to the web.
Secondly using tables is not designed for laying out a website, tables are for tabular data.
You should be using divs - a lot less markup and easier to manage and design around
The reason the second page looks like it is jumping is because you have a scrollbar pushing the content over so it is sill centered
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Just remoted desktop to an XP box, still looks fine to me.
I mean the table gets longer because there is more content but that's fine.
PS: the copyright symbol works for me in FF & Chrome but not IE.
I find this site useful for testing browser output in multiple browsers.


That link should work for about 30 minutes from now.
Not the copyright symbol, the stupid popup when you right click in IE
Sorry unauthorised copying of this page is not permitted
Dave BaldwinFixer of ProblemsCommented:
Of course it moves, the page length is increasing and the blank table cells at the bottom of the page are causing a scroll bar to appear on the right.  The scroll bar takes up part of the page so the content moves.  There is nothing wrong with that, it's normal.

But I agree with Gary about the popup since even with IE, I can copy anything I want from that page.  It's just annoying.
Oh I never noticed anything about the unauthorised copying, that's funny.!!
In Firebug, I was able to edit the html to see the effects.
canuWebmasterAuthor Commented:
First of all thanks everyone for all the comments, certainly food for thought there.

Let me see if i can try and answer some of them.

 - I see the effect in Firefox 14 but page is OK in IE 8.

 - Point taken about the redundant legacy right click code, I'll take a look at that soon

 - If this is caused by just the scroll bar being added and it's just a matter of how different browsers display the page, then there isn't a problem at all.

-  All pointers regarding coding etc. have been noted.

Thanks again...
IE displays a scrollbar regardless of content, it's just disabled when not needed but still visible.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now