Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Container doesn't expand for image

Container doesn't expand for image

Scheduled Pinned Locked Moved Web Development
csshtmldockerquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jonathan Davies
    wrote on last edited by
    #1

    I'm writing using HTML5 and CSS3 and viewing using IE10 on Windows8. Within an article with a constant width, and height set to auto 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 the article 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 the article to encompass the image as well?

    L 1 Reply Last reply
    0
    • J Jonathan Davies

      I'm writing using HTML5 and CSS3 and viewing using IE10 on Windows8. Within an article with a constant width, and height set to auto 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 the article 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 the article to encompass the image as well?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups