Center sidebar_top
Posted: Tue Jun 28, 2011 7:56 am
I've problem to center my sidebar_top
Does someone have an idea howto fix this?
Yes, this is my first walk into theming (CSS3) without ol'school HTML ... so please be patient with me
thanks in advance
Chris
Code: Select all
#sidebar_top {
float: left;
width: 90%;
max-width: 920px;
clear: both;
margin-left: 5%;
position: relative;
display: inline;
margin-bottom: 50px;
-webkit-border-radius: 1em;
-moz-border-radius: 1em;
border-radius: 1em;
background: -moz-linear-gradient(#ededed, #ffffff); /* FF 3.6+ */
background: -ms-linear-gradient(#ededed, #ffffff); /* IE10 */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ededed), color-stop(100%, #ffffff)); /* Safari 4+, Chrome 2+ */
background: -webkit-linear-gradient(#ededed, #ffffff); /* Safari 5.1+, Chrome 10+ */
background: -o-linear-gradient(#ededed, #ffffff); /* Opera 11.10 */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#ffffff'); /* IE6 & IE7 */
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#ffffff')"; /* IE8+ */
background: linear-gradient(#ededed, #ffffff); /* the standard */
-moz-box-shadow:inset 0 0 3px #cccccc;
-webkit-box-shadow:inset 0 0 3px #cccccc;
box-shadow:inset 0 0 3px #cccccc;
}
#sidebar_top .sbcontent {
float:left;
width: 48%;
margin:10px 0 5px 10px;
}
Yes, this is my first walk into theming (CSS3) without ol'school HTML ... so please be patient with me
thanks in advance
Chris