[ = IGY = @ 10.11.2006. 21:46 ] @
[ = IGY = @ 10.11.2006. 21:46 ] @
[ glavince @ 11.11.2006. 14:55 ] @
<div align="center">Baner</div>
[ CtrlAltDel @ 11.11.2006. 22:58 ] @
<center>sadrzaj</center>
[ kelja @ 12.11.2006. 08:01 ] @
Eh...ovaj <center> tag je malo zastareo.Mislim,nije da ne radi,ali...:-)
Ako radis sa tabelama: <table align='center'>sadrzaj</table> :-) [ = IGY = @ 12.11.2006. 14:28 ] @
hvala ali je radim na design pa posto sam pocetnik gde treba to da ukucam na code!
[ maric1 @ 12.11.2006. 15:54 ] @
samo klikni na centar kao da centriras teks samo pre toga oynaci tabelu
mislim moye i ovako ako ti je lakse [ = IGY = @ 12.11.2006. 16:16 ] @
evo sta me muci:
ja sam na sledeci kod ukucao ovo sto je boldovano i sajt se pomeri na sredinu ali tekst koji sam kucao u layeru (u dreamwaveru) da bi bio preko slike se ne pomeri sa ostalim na sredinu! evo kod: <html> <head> <title>Untitled-3</title> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); //--> </script> <style type="text/css"> <!-- .style1 { font-family: Georgia, "Times New Roman", Times, serif; font-weight: bold; font-size: 18px; } .style3 {font-size: 14px; color: #FFFFFF;} --> </style> </head> <div align="center"> <body bgcolor="#FFFFFF" topmargin="0" marginheight="0"> <!-- ImageReady Slices (Untitled-3.psd) --> <table id="Table_01" width="1024" height="901" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="13"> <img src="images/Untitled-3_01.jpg" width="1024" height="17" alt=""></td> </tr> <tr> <td colspan="6"> <img src="images/Untitled-3_02.jpg" width="465" height="4" alt=""></td> <td rowspan="2"> <img src="images/Untitled-3_03.jpg" width="103" height="25" alt=""></td> <td rowspan="3"> <img src="images/Untitled-3_04.jpg" width="22" height="279" alt=""></td> <td rowspan="2"> <img src="images/Untitled-3_05.jpg" width="174" height="25" alt=""></td> <td colspan="4"> <img src="images/Untitled-3_06.jpg" width="260" height="4" alt=""></td> </tr> <tr> <td colspan="2" rowspan="2"> <img src="images/Untitled-3_07.jpg" width="154" height="275" alt=""></td> <td> <a href="licnakarta.html"><img src="images/Untitled-3_08.jpg" alt="" width="130" height="21" border="0"></a></td> <td rowspan="2"> <img src="images/Untitled-3_09.jpg" width="17" height="275" alt=""></td> <td> <img src="images/Untitled-3_10.jpg" width="141" height="21" alt=""></td> <td rowspan="2"> <img src="images/Untitled-3_11.jpg" width="23" height="275" alt=""></td> <td rowspan="2"> <img src="images/Untitled-3_12.jpg" width="19" height="275" alt=""></td> <td> <img src="images/Untitled-3_13.jpg" width="105" height="21" alt=""></td> <td colspan="2" rowspan="2"> <img src="images/Untitled-3_14.jpg" width="136" height="275" alt=""></td> </tr> <tr> <td> <img src="images/Untitled-3_15.jpg" width="130" height="254" alt=""></td> <td> <img src="images/Untitled-3_16.jpg" width="141" height="254" alt=""></td> <td> <img src="images/Untitled-3_17.jpg" width="103" height="254" alt=""></td> <td> <img src="images/Untitled-3_18.jpg" width="174" height="254" alt=""></td> <td> <img src="images/Untitled-3_19.jpg" width="105" height="254" alt=""></td> </tr> <tr> <td rowspan="2"> <img src="images/Untitled-3_20.jpg" width="126" height="604" alt=""></td> <td colspan="11"> <img src="images/Untitled-3_21.jpg" width="781" height="542" alt=""> <div id="Layer1" style="position:absolute; width:780px; height:542px; z-index:1; left: 137px; top: 297px;"> <div align="center"> <pre class="style1" align="center"> Dragi prijatelji </pre> <pre class="style1" align="center">Danas ćemo krenuti na jedno, nadamo se, zanimljivo putovanje. </pre> <pre class="style1" align="center">Naš vodič na ovom uzbudljivom krstarenju biće kapetan Džon Piplfoks. </pre> <pre class="style1" align="center">Očekuje nas mnogo uzbuđenja i zanimljivih događaja. </pre> <pre class="style1" align="center">Sve je spremno, krenimo na plovidbu! </pre> <pre class="style1" align="center">Junaka naše priče izmislio je Duško Radović, pesnik čije ime nosi </pre> <pre class="style1" align="center">naša škola.Tu je i plavi zec i strašan lav. Duško Radović često nije </pre> <pre class="style1" align="center">znao šta će sa dva-tri stiha i kako je i sam rekao otkačila bi mu se čitava </pre> <pre class="style1" align="center">pesma i dobro je što je tako bilo.O deci je pisao osećajno, jezgrovito, </pre> <pre class="style1" align="center">toplo iako mi nikad od njega onako ozbiljnog, namrgođenog ne bismo </pre> <pre class="style1" align="center">očekivali.</pre> </div> </div> <div id="Layer2" style="position:absolute; width:780px; height:61px; z-index:2; top: 840px; left: 137px;"><span class="style3">Questions or problems regarding this web site should be directed to [[email protected]]. <br> Copyright © 2006. All rights reserved. <br> Last modified: 11/11/06. <embed src="himna.mp3" width="10" height="10" hidden="true" autostart="true" loop="true"></embed> </span></div></td> <td rowspan="2"> <img src="images/Untitled-3_22.jpg" width="117" height="604" alt=""></td> </tr> <tr> <td colspan="11"> <img src="images/Untitled-3_23.jpg" width="781" height="62" alt=""></td> </tr> <tr> <td> <img src="images/spacer.gif" width="126" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="28" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="130" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="17" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="141" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="23" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="103" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="22" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="174" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="19" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="105" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="19" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="117" height="1" alt=""></td> </tr> </table> </div> <!-- End ImageReady Slices --> </body> </html> [ = IGY = @ 12.11.2006. 21:11 ] @
mozda vam nisam dobro objasnio ali ja imam ovako neki problem!
http://www.elitesecurity.org/t206758-Pozicioniranje-layer [ CtrlAltDel @ 12.11.2006. 21:40 ] @
@kelja
sta ces, navika.... :) [ pajaja @ 13.11.2006. 14:03 ] @
Citat: <div align="center"> <body bgcolor="#FFFFFF" topmargin="0" marginheight="0"> <div> ide posle <body> [ = IGY = @ 13.11.2006. 15:30 ] @
probao nevrdi!
ali uradio sam nesto drugo! (opet cu boldovati prepravku!) napisao sam auto umesto 137px i sada je sve ok,slova su na mestu(na centru kao i cela strana)! ali to je kada gledam u operi,kada tu stranu sa ovim kodom otvorim iz IE slova pobegnu na desnu stranu!!!!! ako ovo auto prepravim u frontpage-u a ne u dreamwaver-u slova ce biti na mestu i u operi i u IE! Zasto??!!! jer moguce da je dreamwaver nesto.... evo kod: <html> <head> <title>Untitled-3</title> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); //--> </script> <style type="text/css"> <!-- .style1 { font-family: Georgia, "Times New Roman", Times, serif; font-weight: bold; font-size: 18px; } .style3 {font-size: 14px; color: #FFFFFF;} --> </style> </head> <body bgcolor="#FFFFFF" topmargin="0" marginheight="0"> <div align="center"> <!-- ImageReady Slices (Untitled-3.psd) --> <table id="Table_01" width="1024" height="901" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="13"> <img src="images/Untitled-3_01.jpg" width="1024" height="17" alt=""></td> </tr> <tr> <td colspan="6"> <img src="images/Untitled-3_02.jpg" width="465" height="4" alt=""></td> <td rowspan="2"> <img src="images/Untitled-3_03.jpg" width="103" height="25" alt=""></td> <td rowspan="3"> <img src="images/Untitled-3_04.jpg" width="22" height="279" alt=""></td> <td rowspan="2"> <img src="images/Untitled-3_05.jpg" width="174" height="25" alt=""></td> <td colspan="4"> <img src="images/Untitled-3_06.jpg" width="260" height="4" alt=""></td> </tr> <tr> <td colspan="2" rowspan="2"> <img src="images/Untitled-3_07.jpg" width="154" height="275" alt=""></td> <td> <a href="licnakarta.html"><img src="images/Untitled-3_08.jpg" alt="" width="130" height="21" border="0"></a></td> <td rowspan="2"> <img src="images/Untitled-3_09.jpg" width="17" height="275" alt=""></td> <td> <img src="images/Untitled-3_10.jpg" width="141" height="21" alt=""></td> <td rowspan="2"> <img src="images/Untitled-3_11.jpg" width="23" height="275" alt=""></td> <td rowspan="2"> <img src="images/Untitled-3_12.jpg" width="19" height="275" alt=""></td> <td> <img src="images/Untitled-3_13.jpg" width="105" height="21" alt=""></td> <td colspan="2" rowspan="2"> <img src="images/Untitled-3_14.jpg" width="136" height="275" alt=""></td> </tr> <tr> <td> <img src="images/Untitled-3_15.jpg" width="130" height="254" alt=""></td> <td> <img src="images/Untitled-3_16.jpg" width="141" height="254" alt=""></td> <td> <img src="images/Untitled-3_17.jpg" width="103" height="254" alt=""></td> <td> <img src="images/Untitled-3_18.jpg" width="174" height="254" alt=""></td> <td> <img src="images/Untitled-3_19.jpg" width="105" height="254" alt=""></td> </tr> <tr> <td rowspan="2"> <img src="images/Untitled-3_20.jpg" width="126" height="604" alt=""></td> <td colspan="11"> <img src="images/Untitled-3_21.jpg" width="781" height="542" alt=""> <div id="Layer1" style="position:absolute; width:780px; height:542px; z-index:1; left: auto; top: 297px;"> <div align="center"> <pre class="style1" align="center"> Dragi prijatelji </pre> <pre class="style1" align="center">Danas ćemo krenuti na jedno, nadamo se, zanimljivo putovanje. </pre> <pre class="style1" align="center">Naš vodič na ovom uzbudljivom krstarenju biće kapetan Džon Piplfoks. </pre> <pre class="style1" align="center">Očekuje nas mnogo uzbuđenja i zanimljivih događaja. </pre> <pre class="style1" align="center">Sve je spremno, krenimo na plovidbu! </pre> <pre class="style1" align="center">Junaka naše priče izmislio je Duško Radović, pesnik čije ime nosi </pre> <pre class="style1" align="center">naša škola.Tu je i plavi zec i strašan lav. Duško Radović često nije </pre> <pre class="style1" align="center">znao šta će sa dva-tri stiha i kako je i sam rekao otkačila bi mu se čitava </pre> <pre class="style1" align="center">pesma i dobro je što je tako bilo.O deci je pisao osećajno, jezgrovito, </pre> <pre class="style1" align="center">toplo iako mi nikad od njega onako ozbiljnog, namrgođenog ne bismo </pre> <pre class="style1" align="center">očekivali.</pre> </div> </div> <div id="Layer2" style="position:absolute; width:780px; height:61px; z-index:2; top: 840px; left: 137px;"><span class="style3">Questions or problems regarding this web site should be directed to [[email protected]]. <br> Copyright © 2006. All rights reserved. <br> Last modified: 11/11/06. <embed src="himna.mp3" width="10" height="10" hidden="true" autostart="true" loop="true"></embed> </span></div></td> <td rowspan="2"> <img src="images/Untitled-3_22.jpg" width="117" height="604" alt=""></td> </tr> <tr> <td colspan="11"> <img src="images/Untitled-3_23.jpg" width="781" height="62" alt=""></td> </tr> <tr> <td> <img src="images/spacer.gif" width="126" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="28" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="130" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="17" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="141" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="23" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="103" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="22" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="174" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="19" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="105" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="19" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="117" height="1" alt=""></td> </tr> </table> </div> <!-- End ImageReady Slices --> </body> </html> Copyright (C) 2001-2025 by www.elitesecurity.org. All rights reserved.
|