There seems to be a padding around the inside of an webHTMLViewer control that is causing me some grief. I want to display some text, however, it won’t display at the top of the control, but about 5-10 pixels below the top of the control. Any ideas for how I can get around this and write the text starting at the top left corner, rather than with the padding? My code is:
[code]
HtmlOutput = “
” + Left(rs.Field(“ClassName”).StringValue, ContentMaxWidth) + “
”
HtmlOutput = HtmlOutput + Left(rs.Field(“StaffName”).StringValue,ContentMaxWidth) + “
”
HtmlOutput = HtmlOutput + “(” + rs.Field(“AttendeeCount”).StringValue + ") " + Left(rs.Field(“SchoolName”).StringValue,ContentMaxWidth-5) + “
”
HtmlOutput = HtmlOutput + Left(rs.Field(“ScheduleNotes”).StringValue,ContentMaxWidth) + “
””
HtmlOutput = HtmlOutput + Left(rs.Field(“StaffName”).StringValue,ContentMaxWidth) + “
”
HtmlOutput = HtmlOutput + “(” + rs.Field(“AttendeeCount”).StringValue + ") " + Left(rs.Field(“SchoolName”).StringValue,ContentMaxWidth-5) + “
”
HtmlOutput = HtmlOutput + Left(rs.Field(“ScheduleNotes”).StringValue,ContentMaxWidth) + “
rContent.htmlContent.LoadPage(HtmlOutput)
[/code]