JSFiddle - React, Tailwind, and code Playground
HTML
<div id="black_div">
<div id="logo_j"><img src="/joomla8/templates/krasota/image/logo.jpg" width="998" height="251" hspace="8" vspace="8" /></div>
<div id=main_menu><jdoc:include type="modules" name="main_menu" style="xhtml" /></div>
<div id="content"><div id="mm"></div></div>
</div>
CSS
#black_div {
display: block;
position: relative;
overflow: hidden;
width: 1050px;
height: 100%;
background-color: rgba(0, 0, 0, 0.4);
margin: 10px 25px;
border-radius: 8px;
}
html, body {
margin: auto;
padding: 0px;
position: relative;
height: 100%
}
body {
height: 100%;
width: 1100px;
padding: 0 0;
margin: 0 auto;
background: #ffffff url(../image/bg.jpg) no-repeat 50% 0;
}
#wrapper {
display: block;
position: absolute;
text-align:left;
margin: 0 top;
width: 100%;
height: 100%;
}
#logo {
display: block;
position: relative;
background-image: url(../image/lady.png);
width: 294px;
height: 73px;
margin: 5px 25px;
}
#black_div {
display: block;
position: relative;
overflow: hidden;
width: 1050px;
height: 100%;
background-color: rgba(0, 0, 0, 0.4);
margin: 10px 25px;
border-radius: 8px;
}
#niz {
min-height: 50px; /* для всех нормальных браузеров */
height: auto !important; /* для всех нормальных браузеров */
margin-bottom: -7em; /* отступ для футера */
margin-left: 25px;
margin-top: 20px;
}
#footer {
display: block;
position: relative;
width: 100%;
height: 100%;
font: arial regular 13pt;
}
#logo_j {
display: block;
position: relative;
width: 1014px;
height: 266px;
background-color: #ffffff;
border-radius: 8px 8px 0 0;
margin-top: 20px;
margin-left: 18px;
}
#content {
display: block;
position: relative;
width: 1014px;
height: 40%;
margin-top: 0;
margin-left: 18px;
background: green;
}
#mm {
width: 100px;
height: 300px;
background: #000000;
}