Content Supported by Sourcelens Consulting

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type><TITLE>This is a demonstration of the layout properties associated with elements in the HTML page</TITLE>
<STYLE type=text/css>P {
	FONT-FAMILY: verdana, arial, sanserif
}
H2 {
	FONT-FAMILY: verdana, arial, sanserif
}
DIV {
	BORDER-BOTTOM: solid; BORDER-LEFT: solid; BORDER-RIGHT: solid; BORDER-TOP: solid; MARGIN: 10px; PADDING-BOTTOM: 10px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 10px
}
.buttons {
	FONT-FAMILY: Verdana
}
.instructions {
	FONT-WEIGHT: bold
}
</STYLE>

<META content='"MSHTML 4.72.3110.2"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffe0>
<H2>Dynamically Change Layout Elements</H2>
<P>&nbsp;</P>
<DIV id=changeme>
<P>This sample demonstrates how you can change the layout 
properties associated with HTML elements using Visual Basic code.</P>
<P>In an HTML page, every element can have padding, 
borders, and a margin. </P>
<P>To change these settings for this panel, <SPAN 
class=instructions>enter numbers in the fields below, then 
press ENTER</SPAN>.</P>
<P>Margins:&nbsp;&nbsp; 
<INPUT class=buttons id=txtMargin name=TextField1 
style="HEIGHT: 22px; WIDTH: 147px" value=10></P>
<P>Border:&nbsp;&nbsp;&nbsp; 
<INPUT class=buttons id=txtBorder name=TextField2 value=3></P>
<P>Padding:&nbsp; 
<INPUT class=buttons id=txtPadding name=TextField3 value=10></P>
<P>&nbsp;</P>
<FORM action=--WEBBOT-SELF-- method=post>
<P>&nbsp;</P></FORM></DIV></BODY></HTML>