Ƥ·ôµÄÓ÷¨ (asp.net C#)
¿´ÁËÒ»ÏÂvisual web developer
ÖÐ×Ô´øµÄ¸öÈËÕ¾µã£¬·¢ÏÖ
aspnet2.0
ÀïÃæµÄºÜ¶à¼¼ÊõʹÓÃÆðÀ´È·ÊµºÜÓÅÑÅ£¬±È½ÏµäÐ͵ÄÓÐ
login
¿Ø¼þºÍÓû§ÏµÍ³¡¢
MasterPage
¡¢Ö÷ÌâºÍƤ·ô¡¢
SiteMap
µÈµÈ¡£ÕâЩÌØÐÔ£¬ÉõÖÁ²»ÐèÒª½Ì³Ì¾Í¿ÉÒԺܿìÉÏÊÖ¡£±¾ÎÄÒª½éÉܵÄÊÇÖ÷ÌâºÍƤ·ôµÄÓ¦Óá£
(Ò»)
ÈçºÎʹÓÃ
1£©
ÔÚÄãµÄÓ¦ÓÃÀïÃæÌí¼Ó
App_Themes
Îļþ¼Ð
2£©
½«Ö÷ÌâÏà¹ØµÄÎļþ£¨°üÀ¨
.css,
¡¢
.skin
Îļþ¡¢ÆäËû×ÊÔ´Îļþ°üÀ¨Í¼Æ¬¡¢
Flash
µÈ£©×éÖ¯µ½Ò»¸öÒÔÖ÷ÌâÃûÃüÃûµÄÎļþ¼ÐÖУ¬½«Ö÷ÌâÎļþ¼Ð·ÅÓÚ
App_Themes
Ŀ¼¡£Èç¹ûÓжà¸öÖ÷Ì⣬Öظ´ÉÏÊö²½Öè¡£
Example
£º
Css
Îļþ£¨
x.css
£©
Skin
Îļþ
(x.skin)
.column
{
}
{
background-image
:
url(images/content-shim.gif)
;
}
.gradient
{
}
{
background-image
:
url(images/content-shim-photo.gif)
;
}
.solid
{
}
{
background-image
:
url(images/content-shim-none.gif)
;
}
.header
{
}
{
background-image
:
url(Images/header.gif)
;
background-repeat
:
no-repeat
;
position
:
relative
;
width
:
789px
;
height
:
76px
;
margin
:
0 auto 5px auto
;
}
<
asp:imagebutton
runat
="server"
Imageurl
="Images/button-login.gif"
skinid
="login"
/>
<
asp:image
runat
="server"
Imageurl
="Images/button-create.gif"
skinid
="create"
/>
<
asp:image
runat
="server"
ImageUrl
="Images/button-download.gif"
skinid
="download"
/>
ÀíÂÛÉÏÉÏÀ´Ëµ£¬²»Í¬µÄÖ÷ÌâÖеÄÑùʽ±íºÍ
SKIN
ÎļþµÄ½á¹¹¶¼Ó¦¸ÃÊÇÍêÈ«ÏàͬµÄ¡£
3£©
ÉèÖÃÄãÒªÓ¦ÓÃÖ÷ÌâµÄ¿Ø¼þµÄ
css
ÑùʽÃûΪ
css
Öж¨ÒåµÄÑùʽÃû£¨±ÈÈç
column
¡¢gradient
£©
ÉèÖÃÄãÒªÓ¦ÓÃÖ÷ÌâµÄ·þÎñÆ÷¿Ø¼þµÄ
SkinId
Ϊ
Skin
ÎļþÖж¨ÒåµÄ
skinid
£¨±ÈÈç
login
¡¢create
µÈ£©£¬Õâ
Ïà¹ØÎĵµ£º
Button±»µã»÷ºódisableµô¸ÃÒ³ÃæÖÐËùÓеÄButton£¬´Ó¶ø·ÀÖ¹Ìá½»ÑÓʱµ¼ÖµĶà´ÎÌá½»¡£»ùÓÚ֮ǰµÄonceclickbutton½Å±¾.
//ASP.NETÖзÀÖ¹Ò³Ãæ¶à´ÎÌá½»µÄ´úÂë:javascript< script language="javascript"> < !-- function disableOtherSubmit() {
var obj = event.srcElement;
var objs = document.getElement ......
¸Õ¿´µ½ÁËһƬÎÄÕ http://dotnet.csdn.net/page/a92a1213-9896-49c7-9c89-14ae5f0d87ae Ìáµ½Èçϼ¸µã:
1. Êý¾Ý¿âÁ¬½Ó³¬Ê±
2. ´´½¨µÄ¶ÔÏóÖ»¹ÜÓ㬲»¹ÜÊÍ·Å
3. µ÷ÊÔ(Debug)ģʽϱàÒëºó£¬¾ÍÓÃÓÚÓ¦Óû·¾³ÖÐÁË
4. ʵ¼Ê×÷ҵģʽ·ÖÏí
1,2,3±È½ÏºÃÀí½â£¬ÎÒÔÚ×öµÄʱºò·¸ÁËËû˵µÄ µÚÈýÖÖ´íÎó£¬ÖÁ ......
Label Web ·þÎñÆ÷¿Ø¼þ¿ÉÈÃÄúÒÔ±à³Ì·½Ê½ÉèÖà ASP.NET ÍøÒ³ÖеÄÎı¾¡£
Ò»¡¢·½°¸
ͨ³£µ±Ï£ÍûÔÚÔËÐÐʱ¸ü¸ÄÒ³ÃæÖеÄÎı¾£¨±ÈÈçÏìÓ¦°´Å¥µ¥»÷£©Ê±Ê¹Óà Label ¿Ø¼þ¡£
¶þ¡¢¹¦ÄÜ
Äú¿ÉÒÔÔÚÉè¼Æʱ£¬»òÕßÔÚÔËÐÐʱ´Ó³ÌÐòÖÐÉèÖà Label ¿Ø¼þµÄÎı¾¡£»¹¿ÉÒÔ½« Label ¿Ø¼þµÄ Text ÊôÐÔ° ......
ÔµØÖ·£ºhttp://blogs.msdn.com/giorgio/archive/2009/02/01/asp-net-menu-and-ie8-rendering-white-issue.aspx
ASP.NET Menu and IE8 rendering white issue
If you are using the ASP.NET Menu control, you might encounter under certain circumstances an issue where the menu appears as a white box in IE8 Stan ......