Web Analytics Made Easy -
StatCounter Image Width - CodingForum

Announcement

Collapse
No announcement yet.

Image Width

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Image Width

    I have an image in a table; the images are kind of a border for the content in the middle of the table. I'm currently using width="100%" for the bottom image (the width and height of the table can vary as it will be used for multiple different areas).

    So the question is: How do I get a different image to automatically expand to the height of the cell it's in? I've tried height="100%", height="auto", etc... but none have worked properly.

    Thanks in advance for any assistance.

  • #2
    You will probably need to set the images as background images.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

    Comment


    • #3
      Thanks. I used background even though it isn't compliant...How difficult would it be convert it to CSS?

      Comment


      • #4
        http://www.w3schools.com/css/css_background.asp
        Searching for an answer saves time. Do some CSS tutorials. The question you just asked was pretty basic. www.htmldog.com has some good stuff.
        ||||If you are getting paid to do a job, don't ask for help on it!||||

        Comment

        Working...
        X