Prev: How to use RELATIVE (!) paths to other html pages and pictures?
Next: Multiple Styles, Same <p>
From: Steve Pugh on 21 Jan 2010 07:38 I have the following html and css source. When I load this into a browser (IntExp 7) then the <iframe> appears BELOW the "sample text" lines: Why? I would like to start the <iframe> exactly 210 pixels right of the left and 0px below the top border of the browser window (as given in the CSS). It seems to me that the <iframe> is ALWAYS placed below the previous text. Why? Steve From test.css: IFRAME { margin-left: 210px; margin-top: 0px } web page: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head> <LINK href="test.css" type="text/css" rel=stylesheet> </head> <body> Sample text1<P> sample text2<P> sample Text3<P> <iframe src="old.html" width="100%" height="100%" name="content"> Your browser does not support iframes </iframe> </body> </html>
|
Pages: 1 Prev: How to use RELATIVE (!) paths to other html pages and pictures? Next: Multiple Styles, Same <p> |