html - Iframe fit to screen -


i trying integrate my blog website via iframe. however, using method have give height , width in pixels. want blog fit screen, though. there way this?

edit: answer below suggests change css. do "width" , "height" variables in html? here full html code of page.

<!doctype html>  <html>    <head>  	<link rel="stylesheet" type="text/css" href="css/style.css" />  	<title>shiloh janowick's blog!</title>  	<link rel="shortcut icon" href="pics/favicon.ico" type="image/x-icon">  	<meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />  	<meta http-equiv="pragma" content="no-cache" />  	<meta http-equiv="expires" content="0" />  </head>    <body>    	<iframe width="" height="" src="http://shilohgameblog.wordpress.com" frameborder="0" allowfullscreen></iframe>    </body>    </html>

i left width , height unspecified because have no idea put in them afterwards.

yes, full screen use code on css:

html, body, div, object, iframe, fieldset {  margin: 0;  padding: 0;  border: 0; 

}

edit: including on css @ end html code has this:

<iframe src="http://shilohgameblog.wordpress.com"></iframe> 

you need take off else on html code because put on css


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -