Container doesn't expand for image
-
I'm writing using HTML5 and CSS3 and viewing using IE10 on Windows8. Within an
article
with a constant width, andheight
set toauto
in the CSS the more text I put in the more the 'height' of the article expands down the page to encompass it. This is fine for most pages e.g.: http://www.jgdprojects.co.uk/CANbusdesign.htm[^]. But now I want a 'Contacts' page with little text and a picture (img, jpg
). However thearticle
doesn't expand to encompass the picture but stops when the text stops whilst the image overflows the background and border. What am I missing to have it expand thearticle
to encompass the image as well? -
I'm writing using HTML5 and CSS3 and viewing using IE10 on Windows8. Within an
article
with a constant width, andheight
set toauto
in the CSS the more text I put in the more the 'height' of the article expands down the page to encompass it. This is fine for most pages e.g.: http://www.jgdprojects.co.uk/CANbusdesign.htm[^]. But now I want a 'Contacts' page with little text and a picture (img, jpg
). However thearticle
doesn't expand to encompass the picture but stops when the text stops whilst the image overflows the background and border. What am I missing to have it expand thearticle
to encompass the image as well?Its quite tricky, but try to post this question at likeplum. I always get good answers there to my computer/programming issues and questions. They have programmers online to help you now. You can get a great answer to your question so fast. https://www.likeplum.com/help/programming?aid=3321