#container {
width: 960px;
margin-left: auto;
margin-right: auto;
height: auto; }
#large_box {
text-align: center;
width: 960px;
margin-left: auto;
margin-right: auto;
height: auto; }
#searchbcid {
position: absolute;
left: 400px;
margin-left: 50px;
top: 280px; }
#createbcid {
position: absolute;
margin-left: 250px;
top: 280px;
left: 550px; }
#loginpos {
position: absolute;
margin-left: 20px;
left: 30px;
top: 280px; }
Within my HTML structure, there is a div
called container
. All other nested div
s are contained within this main container.
One of these nested div
s is named large_box
, which includes three additional inner div
s: loginpos
, searchbcid
, and createbcid
.
Currently facing the challenge of center aligning the div
large_box
.
Seeking advice on how to achieve center alignment for the large_box
div
.