Link to home
Start Free TrialLog in
Avatar of yarekGmail
yarekGmail

asked on

HTML DOCTYPE and IFRAME width

Hello
My iFrame is 100% width and 100% height

It works normally except where I have
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 

it shows only a small quarter of the iframe !

My question is :
How to have 100% 100% and KEEP <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">  ?

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html>
<head>
<title>Dialogoo free video webcam video chat for your website</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style></head>
<body bgcolor="#FFFFFF" text="#000000">
<iframe src="http://www.dialogoo.com/vdialogoo.php?id=2" width="100%" height="100%" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" ></iframe>
</body>
</html>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Morcalavin
Morcalavin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can try
body {
        margin-left: 0px;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
      height: auto;
}