One of many CSS tricks with calc:


.side {
    width: 33%;
    width: calc( 249px + 1px );
}
.main {
    width: 67%; 
    width: calc( 100% - 250px );
 }

Comments

2 responses to “”

  1. Peter Wilson Avatar

    It only applies to browsers with calc support.

  2. Ollie Boermans Avatar

    Does `width:calc( 249px + 1px )` do something that `width: 250px` doesn’t?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.