+ 3
what does padding mean?
6 odpowiedzi
+ 11
the space between the main content and the border of the element is called as padding area.
+ 4
it's the inner space between the border and the content of a box. search for html box model for further information and graphical explanation ;)
+ 2
You should set the 'width' css property of your <img> ( you can also use the 'width' html attribute of <img> tag, as it isn't deprecated, but you should provide a value in pixel units with Html5, since you can set % in Html4 and it's still bad practice to not separate styles from content... and with Css, all css size units are accepted ^^ )
+ 1
No:
<img width="100" src="image.url" alt="description">
... or in css:
img { width:100px; } /* with a correct target: this one target all <img> ^^ */
... or, in between both:
<img style="width:100px" src="image.url" alt="description">
0
What if i have to enlarge an image horizontally
0
image-width:200px
like this .
git it then.