View Single Post
  #2 (permalink)  
Old Mar 12th, 2008, 21:58
Ed Ed is offline
Highly Reputable Member
Join Date: Jul 2007
Location: Cork, Ireland
Posts: 687
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: reselution: text moves on res higher then 1024 by 768

You don't need JavaScript at all.

Place your whole center column in a Container and do this:

Code: Select all
#centercontainer {
                  width: *px;
                  margin: 0 auto;
}
Then, put your text into a separate div and align the text to the left (or center, depending)

Code: Select all
#hometext {
            text-align: left;
}
You should know basic HTML & CSS if you want to use this method.

Hope this helps,
Ed
Reply With Quote