0

Is the width=100, then it should be width=100% ? Yes Or No

26th Feb 2017, 4:16 AM
Xerox
Xerox - avatar
2 Answers
+ 3
In html attributes ( because of the 'html' tag and the equal sign ), no specifying units means implicitly in pixels... Anyway, you must avoid use of Html attributes for styling, and use Css instead ^^
26th Feb 2017, 9:58 AM
visph
visph - avatar
+ 1
100% is the entire width of the parent. usually the webpage 100 should give you an error... 100px will be exactly 100px. hope this helps
26th Feb 2017, 4:32 AM
Michael Szczepanski
Michael Szczepanski - avatar