Page 91 - 2633 Trackpad Pro V5.1 Class 7
P. 91
<HEAD>
<TITLE> iframes Example </TITLE>
<STYLE>
Body {Background-Color:Blue}
</STYLE>
</HEAD>
<BODY>
<H1 STYLE = "text-align:center"> Example of double spread containing
inline frames </H1>
<iframe src = "Frame1.html" Style="Height:200px;Width:200px;" Title =
"iframe Example"> </iframe>
<iframe src = "Frame2.html" Style="Height:200px;Width:200px;" Title =
"iframe Example"> </iframe>
</BODY>
</HTML>
The web browser displays the inline frames.
BORDER PROPERTY
We can display frames with or without borders by applying the CSS property – Border.
Border properties can be applied in the following ways:
border-width:value
Where value = thin, thick, medium, or numeric values specified in pixels.
border-style:value
Where value can be specified as none, hidden, dotted, dashed, solid, double, groove, ridge,
inset, or outset.
border-color: value
Where value can be specified as the name of the colours or in hexadecimal code.
Styling Elements using CSS 89

