The content area shown in Figure A-30 includes the following CSS elements.
This ID is used to set the height and width to automatic and assign the overflow properties. Based on this ID, JavaScript is used to automatically set the height and width of the DIV based on the size of the browser window. Listing A-30 shows the standard CSS properties.
body #s4-workspace{
overflow:visible !important;
width:auto !important;
height:auto !important;
}
body #s4-workspace{
overflow-y:scroll;
overflow-x:auto;
position:relative;
left:0px;
}
This ID includes a min-width for both the header and content elements. Listing A-31 shows the standard CSS properties.
body #s4-bodyContainer{
min-width:760px;
}
This ID and CSS is a container for the logo, page breadcrumb, social tags, top navigation search, and the help icon. The ms-titlerowborder
class adds a border to the right of these elements, as shown in Figure A-31. Listing A-32 shows the standard CSS properties.
body #s4-titlerow{
display:block !important;
}
.ms-titlerowborder{
border-right:1px solid #b8babd;
}
This CSS is used to add padding to the left of the site logo, set a minimum height, add a background image with color, and set the horizontal overflow to hidden, as shown in Figure A-32. Listing A-33 shows the standard CSS properties.
.s4-title{
padding:0px 0px 0px 10px;
margin:0px;
min-height:64px;
background:url("/_layouts/images/bgximg.png") repeat-x -0px -1023px;
background-color:#f9f9f9;
word-wrap:break-word;
-ms-word-wrap:break-word;
overflow-x:hidden;
}
This CSS is used to set a minimum height on the title area. Listing A-34 shows the standard CSS properties.
.s4-title-inner{
min-height:64px;
}
This CSS is used to set the height, width, and font properties for the title table. Listing A-35 shows the standard CSS properties.
.s4-titletable{
border:0px;
height:64px;
width:100%;
font-family:Verdana,Arial,sans-serif;
font-size:8pt;
}
Within this next section I will cover the elements that are contained within the site table. The first element is the site logo that gets displayed within the title area on the left.
3.133.109.30