TABLE within DIV Issue

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I am having problems trying to get a web page to work in IE 6. It
works fine in firefox, opera, and newer versions of IE, but not in

I am not very familiar with CSS, but I don't see why this shouldn't
work. There is a table inside a <DIV> section which should appear
directly below text, but when IE6 is used, the table is pushed down
and white space is created. This is because of a <DIV> on the left
column, which seems to be determining the start point of the table. I
really don't understand why this particular browser version decides to
make a gap there, or how it can be fixed.

it is a standard table....
<TABLE width=100%>
<TR><TD wid......

within a
<div id="content">

so I don't see why the position of the table should be determined by a
<DIV> tag outside of the one it's in. If anyone has IE6 or older, the
problem can be seen on the page:

Does anybody have any ideas? Any help would be very much
appreciated :)



Re: TABLE within DIV Issue

Quoted text here. Click to load it

I got a message that the server is not found on three trys to connect.
Perhaps this is just a temporary problem, but you might wish to check.

Re: TABLE within DIV Issue

cwdjrxyz wrote:

Quoted text here. Click to load it

is the correct URL ?

I would guess the problem with IE6 is caused by the errors on the page,
knowing that IE has its own set of rules.

"Failed validation, 422 errors"

Once the errors are corrected, which may fix the problem, then let's
look again.

   -Motorcycles defy gravity; cars just suck

Re: TABLE within DIV Issue

On 6 Feb, 22:37, "Beauregard T. Shagnasty"
Quoted text here. Click to load it

sorry, yeah it is

my mistake. The 422 errors are all because of simple HTML?! have I
used the wrong Doctype or something?

Thanks for the help so far!

Re: TABLE within DIV Issue

Quoted text here. Click to load it

Um, no it's at

Do you ever check what you write?

Quoted text here. Click to load it

No, because of over-complicated messy html.  Probably done with some
ugly "What you see is what you get" editor, perpaps Word or some other
Office applicationsjudging by the classname of the table.

Quoted text here. Click to load it

Yes, but that isn't the cause of the problems.  CSS rules are *defined*
for *valid* html or xhtml. If you don't give it that, and you aren't
even close, you have no basis for complaint about the results in any

You should not be using the transitional doctype, you should be using
strict, probably html 4.01 strict.  Forget about xhtml.

In either case, writing valid html or xhtml is not just an important
skill, it is absolutely vital.  If you can't undertake to learn to do
that forget about designing web pages.

Re: TABLE within DIV Issue

Rob wrote:

Quoted text here. Click to load it

No, not really.  :-(

You are using XHTML 1.0 Transitional. New pages should be Strict,
though, as you aren't transitioning from anything. However, it doesn't
matter which doctype is used, there are still many, many errors.

I would recommend that your new documents be HTML 4.01 Strict.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   " ">

XHTML requires all tags to be in lower-case, but it is good policy (at
least I think so) to use lower-case all the time.

One of the first things I noticed was a <style> block in the <body>
instead of on the <head>. Browsers would be free to ignore it if they so
chose. It should also start with:

<style type="text/css">

<P><B>30/01/07: </B>  should be:  <p><strong>30/01/07: </strong>
<I>Travel Representative</I> ->  <em>Travel Representative</em>

There is text not in any container; the following should be in a <p>:
"Meet the team of BRICK India '07! ..."

..and so on. You have a large conglomeration of 1999 code mixed with
1995 code. It would be difficult to list everything here in a post.

How are you writing this? Some Microsoft product?

   -Motorcycles defy gravity; cars just suck

Site Timeline