/    Sign up×
Community /Pin to ProfileBookmark

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)

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@opifexSep 30.2008 — this may or may not work depending on how the tables are set up.....

[code=html]
<img src="slice_x.jpg" alt="image" width="100%" />

[/code]


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.

[B][I]tables are for data... not for design structure[/I][/B]
×

Success!

Help @Mishiwinks spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...