Stránka: 1 z 1
| [ Príspevkov: 7 ] | |
Autor | Správa |
---|
Registrovaný: 15.04.07 Prihlásený: 27.04.07 Príspevky: 12 Témy: 5 | 5 |
Cawte mam taketo menu
ale neviem ako mam v CSS urobit menu s riadkami ptrebujem 18 riadkov.....
Toto je moj CSS styl.css:
Kód: body { background-color:#FBA847;} #hlavne { width: 1000px; margin: 0 auto 0 auto; border: 1px solid black;} #head { height: 257px; border-bottom: 1px solid black;background-image: url(../butik/obrazy/www_01.gif);} #horna_lista { height: 36px; border-bottom: 1px solid black; background-image:url(../butik/obrazy/www_02.gif);} #menu { width: 20%; float: left;} #obsah { width: 69.25%; float: right; border-left: 0px solid black; height: 696px; background-image:url(../butik/obrazy/www_05.gif);} #end { height: 114px; border-top: 0px solid black; clear: both; background-image:url(../butik/obrazy/www_22.gif);}
A toto je moj HTML index.html: Kód: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="stylesheet" type="text/css" href="styl.css"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Butik Lorien</title> </head> <div id="hlavne">
<div id="head">Hlavička stránky , v css stylováno pod id=head</div> <div id="horna_lista">Místo pro banner stránky, v css stylováno pod id=banner</div>
<div id="menu">menu id=menu</div> <div id="obsah">obsah id=obsah<br> <h4>příklady tabulkových klasických stránek</h4> </div>
<div id="end">Tak a tady je konec, tzv. patička id=end</div> </div> <body> </body> </html>
Dik za odpovede
|
|
Registrovaný: 15.04.07 Prihlásený: 27.04.07 Príspevky: 12 Témy: 5 | 5 |
skusam to hocijako ale stale mi to nevychadza (
je to krive
Kód: body { background-color:#FBA847;} #hlavne { width: 1000px; margin: 0 auto 0 auto; border: 1px solid black;} #head { height: 257px; background-image: url(../butik/obrazy/www_01.gif); border-bottom: 1px solid black;} #horna_lista { height: 36px; background-image:url(../butik/obrazy/www_02.gif);} #menu { width: 20%; float: left;} #menu ul { margin: 0; list-style-type: none;} #menu a { display: block; color: #FC8C09; background-image:url(../butik/obrazy/h_06.gif); width: 309px; height: 37px; text-decoration: none; font-weight: bold; font-family: Arial, Helvetica, sans-serif;} #obsah { width: 69.25%; float: right; height: 696px; border-left: 1px solid black; background-image:url(../butik/obrazy/www_05.gif);} h1 {margin-left: 10px; font-size:16px;} h2 {margin-left: 10px; font-size:15px;} #end { height: 114px; border-top: 1px solid black; clear: both; background-image:url(../butik/obrazy/www_22.gif);}
http://img46.imageshack.us/img46/7721/krivepq2.jpg
|
|
Registrovaný: 30.05.06 Prihlásený: 08.10.14 Príspevky: 1756 Témy: 35 | 35 Bydlisko: BA - WESTSIDE |
nerozumiem, čo je "krivé"?
_________________
A. S. Tanenbaum píše: The terms LF, MF, and HF refer to low, medium, and high frequency, respectively. Clearly, when the names were assigned, nobody expected to go above 10 MHz, so the higher bands were later named the Very, Ultra, Super, Extremely, and Tremendously High Frequency bands. Beyond that there are no names, but Incredibly, Astonishingly, and Prodigiously high frequency (IHF, AHF, and PHF) would sound nice. |
|
Registrovaný: 15.04.07 Prihlásený: 27.04.07 Príspevky: 12 Témy: 5 | 5 |
TAKTO TO MA BYT
TAKTO TO JE
|
|
Registrovaný: 01.03.07 Prihlásený: 04.01.12 Príspevky: 69 Témy: 17 | 17 |
Skus to spravit takto, ze v jednom velkom dive (ktoreho sirka = sirka menu + sirka obsahu) bude spolocne aj div obsah, aj div menu, akurat menu bude mat float left... Mne to tak stale funguje... A hlavne si skontroluj, aby ti vsade sedela sirka, lebo inak to budes mat posunute, ani nebudes vediet preco...
Myslim si, ze hladas tento http://www.ssi-developer.net/main/templ ... -fixed.htm
_________________ Nie je všetko web 2.0, čo sa blyští... |
|
Registrovaný: 15.04.07 Prihlásený: 27.04.07 Príspevky: 12 Témy: 5 | 5 |
nejako som to poskusal a mam to takto :-/ neviem posunut ten text..
|
|
Registrovaný: 30.05.06 Prihlásený: 08.10.14 Príspevky: 1756 Témy: 35 | 35 Bydlisko: BA - WESTSIDE |
tam daj buď ľavý padding, alebo text-indent (ale text-indent len ak máš zaručené, že tie názvy položiek budú v 1 riadku)
_________________
A. S. Tanenbaum píše: The terms LF, MF, and HF refer to low, medium, and high frequency, respectively. Clearly, when the names were assigned, nobody expected to go above 10 MHz, so the higher bands were later named the Very, Ultra, Super, Extremely, and Tremendously High Frequency bands. Beyond that there are no names, but Incredibly, Astonishingly, and Prodigiously high frequency (IHF, AHF, and PHF) would sound nice. |
|
Stránka: 1 z 1
| [ Príspevkov: 7 ] | |
Podobné témy | Témy | Odpovede | Zobrazenia | Posledný príspevok |
---|
| v HTML, XHTML, XML, CSS | 5 | 1372 | 25.04.2009 16:19 shaggy | | v HTML, XHTML, XML, CSS | 3 | 548 | 22.08.2010 22:32 Pades | | v HTML, XHTML, XML, CSS | 8 | 938 | 26.10.2010 20:07 walther | | v HTML, XHTML, XML, CSS | 3 | 735 | 14.03.2009 18:13 Tominator | | v HTML, XHTML, XML, CSS | 3 | 979 | 23.12.2008 15:14 buslo | | v HTML, XHTML, XML, CSS | 6 | 799 | 08.01.2011 17:11 ner1xess | | v HTML, XHTML, XML, CSS | 3 | 969 | 08.10.2007 6:21 HAE07 | | v Ostatné | 5 | 578 | 23.03.2009 19:35 Tominator | | v HTML, XHTML, XML, CSS | 13 | 1190 | 20.03.2009 18:18 sillyounguy | | v HTML, XHTML, XML, CSS | 13 | 1077 | 27.10.2008 22:48 Blackshadow | | v HTML, XHTML, XML, CSS | 10 | 1589 | 16.12.2009 18:46 petanorech | | [ Choď na stránku: 1, 2 ] v PHP, ASP | 43 | 1589 | 09.05.2014 17:18 funny102 | | v HTML, XHTML, XML, CSS | 1 | 685 | 21.01.2010 0:49 Merlin_sk | | v HTML, XHTML, XML, CSS | 1 | 393 | 05.02.2010 8:16 pilná lama glama | | v HTML, XHTML, XML, CSS | 12 | 600 | 16.08.2008 19:42 Slappy | | v HTML, XHTML, XML, CSS | 4 | 409 | 13.08.2012 15:11 eMp |
|