Software Development
Web Development
ND.gov Banner Installation: XHTML Compliant Version
For Sites That Utilize An External Style Sheet
[Please note: In the following code, the "0" character is the numeric zero]
The following needs to be installed in your external CSS document:
body {
background-color : #ffffff;
color : #000000;
margin : 0px 0px 0px 0px;
}
Also, in order for the DiscoverND banner background to show correctly in Netscape 6, it is necessary to incorporate a special class that installs the background. Add the following code after the 'body' code shown above:
.table0 {
background-image: url("http://includes.state.nd.us/images/banner_bkg.gif")
}
Then, the following needs to be inserted immediately after your HTML document's body tag:
<!-- state portal banner -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" summary="ND State portal banner">
<tr>
<td width="100%" class="table0" valign="top"><a href="http://nd.gov"><img src="http://includes.state.nd.us/images/discover_banner.gif" width="580" height="25" border="0" alt="Go to nd.gov, the official site for North Dakota State Government programs and services." /></a></td></tr></table>
Your document's body tag should be empty if you are using this XHTML compliant CSS version of the state banner (<body>).
|