<!DOCTYPE html>
<html>
<head>
<style>
.screencontainer{
margin: 0 auto;
display: block;
xxheight: auto;
xxmax-width: 90%;
align-items: middle;
}
.foundations-wrapper{
display: inline-block;
background-color: yellow;
padding: 10px;
xxheight: auto;
margin: auto;
}
.foundations-content{
display: block;
width:200px;
height:50px;
background-color: lightblue;
margin: auto;
margin-top: 10px;
text-align: center;
color: white;
}
.foundations-button{
display: inline-block;
width:20px;
height:20px;
background-color: blue;
margin: auto;
margin: 10px;
text-align: center;
color: white;
}
.search-wrapper{
display: inline-block;
background-color: yellow;
padding: 10px;
xxheight: auto;
margin: auto;
}
.search-content{
display: inline-block;
height:50px;
width:200px;
background-color: lightblue;
margin: 0 auto;
text-align: center;
color: white;
-ms-transform: rotate(90deg);
transform: rotate(90deg);
}
.titlebar{
display: block;
width:404px;
height:20px;
border-radius:10px;
background-color: red;
text-align: center;
color: white;
}
</style>
</head>
<body>
<div class="screencontainer" style="border: 1px solid black;">
<div class="titlebar">1</div>
<div class="foundations-wrapper">
<div class="foundations-content">1</div>
<div class="foundations-content">1</div>
<div class="foundations-content">1</div>
<div class="foundations-content">1</div>
<div class="foundations-content">1</div>
<div class="foundations-content">1</div>
<div class="foundations-content">1</div>
</div>
<div class="foundations-wrapper">
<div class="foundations-content">
<div class="foundations-button">1</div>
<div class="foundations-button">1</div>
<div class="foundations-button">1</div>
</div>
<div class="foundations-content">
<div class="foundations-button">1</div>
<div class="foundations-button">1</div>
<div class="foundations-button">1</div>
</div>
<div class="foundations-content">
<div class="foundations-button">1</div>
<div class="foundations-button">1</div>
<div class="foundations-button">1</div>
</div>
</div>
<div class="search-wrapper">
<div class="search-content">1</div>
<div class="search-content">1</div>
</div>
</div>
</body>
</html>
Would like to request some help with an HTML/CSS layout challenge I'm facing. The goal is to create a simple layout for a Confluence page, with three menu containers displayed side by side. The third container should have rotated menu buttons.
Encountering two issues with the current code:
1) The space between the rotated divs in the third yellow box is too large, causing the container to expand excessively. The intention is to have five menu buttons in the container, spaced out with only a few pixels between them.
2) Struggling to vertically center the containers within the parent container.
(Please disregard the title bar for now, it will be adjusted later)
Appreciate any assistance with resolving these issues.
<!DOCTYPE html>
<html>
<head>
...