troubleshooting Question

Scaling an embeded image.

Avatar of soozh
soozhFlag for Sweden asked on
CSSHTML
4 Comments1 Solution227 ViewsLast Modified:
My knowledge of html and CSS is very limited so hopefully i can ask the question and you will understand.

I have attached an image that shows the html/css so hopefully you will have a clearer picture.

I have developed an application that displays a page of a document in a frame.   Until now this has been a pdf, and the page has been scales to fit its container - the frame.

But now i am rendering a png from the document server and i have found that it is not being scaled.   By usings IE's developer tools i can see that i can add "max-height:100%" as an attribute and the image scales correctly.

How can i add that attribute to the html?  Can it been added by the document server when it renders the png .i.e. can i add something that intructs the browers to display it a 100% the size of the window?  Or must i use some CSS, or what?

The problem...
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros