Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Div Width w/ Margin Goes Beyond 100% Reply To: Div Width w/ Margin Goes Beyond 100%

#239764
Shikkediel
Participant

Why not use CSS calc()?

.main {
width: calc(100% - 300px);
}