Sent by Sauyet, Scott on 25 June 2002 12:12
> File size wise, I've saved only about 1K against the table based page.
> So, looking at the style block, what might be done to "shorten" it?
I agree with everything Kevin Smith suggested, except I don't know much
about conditional comments, and don't see how they could be used to add
something for IE5. I see how they could exclude something, but...
One further suggestion, though.
Rather than redefining everything for each DIV, you might try grouping
them like this:
#hc2, #hc3, #hc4, #h5 {
float:left;
width:55px;
height:50px;
border-right:5px #ffffff solid;
voice-family: "\"}\"";
voice-family:inherit;
width:50px;
}
body>#hc2, body>#hc3, body>#hc4, body>#hc5 {
width:50px;
}
#hc2 {
background-color:#111199;
}
#hc3 {
background-color:#1818D6;
}
#hc4 {
background-color:#4848EA;
}
#hc5 {
background-color:#8585F1;
}
Good luck,
-- Scott