What is the reason behide you not being able to align text with with a class but only with ids. Here is a example code:
I've tried this and the text wont align to the center. What is the reason behide that? I also found that it wont do it with <h1> as well.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">