Geoff Lane wrote:

My first stab was:
 <div style="width:600px; margin-left:auto; margin-right:auto">
 <p> -- The running text goes here -- </p>
 </div>

This seems to work in every browser but one (Internet Explorer). No
matter what I tried in IE, I couldn't persuade a DIV to do the trick.

This sounds like you are testing on IE in "Quirks Mode" (or on a very old, pre-IE6 version of IE). If you put
<!DOCTYPE html>
as the first line of the HTML document, you will see the page in non-quirks mode ("Standards Mode"). This isn't needed in IE9, which seems to honor the settings even in Quirks Mode (this might be unintentional, as the Quirks Mode generally imitates IE 5 behavior), but it's needed for some older versions.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to