0

I have tried all the things I could think of, but it will still not let me change the height/hight no matter how much I try, it will let me change the width though...

HTML (Home Page):

<iframe src="sidebar.php" width="20%" hight="800px"></iframe>

CSS (Home Page):

iframe {
    background-color: #222222;
    border: none;
    color: white;
    height: 100%;
}

There!

Cody
  • 11
  • 1
  • 4

2 Answers2

0

Try This

HTML

<iframe src="sidebar.php" ></iframe>

Css

iframe {
    background-color: #222222;
    border: none;
    color: white;
    height: 100%;
    width:100%;
}
Sumit patel
  • 3,807
  • 9
  • 34
  • 61
0

Syntax error of height , it should be height

<iframe src="http://www.w3schools.com" width="400" height="400">

http://codepen.io/nagasai/pen/grZkOd

Naga Sai A
  • 10,771
  • 1
  • 21
  • 40
  • There was a Syntax error, but that still wont modify the height! {could the reason be because I'm using 'Sublime Text'} – Cody Jul 22 '16 at 15:13