mam problem z arkuszem stylów, otóż owa klasa jest bez problemowo wykrywana pod wszystkimi przeglądarkami, oprócz IE. W czym tkwi problem ?
oto kod
table.all { text-align:center; margin-right: auto; margin-left:auto; }
pozdrawiam
ithat
?
margin-left: 300px;
?
margin-left: 300px;
@CHARSET "UTF-8"; * {margin:0; padding:0;} #container { margin: 0 auto; width: 750px; height: auto; border: 1px red solid; }
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <link rel="stylesheet" href="styles.css" type="text/css" media="screen" /> </head> <body> <div id="container"> Jakiś tekst. </div> </body> </html>
<DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <link type="text/css" rel="stylesheet" href="application/themes/myTheme/views/layouts/css/style.css" /> <link type="text/css" rel="stylesheet" href="application/assets/css/reset.css" /> <!--[if IE]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <!--[if IE 9]> <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script> <![endif]--> </head> <body> <section class="all"> test </section><!--end contener--> </body> </html>