Page 1 of 1

[SOLVED] Tables, Home Page, IE6

Posted: Mon Mar 05, 2007 7:46 pm
by anthonyh
Hey,

I'm not sure who/where to ask this...

I'm working on developing a new web site for the Berkeley Unified School District in Berkeley, CA around CMS Made Simple.  So far it's turning out really well!  However, I have a problem with the front page...

If you browse to http://www.berkeley.net in Firefox, Opera, or Safari, it should look normal.  However, when browsing to it in Internet Explorer 6, the content seems to get pushed past the navigation (it may display OK until you mouse over the menu or any links).  This only happens on the front page (as far as I am aware).  I'm not quite sure what's going on, but I believe it's related to the two tables on the right.  I removed all the code except the code for those two tables, and the problem still occurred.  I created a simple table, and the problem did not exist then.

All the CSS is pretty much standard, except for color changes here and there.

I attached a text file containing the content code for the front page.

Any help would be much appreciated!   ;D

[gelöscht durch Administrator]

Re: Tables, Home Page, IE6

Posted: Mon Mar 05, 2007 8:32 pm
by RonnyK
Try changing your tablewidth to 99%



Ronny

Re: Tables, Home Page, IE6

Posted: Wed Mar 14, 2007 10:06 am
by marcelvdlans
Hi,

I have same problem as the topicstarter...

Changing width to 99% works, but the width is in the beginning not 99% of the screen, but is linked to the size of the text in the table. When hovering any link solves the problem, but I want the table correctly displaying...

Re: Tables, Home Page, IE6

Posted: Wed Mar 14, 2007 11:58 am
by heatherfeuer
My question is why use a table and not a ?  Create two divs inside the div#main section the primary content lives in.  Float one div left with a percentage width (maybe 75%) and float the second div right with a width of whatever is remaining to make it 100%.  valid xhtml is to not use tables for layout.

Re: Tables, Home Page, IE6

Posted: Wed Mar 14, 2007 9:58 pm
by marcelvdlans
If you say why use a table, why is the option available in CMS? Not me, but users of the site want to make tables with FCKEditor, it is easy for them.

That's why...

Re: Tables, Home Page, IE6

Posted: Wed Mar 14, 2007 10:20 pm
by Vin
heatherfeuer wrote: valid xhtml is to not use tables for layout.
Nonsense. XHTML doesn't take care of the layout - it takes care of content. Looks like a common myth, though. The only thing which affects the layout is the !DOCTYPE declaration, used by browsers to switch to the corresponding box model (odd behaviour).

Show the link of the site, please. I don't get the table part - why do they need tables to position the content? That should be done in template.

Re: Tables, Home Page, IE6

Posted: Thu Mar 15, 2007 1:06 am
by Nullig
In your div#main add

height: 1%;

I think this fixes the IE bug.

Nullig

Re: Tables, Home Page, IE6

Posted: Wed Mar 21, 2007 10:37 am
by marcelvdlans
Dude, that's the solution!!!  ;D

It works correct now!

Thank you!

[SOLVED] Tables, Home Page, IE6

Posted: Wed May 16, 2007 6:48 pm
by anthonyh
"height: 1%;" did the trick.

You guys are a HUGE help.  Thank you SO MUCH!

~ Anthony