Jump to content
php.lv forumi

Colderon

Reģistrētie lietotāji
  • Posts

    25
  • Joined

  • Last visited

Posts posted by Colderon

  1. Paldies par palīdzību! Sapratu, kas tur nogāja greizi piemēram tur kur TOP NEWS vinam apaksšā ir bg bilde un es pirmajam div tagam iedevu uzreiz izmēru (augstumu un platumu) precīzi kā bg bildeitapēc pārējiem div tagiem kas bija apakšā pirmajam jau vairs negāja iekšā tajos izmēros tapēc arī float: both nedarbojās un vinš nespieda automātiski uz leju, bet tā kā man negribējās visu pārakstīt izmantoju margin: palīdzību.

     

    http://davis.byethost17.com/Templates_a/TF2/ iznākums!

  2. Labdien!

     

    Lieta tāda, kad ja man vienam div tagam ir vairāki apakš divi, ties automātiski neaizņem vietu (nezinu kā savādāk noformulēt) un nespiež pārējos div tagus uz leju, varat pateikt kā šo problēmu atrisina?

     

    Untitled-1_15.jpg

     

    <body>
    <div id="konteineris">
     <div id="banneris"></div>
    
     <div id="nav1">
     	<div id="navpogas">
     		<ul>
     	  		<li><a href="#">HOME</a></li>|
         		<li><a href="#">FORUM</a></li>|
               <li><a href="#">DOWNLOADS</a></li>|
         		<li><a href="#">MEMBERS</a></li>|
         		<li><a href="#">CHEATS</a></li>|
        	 	<li><a href="#">CONFIGS</a></li>|
         		<li><a href="#">STATS</a></li>|
        		<li><a href="#">GAMES</a></li> |
               <li><a href="#">MUSIC</a></li> |
               <li><a href="#">GROUPS</a></li>
      		</ul>
      </div>  
     </div>
    
     <div id="nav2">
     	<div id="nav2pogas">
       	<ul>
     	  		<li><a href="#">VIDEO</a></li>|
         		<li><a href="#">PICTURES</a></li>|
               <li><a href="#">ALL NEWS</a></li>|
         		<li><a href="#">LATEST NEWS</a></li>|
         		<li><a href="#">CHEATS</a></li>|
        	 	<li><a href="#">CONFIGS</a></li>|
         		<li><a href="#">STATS</a></li>|
        		<li><a href="#">GAMES</a></li> |
               <li><a href="#">MUSIC</a></li>
      		</ul>
       </div>
     </div>
    
     <div id="bloks1">
     <div id="b1virsraksts">TOP NEWS</div>
     <div id="jaunumib1"></div>
     </div>
    
    
     <div id="bloks2">
     	<div id="b2virsraksts">NEWS</div>
     </div>
    
     <div id="bloks3">
     	<div id="b3virsraksts">SPONSORS</div>
     </div>
    
     <div id="bloks4">
     	<div id="b4virsraksts">MEMBERS</div>
     </div>
    
     <div id="footeris">
     	<div id="footeratxt">Web by Davis © 2009 | yoursite.com</div>
     </div>
    
    </div>
    </body>
    </html>
    

     

    #konteineris {
    padding: 0px;
    height: auto;
    width: 900px;
    margin-top: 10px;
    margin-right: auto;
    margin-bottom: 10px;
    margin-left: auto;
    }
    
    #banneris {
    margin: 0px;
    padding: 0px;
    height: 150px;
    width: 900px;
    background-image: url(../images/banneris.png);
    background-repeat: no-repeat;
    }
    
    #nav1 {
    font: 17px Arial, Helvetica, sans-serif;
    color: #7D7D7D;
    font-weight: bold;
    background-image: url(../images/navigbg1.gif);
    background-repeat: no-repeat;
    height: 40px;
    width: 900px;
    margin-top: 5px;
    }
    
    #navpogas {
    padding-top: 10px;
    padding-bottom: 10px;
    }
    
    #navpogas ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    }
    
    #navpogas li {
    display: inline;
    padding-left: 5px;
    padding-right: 5px;
    }
    #navpogas li a {
    color: #000;
    text-decoration: none;
    color: #D6D6D6;
    font-weight: bold;
    }
    
    #navpogas a:hover {
    color:#FFF;
    text-decoration:none;
    }
    
    #navpogas a.current { 
    text-decoration:none;
    }
    
    #nav2 {
    background-image: url(../images/navigbg2.png);
    background-repeat: no-repeat;
    height: 26px;
    width: 900px;
    }
    
    #nav2pogas {
    padding-top: 6px;
    padding-bottom: 6px;
    }
    
    #nav2pogas ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    }
    
    #nav2pogas li {
    display: inline;
    padding-left: 5px;
    padding-right: 5px;
    }
    #nav2pogas li a {
    color: #000;
    text-decoration: none;
    color: #D6D6D6;
    font-weight: bold;
    }
    
    #nav2pogas a:hover {
    color:#FFF;
    text-decoration:none;
    }
    
    #nav2pogas a.current { 
    text-decoration:none;
    }
    #bloks1 {
    background-image: url(../images/ar.png);
    background-repeat: no-repeat;
    float: left;
    height: 25px;
    width: 400px;
    margin-top: 10px;
    margin-right: 20px;
    }
    
    #b1virsraksts {
    color: #D6D6D6;
    font-weight: bold;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 40px;
    }
    
    #jaunumib1 {
    height: 200px;
    width: 400px;
    background-image: url(../images/bgne.jpg);
    background-repeat: no-repeat;
    clear: both;
    }
    
    #bloks2 {
    background-image: url(../images/ar.png);
    background-repeat: no-repeat;
    float: right;
    height: 25px;
    width: 400px;
    margin-top: 10px;
    margin-left: 50px;
    }
    
    #b2virsraksts {
    color: #D6D6D6;
    font-weight: bold;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 40px;
    }
    #bloks3 {
    background-image: url(../images/ar.png);
    float: left;
    height: 25px;
    width: 400px;
    margin-top: 5px;
    background-repeat: no-repeat;
    margin-right: 20px;
    margin-bottom: 10px;
    }
    
    #b3virsraksts {
    color: #D6D6D6;
    font-weight: bold;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 40px;
    }
    
    #bloks4 {
    background-image: url(../images/ar.png);
    background-repeat: no-repeat;
    float: right;
    width: 400px;
    margin-top: 5px;
    margin-left: 50px;
    height: 25px;
    margin-bottom: 10px;
    }
    
    #b4virsraksts {
    color: #D6D6D6;
    font-weight: bold;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 40px;
    }
    
    #footeris {
    height: 100px;
    width: 900px;
    clear: both;
    margin-top: 10px;
    background-image: url(../images/footeraBG.jpg);
    background-repeat: no-repeat;
    }
    
    #footeratxt {
    color: #D6D6D6;
    font-weight: bold;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-right: 20px;
    clear: both;
    }
    

  3. Labdien!

     

    Lieta tāda, kad nesanāk izveidot 3 kolonnas iekš html. Varbūt kāds zin kādu adresi kur tas parādīts, vai arī kāds šeit zin kā to izdarīt, pagaidām man ne kas nesanāk. Ceru uz palīdzību.

     

    lol.jpg

     

    <body>
    <div id="wrapper">
     <div id="navigaacija">Navigācija</div>
     <div id="baneris">Banneris</div>
     <div id="flash">Flash</div>
     <div id="flashnews">Flash news</div>
     <div id="kreisakol">Kreisā kolonna</div>
     <div id="labakol">Laba kolonna</div>
     <div id="text">Teksts</div>
     <div id="footeris">Footeris</div>
    </div>
    </body>
    </html>

     

    body {
    margin: 0px;
    padding: 0px;
    background-color: #CCC;
    }
    #wrapper {
    padding: 0px;
    width: 900px;
    margin-right: auto;
    margin-left: auto;
    background-color: #666;
    margin-top: 10px;
    }
    #navigaacija {
    background-color: #066;
    height: 25px;
    }
    #baneris {
    background-color: #33F;
    height: 150px;
    }
    #flash {
    background-color: #0F3;
    padding: 0px;
    float: left;
    height: 200px;
    width: 485px;
    margin-top: 10px;
    margin-left: 10px;
    }
    #flashnews {
    padding: 0px;
    float: right;
    height: 200px;
    width: 385px;
    margin-top: 10px;
    background-color: #F03;
    margin-right: 10px;
    }
    #kreisakol {
    padding: 0px;
    float: left;
    width: 200px;
    margin-top: 10px;
    margin-left: 10px;
    background-color: #C93;
    height: 200px;
    margin-bottom: 10px;
    }
    #text {
    background-color: #093;
    margin-top: 10px;
    width: 500px;
    margin-right: 150px;
    }
    #labakol {
    background-color: #309;
    padding: 0px;
    float: right;
    height: 200px;
    width: 200px;
    margin-top: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    }
    #footeris {
    background-color: #C06;
    clear: both;
    height: 15px;
    width: 900px;
    margin-top: 10px;
    }
    

  4. Man tagat tā labās malas izvelne spiež uz leju teksta zonu un teksta zona atrodas zem footera kad samainiju vietaam, bet peec diviem teksts ir augstaak nekaa footeris. Pievienoju jums visus failus pastaties, kas tur īsti nav kārtībā, gribas iemācīties to lietu kārtīgi lai atkal nebūtu jāprasa forumā šādas lietas...

    x2.zip

  5. <!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" />
    <link href="style.css" rel="stylesheet" type="text/css" />
    </head>
    
    <body>
    <div id="wrapper">
     <div id="linki">
     	<ul>
           <li><a href="#">Uefa</a></li> |
           <li><a href="#">Fifa</a></li> |
           <li><a href="#">Lff</a></li> |
           <li><a href="#">Nike</a></li>
       	</ul>
     </div>
     <div id="banneris"></div>
     <div id="izvelne">
     	    <ul>
               <li><a href="#" title="About us">About us</a></li>
               <li><a href="#" title="Portfolio">Portfolio</a></li>
               <li><a href="#" title="Gallery">Gallery</a></li>
               <li><a href="#" title="Exhibitions">Exhibitions</a></li>
               <li><a href="#" title="Contact us">Contact us</a></li>
           </ul> 
     </div>
     <div id="video">
     	<div id="videoramis">Video</div>
     </div>
     <div id="teksts">
       <p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
    
         The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.  </p>
     </div>
     <div id="labaizvelne">
     	Laba
     </div>
     <div id="footer">footer</div>
    </div>
    </body>
    </html>

     

    body {
    margin: 0px;
    padding: 0px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #003;
    text-align: justify;
    }
    
    a {
    text-decoration: none;
    border: none;
    list-style: none;
    color: #900;
    }
    
    img {
    border: none;
    }
    
    h2 {
    text-align: center;
    color: #09F;
    }
    
    a {
    text-decoration: none;
    border: none;
    list-style: none;
    color: #900;
    }
    
    img {
    border: none;
    width: 600px;
    }
    #teksts {
    width: 595px;
    padding-top: 5px;
    padding-right: 0px;
    padding-bottom: 5px;
    padding-left: 5px;
    float: left;
    margin-right: 200px;
    }
    #labaizvelne {
    float: right;
    width: 200px;
    margin-left: 8px;
    padding: 0px;
    }
    ..............parejais ko nekopeeju
    

  6. Sveiki!

     

    Lieta tāda, ka taisot webu man vajadzēja sadalīt tākā divās dalās, teksta zonu un labas malas izvelni, bet, kad izmantoju float right man labās malas izvelne noslīd zem teksta daļas, bet ir vinā līmenī ar footer daļu. Ceru , kad sapratāt ko ar to gribēju pateikt, esmu iesācējs šajā jomā.

     

    x2.jpg

  7. Tātad gribēju uzzināt kas man būtu jaraksta(jākodē, vai kā savādāk to sauc) lai man rakstot tekstu atiecīgajā contenntā teksts paliktu tajā un conntents neplestos plašāks.

     

    CSS daļā man pagaidām ir tikai divas rindiņas, vai šeit kas jāpievieno vai HTML koda daļā?

     

    Kods:

    #raksts {
      background-color: #efeeee;
      width: 435px;
      height: 552px;
      border: 1px #CCC solid;
    }

     

    HTML daļa:

     

    <tr>
         <td width="435" height="552" colspan="7">
           <div id="conntent">
           <div id="raksts"></div>
    
    
           </td>
      </tr>

     

    #conntent {
    width: 435px;
    height: 552;
    }

     

    vxcv_188.jpg

  8. Es savienoju IPB forumu ar html web lapu, bet pie Edit Board Header & Footer Wrapper izdzēsu <% BOARD HEADER %> lai nerādītos html lapā, itkā nerādās IPB hederis html lapā, bet pie foruma posta neparādās iespējas, boldēt tekstu, pievienot attēlu u.c. Varbūt kāds zin kas par vainu un ja kāds zin citu versiju, kā ieintegrēt IPB html lapā lūdzu pasakat.

     

    1_19.jpg

     

    2_5.jpg

     

    3_2.jpg

  9. 1.Man ir taada problema, ka man nestrada image kods () man neraadas atteeli ja panaemu no kaada weba bildes attela linku.

    2. Kaa var PHP fuson uztaisiit malaas lai raadas taakaa reklaamas(vnk taads raamis kur kaut vai ateels raadiitos), kur var uztaisiit tadu lapu kuru novieto piem. saanaa

×
×
  • Create New...