Jump to content


Photo

align doesn't work


  • Please log in to reply
2 replies to this topic

#1 Hellusius

Hellusius
  • Members
  • PipPipPip
  • Advanced Member
  • 55 posts

Posted 22 September 2006 - 03:28 AM

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?

#2 esgarrouth19

esgarrouth19
  • Members
  • PipPipPip
  • Advanced Member
  • 50 posts
  • LocationTraverse City, Michigan, United States

Posted 25 September 2006 - 11:42 PM

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?

#3 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 25 September 2006 - 11:53 PM

http://www.w3schools...tical-align.asp - correct syntax for vertical-align
Legend has it that reading the manual never killed anyone.
My site




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users