236
Interactivity on the web
Web Design with HTML and CSS Digital Classroom
10
2 Scroll to the head section of your page and locate the ID style rule we created for you called
#Sl_content. Add the following code to defi ne the width and height of this div:
#Sl_content
{
position:absolute;
left:296px;
top:4px;
width:657px;
height:126px;
}
This code is absolutely positioning the Sl_content div inside the containing footer
div. Also, the width and the height of the div are the exact same pixel dimensions as the
Silverlight content (657 for width and 126 for height).
3 Choose File > Open and in the dialog box that appears, navigate to the
10_generatedSl.html document. This code was created by a Silverlight authoring
program called Expression Blend. In Code view, locate the
Interactivity on the web
Web Design with HTML and CSS Digital Classroom
10
2 Scroll to the head section of your page and locate the ID style rule we created for you called
#Sl_content. Add the following code to defi ne the width and height of this div:
#Sl_content
{
position:absolute;
left:296px;
top:4px;
width:657px;
height:126px;
}
This code is absolutely positioning the Sl_content div inside the containing footer
div. Also, the width and the height of the div are the exact same pixel dimensions as the
Silverlight content (657 for width and 126 for height).
3 Choose File > Open and in the dialog box that appears, navigate to the
10_generatedSl.html document. This code was created by a Silverlight authoring
program called Expression Blend. In Code view, locate the
