[Typo3] CSS Definition der Position auf IMAGE übertragen?

stephan winter3 at bluewin.ch
Tue Dec 13 10:04:45 CET 2005


I have forgotten to write the text in englisch. I will come again.
Thanks
Stephan Meier


"stephan" <winter3 at bluewin.ch> schrieb im Newsbeitrag 
news:mailman.1.1134404167.17408.typo3-english at lists.netfielders.de...
> Wie kann ich die CSS Definition der Position(#zentriert) auf ein IMAGE 
> Object übertragen?
> Code CSS:
>
> #zentriert {
> position: absolute;
> width: 640px;
> height: 443px;
> left: 50%;
> top: 50%;
> margin-left: -320px;
> margin-top: -222px;
> }
>
> /* This is the background image --> Dies musste ich im TypoScript als 
> IMAGE definieren*/
> #bg {
> width: 640px;
> height: 443px;
> background: url(saentismain.jpg) no-repeat;
> }
>
> #nav {
> width: 160px;
> height: 443px;
> margin-left: 90px;
> background-color: #FFCC99;
> filter:alpha(opacity=50);
> opacity: 0.5;
> -moz-opacity:0.5;
> }
> -------------------------------------------------
> Code htm:
> <body>
> <div id="zentriert">
>   <div id="bg">
>      <div id="nav"></div>
>   </div>
> </div>
> </body>
> 





More information about the TYPO3-english mailing list