Jump to content
php.lv forumi

sidebar, ka pareizi nostadiit ?


EdgarsK

Recommended Posts

Sveiki, tātad mans HTML

<div id="fit">
<div id="panel">Panela saturs<br>Bla<br>brla<br>bla<br>bla</div>
<div id="content">Lapa</div>
</div>

un css

#fit { 
margin:0 auto;
width: 1000px;
}
#content { 
width:700px;
}
#panel {
float:right;
width:290px;
}

problema tagad ir tur, ka labais panelis iet pari fuuterim, jo tas ir "float"

ka lai izdara, lai kods kurs ir float:right vilktu visu saturu uz leju tapat ka kods kuram nebutu float:right ?

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

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...