/ Published in: CSS
different ways to use different styles for different browsers :-)
Expand |
Embed | Plain Text
#content { background-color: #FFFFFF; /* used in all browsers */ padding:20px; /* used in all browsers */ width: 768px; /*IE*/ } html>body #content {width: 728px;} /* FF, -40 pixels from padding */ /* =========================== another way DSGV-way ==================== */ .fullwidth { width: 500px; /*FF*/ width: expression(540 + "px"); /*IE*/ padding: 0px 20px 0px 20px; }
You need to login to post a comment.
