I have a main wrapper div that is set 100% width. Inside that i would like to have two divs, one that is fixed width and the other that fills the rest of the space. How do i float the second div to fill the rest of the space. Thanks for any help.
Html – How to place div side by side
csshtml
Related Topic
- Html – How to make a div not larger than its contents
- Css – How to disable text selection highlighting
- Html – How to make a div fill a remaining horizontal space
- Html – Expand a div to fill the remaining width
- Html – How to make a div 100% height of the browser window
- Html – How to place two divs next to each other
- Css – Font scaling based on width of container
Best Answer
There are many ways to do what you're asking for:
float
property:display
property - which can be used to makediv
s act like atable
:There are more methods, but those two are the most popular.