How to automatically size the images at screen resolution?

Hello

I need a little help, automatically reducing image resolution of viewers.

I did it with a table and it works fine:

< table width = "100%" border = "0" >

< b >

< td align = "center" bgcolor = "#66CCFF" > < h1 style = "do-size: 30px;" text-align: center; "> < em > Table Title < /em > < / h1 > < table >

< /tr >

< /table >

But I have no idea how do to the image.

When I use the normal display mode the picture looks fine, but when I go into mobile view it sticks out of the page, while the table has a proper resolution.

How can I fix it?

Do not use table layouts.  They are completely ill-suited to modern web design and in particular, responsive web design.

Use CSS layouts with widths of division in %.

Example:

CSS code:

Body {width: 100% ;}}

IMG {max-width: 100 %}}

HTML code:

http://placehold.it/500x350">

Preview in browser & resize your window to see what is happening in the image.

Nancy O.

Tags: Dreamweaver

Similar Questions

Maybe you are looking for

  • Satellite A200 - 1 M 5: strange noise from NECK or HARD drive FAN

    I have a brand new A200 - 1 M 5 has bought 10 days ago and 4 days ago one began to hear a strange noise from the fan or the cpu or perhaps hhd I don't know! When windows stars I continued fan power. I mean like vooom, solid with air coming out.Or not

  • "Firefox must be restarted to install add-ons", but restarting does nothing

    On the modules screen, it says "Restart Firefox to complete your changes", so I click on restart, but when the browser restarts it always says the same thing. No new modules can be installed or updated, or even removed because he keeps asking to be r

  • How to organize and share large libraries?

    Hello world My question today, how do you organize and especially big part, I mean very large libraries? I have a few challenges here, especially since I also want to share my photos, videos with others. At the moment, I have several libraries, all l

  • Calendar month view

    Have not found a way to do it, but if there has made me know. In day and week view, you can swipe left or right to decrease or increase the day or the week. I can't seem to do this in months to go next month, is this possible?

  • HP 15-h005ed

    How can I get the hard drive from the laptop, so I can first recover the data before sending it to HP? I just want to ask, before that I try. Thanks in advance, Kind regards Miranda