html attribute dynamic value

Solutions on MaxInterview for html attribute dynamic value by the best coders in the world

showing results for - "html attribute dynamic value"
Nisa
02 May 2020
1<div style="width: expression(document.body.clientWidth/2+'px'); background-color: yellow">
2
3  <img src="myimage.gif" style="width: 120px; height: 150px; position:absolute; left: expression(document.compatMode=='CSS1Compat'? (document.documentElement.clientWidth-120)/2+'px' : (body.clientWidth-120)/2+'px'); top:
4expression(document.compatMode=='CSS1Compat'? (document.documentElement.clientHeight-150)/2+'px' : (body.clientHeight-150)/2+'px');" />
5
6