Jump to content
php.lv forumi

Ā§°ģčļ€’’

Reģistrētie lietotāji
  • Posts

    12
  • Joined

  • Last visited

Posts posted by Ā§°ģčļ€’’

  1. negribeeju nevienu apvainot vaardu cirvis izmantoja kaa citi vaardu shameejs u.t.t. neko sliktu nebiju domaajis a to.

    kas attiecas uz linku hmm nospiedu paraadijaas ? neko citu vini neprasiija

  2. iznem laukaa class="floater" no otraa div

     

    class="floater" atkaarojas tapeec vinsh paraadaas citur top left noraadiitajos attaalumos

    <div id="someDiv" class="floater">
    <table>
    <tr>
    <td>some text in div table</td>
    </tr>
    </table>
    </div>

    kapeec divs ar tabulu neraadaas tajaa pashaa vietaa kur div bez tabulas, bet kaukur malaa?
  3. neesmu iipashi iedzilinaajies probleemaa varbuut kaads uz aatro varees pateikt kas par vainu ar ie hovers straadaa uz ff nee apskatiit sheit http://87.110.170.13/f.html

    CSS

    #box1Back {background: #5099e3; width: 150px; height: 120px; z-index: 2; position: absolute; top: 2em; left: 780px;}
    #box1 {background: #a7cff8; width: 190px; height: 240px; z-index: 3; position: absolute; top: 2em; left: 780px; margin: 5px 0 0 5px; padding: 8px;}
    #box1 ul {margin: 0; padding: 0 10px 0 0; position: relative; top: 5px; left: 15px; list-style-type: square;}
    #box1 a {color: white; font: 11px arial;}
    #main {background: #f2f5f6; width: 625px; height: 800px; z-index: 1; position: absolute; top: 1em; left: 200px; padding: 20px 10px 8px 45px; font: 11px Verdana;}
    #menu {background: #2da7f4; width: 180px; height: 300px; z-index: 4; position: absolute; top: 3.3em; left: 50px; margin: 0 0 5px 5px;}
    #menu ul {margin: 0; padding: 0; position: relative; top: 0; left: 0; list-style-type: none;}
    #menu li {display: block; background: white; width: 180px; height: 30px; padding: 3px 0 2px 2px; margin-bottom: 2px; border: solid 1px #bbdcf1; border-right: solid 2px #bbdcf1; font: 18px arial; font-weight: bold;}
    #menu li, a {color: #404141; text-decoration: none;}
    #menu li, a:hover {color: red;}
    #menuBack {background: #8abcdc; width: 120px; height: 120px; z-index: 2; position: absolute; top: 15em; left: 50px;}
    #dotted_line {border: dotted 1px #bac3c8; width: 925px; height: 780px; position: absolute; top: 2.5em; left: 60px; z-index: 5;}

  4. DIV Ja šādi: http://img169.imagevenue.com/img.php?image...d_122_124lo.JPG tad kods ir šāds:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html>
    <head>
    <title>a</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <style type="text/css">
    #q {background: red; position: absolute; left: 15em; width: 500px; height: 150px;}
    #a {background: green; position: absolute; top: 11em; left: 15em; width: 500px; height: 150px;}
    #z {background: blue; position: absolute; top: 21em; left: 15em; width: 500px; height: 150px;}
    #kaaBlogs {background: orange; position: absolute; left: 47em; width: 200px; height: 150px;}
    #kaaBlogs2 {background: pink; position: absolute; top: 11em; left: 47em; width: 200px; height: 400px;}
    </style>
    </head>
    <body>
    <div id="q">
    kaka
    </div>
    <div id="a">
    vel viena kaka
    </div>
    <div id="z">
    treshaa kaka
    </div>
    <div id="kaaBlogs">
    kakaaiet
    </div>
    <div id="kaaBlogs2">
    kakaaiet vel un vel
    </div>
    </body>
    </html>

    Pie tabulām, ja nekļūdos vajadzēs izmantot cellspacing, rowspan, colspan.

    ar tabulām būs apmēram šādi:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html>
    <head>
    <title>2</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <style type="text/css">
    	.kaaBlogs {width: 200px; height: 200px;}
    	.nekaaBlogs {width: 500px; height: 200px;}
    </style>
    </head>
    <body>
    <table border="1" cellspacing="5px" align="center">
    	<tr>
    		<td class="nekaaBlogs" rowspan="2">kaka</td>
    	</tr>
    	<tr>
    		<td class="kaaBlogs">kaka</td>
    	</tr>
    	<tr>
    		<td class="nekaaBlogs" rowspan="2">kaka</td>
    	</tr>
    	<tr>
    		<td class="kaaBlogs">kaka</td>
    	</tr>
    	<tr>
    		<td class="nekaaBlogs">kaka</td>
    	</tr>
    </table>
    </body>
    </html>

  5. vari lietot arī position: aboslute; priekš, tiem div un ar left, top noteikt viņu atrašanos vietu. Kas attiecas uz IE tad vari tam izmantot citu stilu head sadaļā raksti:

    <!--[if IE 6]>

    IE stils

    <![endif]-->

×
×
  • Create New...