BLOG DESIGN SOLUTIONS #sidebar li { (Web hosting domain) border-bottom: 1px
BLOG DESIGN SOLUTIONS #sidebar li { border-bottom: 1px solid #CCC; } #sidebar li a:link { color: #333366; line-height: 150%; text-decoration: none; …and so on. You ll notice that rather than a plain
- or
- before the styling attributes, #sidebar is declared for each part, followed by the
- or
- . The sidebar now owns this style, and the styles will not apply to an unordered list outside of the sidebar. #sidebar This is the left-aligned column containing categories, headlines, search tools, and so on. A background image is set to repeat vertically (repeat-y), tiling from the right to create the faint diagonal lines behind the content, and a
assigned to the sidebar carries its own background image for the darker gray headings. The CSS for each is shown here (note that they are not listed together in weblog_css): #sidebar { float: left; color: #333; text-align: left; margin: 0 11px 15px 0; border-top: 1px solid #999; border-bottom: 1px solid #999; background: url({site_url}themes/site_themes/ . logical_blocks/lb_diags_white.gif) repeat-y right; } #sidebar h3 { width: 249px; height: 16px; margin: 0; color: #336; text-decoration: none; display: block; text-align: left; background: url({site_url}themes/site_themes/ . logical_blocks/lb_diags_h3.gif) right; padding: 6px 0 0 5px; }
- . The sidebar now owns this style, and the styles will not apply to an unordered list outside of the sidebar. #sidebar This is the left-aligned column containing categories, headlines, search tools, and so on. A background image is set to repeat vertically (repeat-y), tiling from the right to create the faint diagonal lines behind the content, and a