1 reply [Last post]
Hellusius
Offline
newbie
Netherlands
Last seen: 16 years 19 weeks ago
Netherlands
Joined: 2006-09-22
Posts: 1
Points: 0

I made a CSS class

.backgroundlayer  {
                  height: 100%;
                  width: 800;
                  background-color: #EFDFC9;
                  margin: 0px 0px 0px 0px;
                  padding: 0px 0px 0px 0px;
                  text-align: center;
                  text-vertical-align: top;
                  }

And all other site content is within this table class, but the align doesn't seem to work.

Am I doign something wrong?

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 8 years 15 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

You don't see which

You don't see which alignment's not working but it's vertical-align, not text-vertical-align. You're also missing the unit from your width.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference