<!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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- TemplateBeginEditable name="doctitle" --> <title>Ludk Jnoa - FOTOGRAF </title> <!-- TemplateEndEditable --> <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable --> <style type="text/css"> <!-- body { margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */ padding: 0; text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */ color: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 100%; background-color: #000000; } .thrColAbsHdr #container { position: relative; /* adding position: relative allows you to position the two sidebars relative to this container */ width: 800px; margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */ border: 1px solid #000000; text-align: left; /* this overrides the text-align: center on the body element. */ background-color: #000000; } /* Tips for absolutely positioned sidebars with header and footer: 1. Absolutely positioned (AP) elements must be given a top and side value, either right or left. (As a default, if no top value is given, the AP element will begin directly after the last element in the source order of the page. This means, if the sidebars are first element in the #container in the document's source order, they will appear at the top of the #container even without being given a top value. However, if they are moved later in the source order for any reason, they'll need a top value to appear where you desire. 2. Absolutely positioned (AP) elements are taken out of the flow of the document. This means the elements around them don't know they exist and don't account for them when taking up their proper space on the page. Thus, an AP div should only be used as a side column if you are sure the middle #mainContent div will always contain the most content. If either sidebar were to contain more content, that sidebar would run over the bottom of the parent div, and in this case the footer as well, and the sidebar would not appear to be contained. 3. If the above mentioned requirements are met, absolutely positioned sidebars can be an easy way to control the source order of the document. 4. If the source order is changed, the top value should be equal to the height of the header since this will cause the columns to visually meet the header. */ .thrColAbsHdr #header { height: 120px; padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */ background-color: #000000; } .thrColAbsHdr #sidebar { position: absolute; width: 420px; top: 210px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9px; color: #999999; } .thrColAbsHdr #menu { position: absolute; width: 150px; right: 10px; top: 134px; } ul#mainlevel-nav { padding: 0; margin: 0; font-size: 0.8em; list-style-type: none; list-style-image: none; } /** unordered list item for top menu **/ ul#mainlevel-nav li { display: block; padding-left: 0px; padding-right: 0px; float: left; margin: 0; width: auto !important; font-size: 11px; line-height: 23px; white-space: nowrap; } /** unordered list item link for top menu **/ ul#mainlevel-nav li a { display: block; padding-left: 15px; padding-right: 15px; text-decoration: none; color: #FFFFFF; } /** unordered list item for top menu for firefox only **/ ul#mainlevel-nav li a:hover { text-decoration:none; color: #FF0000; font-weight: bold; } .thrColAbsHdr #sidebar1 { background-color: #000000; background-image: url(obr/logo.jpg); background-position: left top; height: 160px; background-repeat: no-repeat; padding-left: 15px; margin-left: 25px; } .thrColAbsHdr #sidebar2 { padding-top: 10px; padding-right: 40px; padding-bottom: 15px; padding-left: 40px; background-color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal; line-height: 16px; text-align: left; color: #999999; text-decoration: none; } .thrColAbsHdr #mainContent { height: 212px; width: 743px; margin-right: auto; margin-left: auto; background-image: url(obr/omne.jpg); } .thrColAbsHdr #footer { padding-top: 0; padding-right: 28px; padding-bottom: 0; padding-left: 28px; background-color: #000000; text-align: right; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9px; font-weight: bold; font-style: italic; color: #666666; } .thrColAbsHdr #footer p { margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */ padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */ background-color: #000000; } .fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */ float: right; margin-left: 8px; } .fltlft { /* this class can be used to float an element left in your page */ float: left; margin-right: 8px; } #apDiv1 { position:absolute; left:634px; top:302px; width:143px; height:193px; z-index:1; } .styl1 {color: #FFFFFF} .styl2 {color: #FF0000} a:link { text-decoration: none; } a:visited { text-decoration: none; } a:hover { text-decoration: none; } a:active { text-decoration: none; } .thrColAbsHdr #container #sidebar2 .styl1 a { font-weight: normal; color: #FFFFFF; } --> </style> <!--[if IE 5]> <style type="text/css"> /* place css box model fixes for IE 5* in this conditional comment */ .thrColAbsHdr #sidebar1 { width: 180px; } .thrColAbsHdr #sidebar2 { width: 190px; } </style> <![endif]--></head> <body class="thrColAbsHdr"> <div id="container"> <div id="header"> <!-- end #header --></div> <div id="sidebar1"> <!-- end #sidebar1 --> <div id="sidebar">Pokud se chcete na chvli zastavit a pro~t se mnou ndhern okam~iky,<br /> navativte fotogalerii. Nebudete litovat.<br /> </div> <div id="menu"> <ul id="mainlevel-nav"> <li><a href="http://www.fotojany.cz" class="mainlevel-nav" >O MN</a></li> <li><a href="http://www.fotojany.cz/galerie/index.html" class="mainlevel-nav" >FOTOGALERIE</a></li> <li><a href="http://ljani.rajce.idnes.cz/" target="_blank" class="mainlevel-nav" >FOTOAKCE</a></li> <li><a href="http://www.fotojany.cz/odkazy.html" class="mainlevel-nav" >DOBR ODKAZY</a></li> <li><a href="http://www.blueboard.cz/kniha_0.php?hid=6obeb272m5kudjv7tpbniv29jhv6po" target="_blank" class="mainlevel-nav" >NV`TVN KNIHA</a></li> </ul> <!-- end #menu --> </div> </div> <div id="mainContent"> <h1>&nbsp;</h1> </div> <div id="sidebar2"> <p>Prv te se nchzte na strnkch www.fotojany.cz jednoho nadaenho fotografa. Co zde mo~ete najt? Jak asi tuate, pYedevam fotografie. Ano. Uvidte fotografie, kter zachytily st mho ~ivota, ale i ty, kter zachytily st ~ivota nkoho jinho. Ve fotogalerii mo~ete nalzt krom jinho i portrty. A to je vzva pro Vs. Pokud tou~te bt zachyceni v jeden okam~ik a mt tak pamtku na hezk asy, nevhajte a kontaktujte mne. Bli~a info v sekci kontakt.</p> </div> <div id="footer"> <p>Bez souhlasu autora nen dovoleno cokoli koprovat, nebo pou~t jakkoli fotografie.<br /> &copy; Ludk Jnoa 2010 <!-- end #footer --> </p> </div> <!-- end #container --></div> </body> </html>