[RESOLVED] [2005] Size of page and background color
Sorry for asking so many silly noobie type questions...
But I have this:
Code:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>School Ruler</title>
</head>
<body>
<form id="form1" runat="server">
<div style="background-color: #d5ddee">
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="http://localhost/POCImagesFromDB/ShowImage.aspx?imageid=222"
Width="98px">Show Students</asp:HyperLink> </div>
</form>
</body>
</html>
Note the BACKGROUND-COLOR setting.
It's only coloring the one line of the site that the hyperlink is on. I want the whole page to be that color.
How do you do that?
Re: [2005] Size of page and background color
The background color in that sample would only apply to the <div> that you have the color specified in. You could try this
Code:
<body style="background-color: #d5ddee">
<form id="form1" runat="server">
<div>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="http://localhost/POCImagesFromDB/ShowImage.aspx?imageid=222"
Width="98px">Show Students</asp:HyperLink> </div>
</form>
</body>
Re: [2005] Size of page and background color