Jump to content

Archived

This topic is now archived and is closed to further replies.

Hellusius

align doesn't work

Recommended Posts

I made a CSS class

[CODE].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;
                  }[/CODE]

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

Am I doign something wrong?

Share this post


Link to post
Share on other sites
Well, change the width to 800px...beware, this will cut off portions of the site for those using 800x600 resolution still...Can't really help you any more than that without seeing the actually page that this is used on. Could you provide a link?

Share this post


Link to post
Share on other sites
http://www.w3schools.com/css/pr_pos_vertical-align.asp - correct syntax for vertical-align

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.