Autor Zpráva
drEx
Profil *
Zdravím, stáhl jsem si šablonu, ale nezobrazuje mi háčky. Prosím o pomoc...

/* CSS Document */
body,p{
margin:0;
padding:0;
background:#fff;
font:12px/15px tahoma; 
}
img{border:0; float:left;}
.flt{float:left;}
.flr{float:right;}
.clr{clear:left;}
.ds{display:inline;}

#main_block{width:1004px; text-align:left;}
#sub_block1{width:1004px;text-align:left; }
#top_block{ width:1004px; float:left; padding-top:9px; background:#007A87;}
#content_block{ width:1004px; float:left;background:#fff; }
#left_block{ float:left; width:315px;}
#right_block{ width:656px; float:right; margin:30px 16px 0 0;display:inline; }
#sub_block2{width:1004px;text-align:left;}
#footer_block{ width:1004px; float:left; background:#D29D07; padding:20px 0 20px 0;}

/*top*/
.tp_img1,.tp_img2{ background:url(../images/tp_bk1.jpg) no-repeat left; width:1004px; height:319px; float:left;}
.tp_img2{background:url(../images/tp_bk2.jpg) no-repeat right; }
.navi{ width:1004px; float:left; background:#fff;}
.navi a:hover{ text-decoration:underline; float:left;}
.navi_hm{ background:url(../images/til_hm.gif) repeat-x; float:left; padding:20px 72px; margin-right:1px; font: bold 15px Trebuchet MS; color:#fff; text-decoration:none; }
.navi_tx{ background:url(../images/til_ab.gif) repeat-x; float:left; padding:20px 74px; margin-right:1px; font: bold 15px Trebuchet MS; color:#fff; text-decoration:none; }
.logo{ margin:49px 400px 0 55px; float:left;}
.tp_tx{ margin:55px 0 0 225px; float:left; }

/*left*/
.nws{ color:#fff; font:17px/15px trebuchet MS; float:left;}
.blk1_lp{ width:272px; background:url(../images/til_lf.gif) #FFCA81 repeat-x; float:left; padding:15px 0 12px 43px; }
.blk2_lp{ background:#348890; float:left; padding:15px 0 15px 43px;  width:272px; margin-top:1px;}
.usr{ color:#36240C; font:11px/17px verdana; float:left; margin-top:6px; width:250px;}
.txbx{ width:160px; float:left; margin:6px 0 0 0; border:0; }
.smt{ margin:12px 100px 0 0; float:left; background:url(../images/sbm.gif) no-repeat; width:60px; height:20px; border:0; }
.chk{ width:250px; float:left; margin:10px 0 0 0; }
.chk input{width:13px; height:13px; float:left;}
.chk span{ font:10px verdana; float:left; color:#36240C; margin:2px 0 0 9px;}
.usr a{color:#36240C;}
.usr a:hover{ text-decoration:none; }
.dat{ width:235px; float:left; margin:16px 0 0 0; color:#fff; font:12px/16px Georgia; }
.dat span{ color:#FBDE14;font: bold 12px/16px Georgia; float:left; text-decoration:underline; }
.dat input{ background:url(../images/rd_lf.gif) no-repeat; width:86px; height:20px; float:left; margin:9px 0 0 0; border:0; }

/*right*/
.modul{ padding:0 0 0 16px; float:left;width:640px;} 
.wel{ color:#077BD4; font:22px Trebuchet MS; float:left; }
.inr_bllk{ margin:14px 0 0 0; width:640px; float:left;}
.txt{ color:#66573A; float:left; width:430px;}
.txt a{color:#EC892B; text-decoration:underline; float:left; }
.txt a:hover{ text-decoration:none; }
.our{ color:#363636; float:left; font:18px Trebuchet MS;}
.rdmr{ margin:12px 0 0 0; float:left;}
.rdmr2{ margin:12px 0 0 15px; float:left;}
.rp_ln{ margin:18px 0 0 0; float:left;}
.blks{ width:656px; background:url(../images/spn_ln.gif) repeat-y; float:left; margin:18px 0 0 0; padding-bottom:5px;}
.special{ width:328px; float:left; padding:0 0 0 14px;}
.clnt{ width:280px; float:left;padding:0 0 0 32px; }
.spcl_blk{ background:#FCFEFE; width:656px; float:left; }
.widt{ margin-top:18px; float:left; width:656px; }
.tx_widt{ width:386px; float:left;color:#66573A; margin:0 0 0 14px;}
.lnk{ width:280px; float:left; margin:24px 0 0 0; }
.lnk a{ color:#D59F28; font:12px/27px tahoma; float:left; margin:2px -3px 0 10px;position:relative; width:265px;text-decoration:underline; }
.lnk a:hover{ text-decoration:none;}
.lnk img{ float:left; margin-top:12px;}
.lnk_cl{ width:280px; float:left; margin:24px 0 0 0; }
.lnk_cl a{ color:#D59F28;float:left; text-decoration:underline; }
.lnk_cl a:hover{ text-decoration:none;}
.lnk_cl img{ float:left; margin-top:21px;}
.cls2{float:left; color:#66573A;margin:0 -3px 0 10px;position:relative; width:265px;}
.cls{float:left; color:#66573A;margin:16px -3px 0 10px;position:relative; width:265px;}

/*footer*/
.cpy{ color:#36240C; font:11px Trebuchet MS; float:left; margin-left:225px; width:500px;}
.cpy a{ color:#000000; font:11px Trebuchet MS; }
.ftr_nv{ margin-left:185px; width:520px; float:left;}
.ftr_nv a{ color:#36240C; font: bold 12px Trebuchet MS; float:left; padding:0 13px; text-decoration:none;}
.ftr_nv span{ color:#36240C; font: bold 12px Trebuchet MS; float:left; padding:0 13px;}
.ftr_nv a:hover{ text-decoration:underline; }
Sir Tom
Profil
drEx:
Také zdravím - problém bude asi ve fontech. Uprav jejich CSS deklaraci.
margin
Profil *
Sir Tom:
problém bude asi ve fontech. Uprav jejich CSS deklaraci.
Tam chyba nebude, v CSS jsou standardní fonty.

drEx:
Koukni na Čeština / cestina
Zvol si nějaké kódování češtiny a to používej, doporučuji utf-8.
Sir Tom
Profil
margin:
Tam chyba nebude, v CSS jsou standardní fonty.
Např. na řádku 28 je font: bold 15px Trebuchet MS; nebo na ř. 34 font:17px/15px trebuchet MS;. drEx nepoužívá uvozovky pro název fontu s mezerou a názvy jednou píše malým písmenem, podruhé velkým. Raději bych ty fonty ověřil.
drEx
Profil *
Tak jsi měl pravdu s tím kódováním. Zkusil jsem to spustit bez style.css a stejně se to špatně zobrazovalo, tak jsem poupravil kódování na hlavní stránce.. Dík za rady :)

Vaše odpověď

Mohlo by se hodit


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm:

0