0

I have an issue when I change the size of the frame frame gets bigger but not the content. I need to fit the content inside the Iframe to the frame.

My css is:

#IDNAME { 
  -moz-transform: scale(0.90, 0.90); 
  -moz-transform-origin: 
  top left; 
}

enter image description here

Dejan.S
  • 18,571
  • 22
  • 69
  • 112
YJG
  • 123
  • 2
  • 12
  • my code is, – YJG Nov 16 '16 at 06:44

1 Answers1

1

You need to explicitly define the width and height of the iframe in order for it to scale the content. Also see this.

#IDNAME { 
  -moz-transform: scale(0.90, 0.90); 
  -moz-transform-origin: 
  top left; 
  width: 1024px;
  height: 576px;
}
Community
  • 1
  • 1
Kevin Doveton
  • 396
  • 3
  • 8