Jump to content
php.lv forumi

Css kodam pievienot, lai teksts pārlec nākamajā rindā


Recommended Posts

Tātad ir divi div'i

#panel-l {
width:200px;
position:relative;
background:transparent;
float:left;
left:25px;
padding-bottom:20px;
}

#panel-r {
width:190px;
position:relative;
background:transparent;
float:left;
left:50px;
padding-bottom:20px;
}

 

Katram no šiem ir vajadzīgs, uztaisīt, lai teksts neiet ārpus viņam atvēlētās vietas. Tas būtu 200 un 190 px. Ja ir garāks teksts, tad lai tas turpinās nakamajā rindā. Kā to panākt?

Link to post
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...