Answers for "display div horizontal css"

CSS
2

css display div horizontally

.horizontalBlocks {
    display: inline-block;
  }
Posted by: Guest on September-12-2020
0

html div horizontal

<html>
    <title>
    Website Title
    </title>

    <div id="the whole thing" style="height:100%; width:100%" >

        <div id="leftThing" style="position: relative; width:25%; background-color:blue;">
            Left Side Menu
        </div>

        <div id="content" style="position: relative; width:50%; background-color:green;">
            Random Content
        </div>

        <div id="rightThing" style="position: relative; width:25%; background-color:yellow;">
            Right Side Menu
        </div>

    </div>
</html>
Posted by: Guest on October-28-2021

Browse Popular Code Answers by Language