Jump to content
php.lv forumi

html css


labaiss

Recommended Posts

Varbūt jautājums nav saistīts ar php, bet nu nekas.

 

piem.

 

<body>
<div id="body">

<div id="teksts">

<div id="kaste"></div><!-- kaste -->

</div><!-- teksts -->

</div><!-- body -->

 

 

un css

 

#body {
height: auto;
width: 200px;
background-color: #000000;
}
#teksts {
height: auto;
width: 200px;
background-color: #ffffff;
}
#kaste {
width: 200px;
height: 400px;
bacground-image:........
}

 

 

ko es daru nepareizi vai kā man vajadzētu darīt:

 

-Ja man vnk vajad lai div tags "teksts" pastiepjās līdzi tam izmēram, kas ir dots tagad "kaste"?

 

ja es rakstu šitā, tad taga "teksts" augstums paliek nemainīgs un tags "kaste" pāriet pāri malai.

 

 

Kā jāraksta lai viņš pastieptos līdzi?

 

 

Paldies.

Ceru uz atsaucību!

Edited by labaiss
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...