这是什么问题,大家给看看
学习VS2005,做了一个练习,代码如下:
<%@ 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 " lang= "gb2312 ">
<head>
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 " />
<title> </title>
<link href= "Systel.css " rel= "stylesheet " type= "text/css " />
</head>
<body>
<div id= "alldiv ">
<div id= "headdiv ">
<asp:Menu ID= "Menu1 " runat= "server " style= "left: 0px; position: relative; top: 39px " BackColor= "#F7F6F3 " DynamicHorizontalOffset= "2 " Font-Names= "Verdana " Font-Size= "0.8em " ForeColor= "#7C6F57 " Height= "18px " StaticSubMenuIndent= "10px " Width= "41px ">
<Items>
<asp:MenuItem Text= "首页 " Value= "首页 ">
<asp:MenuItem Text= "企业简介 " Value= "企业简介 "> </asp:MenuItem>
<asp:MenuItem Text= "组织机构 " Value= "组织机构 "> </asp:MenuItem>
</asp:MenuItem>
</Items>
<StaticMenuItemStyle HorizontalPadding= "5px " VerticalPadding= "2px " />
<DynamicHoverStyle BackColor= "#7C6F57 " ForeColor= "White " />
<DynamicMenuStyle BackColor= "#F7F6F3 " />
<StaticSelectedStyle BackColor= "#5D7B9D " />
<DynamicSelectedStyle BackColor= "#5D7B9D " />
<DynamicMenuItemStyle HorizontalPadding= "5px " VerticalPadding= "2px " />
<StaticHoverStyle BackColor= "#7C6F57 " ForeColor= "White