2 replies [Last post]
jdijkmeijer
Offline
newbie
Amsterdam
Last seen: 15 years 39 weeks ago
Amsterdam
Timezone: GMT+2
Joined: 2007-08-31
Posts: 2
Points: 0

Hi I'm trying to create a website using css on firefox 2.0.0.6 on Mac OS X 10.4.9,
and I'm using
.templateLayout{
height: 100%;
width: 100%;
text-align: left;
border-collapse: collapse;
border: none;
}

and the html looks like:

testdb2

header
menu

goes

herecontent goes here

the contents of the body cell is centered, which is not my intention I want it aligned left. When I drop the width: 100% all works well, except that the right part of the screen is empty which is also not acceptable. Any or all help is appreciated.
regards,
jeroen.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 2 years 13 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

You'll not find many here

You'll not find many here that remember that much about table layouts, but I'll suggest this:

td {
  text-align: left:
  }

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

jdijkmeijer
Offline
newbie
Amsterdam
Last seen: 15 years 39 weeks ago
Amsterdam
Timezone: GMT+2
Joined: 2007-08-31
Posts: 2
Points: 0

you now when you've grown old.

Used to do some webdevelopment 6 years ago, left it to do more backend programming and now I'm back on it with a private hobby project. I thought I was very advanced by discarding the framesets.
How do you these day's position your panels? Only divs?
Anyway after a night of good sleep I found the problem in the table declaration hided somewhere in the css. table {
table-layout: fixed;
}

which was causing the headache
thank you for comment that also worked.
regards Jeroen.