background:transparent url("images/naglowek2.png") no-repeat scroll center top;
Mój problem: zamiast grafiki chcę dać tam wycentrowaną animację flash - ale justuje mi się do lewej strony a nie centruje się - jak to zrobić:
HTML:
<div class="naglowek"> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="1909" height="466"> <param name="movie" value="images/animacja2.swf"> <param name="wmode" value="transparent" /> <embed src="images/animacja2.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer";; type="application/x-shockwave-flash" width="1909" height="466"></embed> </object> </div>
CSS:
.naglowek{ min-width:1020px; height:464px; margin:0px; padding:0px; text-align: center; position: relative; /* background:transparent url("images/naglowek1.jpg") no-repeat scroll center top; */ }