Prev | Current Page 290 | Next

Charles Wyke-Smith

"Stylin' with CSS: A Designer's Guide 2nd Edition"



Here??™s the associated CSS
#nav #top_of_box {
height:8px;
background:url(../images/gray_rnded_box_top_trans.png)
no-repeat;
margin:0 0 0 15px;
}
#nav_inner {
background:url(../images/gray_rnded_box_trans.png)
repeat-y;
}
#nav #bottom_of_box {
height:8px;
background: url(../images/gray_rnded_box_btm.png)
no-repeat;
margin:0 0 0 15px;
}
the left column
end top_of_box div
end nav_inner div
end bottom_of_box div
end nav div
BUILDING WEB PAGES 261
Even though the CSS for the nav_inner div is in the 3_col_liquid.
ccs ?¬? le, I put this particular nav_inner style in the text_n_colors.css
style sheet (where I am adding all the CSS I am writing especially
for this page, additional to the library CSS), as it makes sense that it
lives with the div style for the other parts of the box. However, I also
need to make one small adjustment to the nav_inner div??™s styling in
the 3_col_liquid.css style sheet. Here??™s what was originally there:
#nav_inner, #promo_inner {
padding:.5em .5em 1em 1em;
}
which gets adjusted to
#nav_inner {
margin:0 15px;
padding:0 6px;
}
#promo_inner {
padding:.


Pages:
278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302