Re: converting custom templates to html5
Posted: Mon 18 Aug 2014 2:55 am
Fixed now...
changed the css with the below
seems to work fine in Firefox31, Chrome29, IE11 and an android phone.
Resizes to suit the Div no matter what size the image is....
so now to finish my other pages off(95% completed).
Even the observation pages which i was worried about are all good..
changed the css with the below
Code: Select all
#myDiv
{
width:100%;
height:100%;
}
#myDiv img
{
width:100%;
height:auto;
margin:0 auto;
display: inline-block;
}Resizes to suit the Div no matter what size the image is....
so now to finish my other pages off(95% completed).
Even the observation pages which i was worried about are all good..