www.webdeveloper.com
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2008
    Location
    North Carolina
    Posts
    1

    Need help with html browser autofit

    I have an html file that was edited in imageready, so its all tables with one javascript. I am trying to have it autofit depending on the users browser. I simply inserted a width-"100%" and it worked on the tables but the images did not autofit with them.

    Does anyone have any ideas? Seems so simple but I can't find it. Sorry if I am repeating but I looked in the archives on here but the only ones i found like this were never answered.

    Thanks in advance for your help. (I will provided my code if needed)

  2. #2
    Join Date
    Sep 2008
    Location
    Mexico
    Posts
    786

    ouch!!! tables are for data!

    this may or may not work depending on how the tables are set up.....

    HTML Code:
         <img src="slice_x.jpg" alt="image"  width="100%" />   
    that way your image will expand to fit the table cell.

    your best option would be to write the page in html yourself....
    a lot less headaches and better results.

    tables are for data... not for design structure

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



Recent Articles