Jump to content
Sign in to follow this  
Style

Vajadzīga palīdzība ar css kodu

Recommended Posts

Labs vakariņš visiem.

Kā redzt bildē 1 viens liels laukums, kurā iekšā ir 3 mazāki laukumi, kuros ir iekšā teksts - te1, te2 un te3, bet te3 laukums negrib atrasties pareizajā vietā - balkus te2.

HTML - 

<div class="1">
<div class="2"> 
<h1 class="3">blablabla</h1>
</div>
<div class="4">
<div class="5">
<div class="6"> 
te1
</div>
<div class="7">
te2
</div>
<div class="8">
te3
</div>
</div>
</div>

 

CSS - 

.1 {width: 960px; margin: 0 auto; background-color:white; height: 90%; margin-top: 25px;border-style: solid; border-width: 1px;}
.3 {font-family: 'Work Sans', sans-serif;list-style: none;}
.2 {width: 960px; background-color:white; height: 1%;margin: 0 auto;}
.4 {width: 960px; margin: 0 auto; background-color:white; height: 90%; margin-top: 25px;border-style: solid; border-width: 1px;}
.5 {width: 960px; margin: 0 auto; background-color:white; height: 10%; border-style: solid; border-width: 1px;}
.6 {width: 320px; margin: 0 auto; background-color:white; height: 100%; border-style: solid; border-width: 1px;float:left;}
.7 {width: 320px; margin: 0 auto; background-color:white; height: 100%; border-style: solid; border-width: 1px;}
.8 {width: 320px; margin: 0 auto; background-color:white; height: 100%; border-style: solid; border-width: 1px;float:right;}

123.png

Share this post


Link to post
Share on other sites
3 minutes ago, Night said:

Kur ir bilde?

 

Pielikumā bet ja nu gadijumā neparādās, bildi var apskatīt šeit.

Kļūdu atradu, slēgts !

Edited by Style

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.