دنبال کننده ها

۱۳۹۶ اسفند ۱۰, پنجشنبه

html - How to rearrange the divs using CSS

[ad_1]



I have the divs arranged like this but I need to rearrange them using CSS. My knowledge on CSS is limited. Appreciate help.



<div id=logo> ... </div> 
<div id=righttmenu> ... </div>
<div id=mainmenu> .... </div>


enter image description here



But I need to rearrange them like this



enter image description here



At the moment following css is used.



 #logo 
float: left;
margin: 0;
width: 40%;


#rightmenu
float: right;
max-width: 60%;
clear: none;


#mainmenu
clear: both;
margin: 0;




[ad_2]

لینک منبع