The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › css sizing percentages pixels
if i have width property for an element and it uses percentage also the element has a min-width in pixels example
body { width:80%; min-width:500px; }
does the min-width override that percentage width?
They both work together. The element will be 80% of its parent’s width to a minimum width of 500px.