0
How to calculate total width and height ?
iam so long learn css but still noob and not undertestand about box model. the problm is iam not undertestand how to calculate total width and total height. someone can explain ?.
5 odpowiedzi
+ 1
If you mean total width/height of some element, that is: content+padding+border.
If you want to get total height/width of browser window you have to use JavaScript.
0
total width and height of what?
0
total width of a element sorry bad english.
0
are formula for width of some element like this ? margin left & right + padding left & right + border left & right + width = total widht. am i right ?
0
not margins, they are not counted in width