treehouse : what would you like to learn today?
Web Design Web Development iOS Development

IE hell(p)

  • hola.

    i'm a designer trying to learn css while having to depend on dreamweaver to get things done when i have to get them done with little pain.

    i've got a page going here:

    http://amydmorris.com/homepage.html

    when i view it in ie, the logo & text to the left won't center. i tried using text:center, but it didn't work.

    any help would be most appreciated.

    t.
  • For some reason it seems as if IE doesn't like align: center; Not sure but you can fix it with the css text-align center.
    Here's what I'd do
    css - create the center class
    .center{text-align:center;}

    html - just add "class="center"
    <th align=\"center\" width=\"309\" scope=\"col\" class=\"center\">*everything else within this row here*</th>