Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

asp.net wap 2.0 ʵÏÖ ishtml32 Ï ¼ÓÔØ cssÎļþ

ʹÓÃasp.net ¿ª·¢wap ÍøÕ¾£¬ÔÚishtml32Ï£¬Èç¹ûÊÖ»úä¯ÀÀÆ÷Ö§³Öishtml32,µ«ÊÇ SupportsCss=False ʱ£¬Ïë¼ÓÔØcssÎļþʱ£¬²ÉÓÃÖØÐ´mobile:formµÄ·½·¨À´ÊµÏÖ
using System;
using System.Configuration;
using System.Web.UI.MobileControls;
using System.Web.UI.MobileControls.Adapters;
public class MyForm : Form
{
     public string CssPath
    {
        get
        {
            if( ViewState["CssPath"] != null)
                return (string)ViewState["CssPath"];
            else
                return string.Empty;
        }
        set
        {
             ViewState["CssPath"] = value;
        }
    }
}
//Now Create the Form Adapter
public class HtmlMyFormAdapter : HtmlFormAdapter
{
    protected new MyForm Control
    {
        get
        {
             return (MyForm)base.Control;
         }
    }
    protected override bool RenderExtraHeadElements( HtmlMobileTextWriter writer )
    {
        if( writer != null )
        {
             if( this.Control.CssPath.Length > 0 )
  &n


Ïà¹ØÎĵµ£º

CSS±àÂëÎÊÌâµ¼ÖÂCSSÔÚIE6ÏÂʧЧ²»Æð×÷Óýâ¾ö°ì·¨

ÎÊÌâÃèÊö£ºCSSµÄ±àÂë²»¶ÔµÄʱºò£¬CSSЧ¹ûÔÚIE8¡¢IE7¡¢FirefoxÏ¿ÉÒÔÕý³£ÏÔʾ£¬µ«ÊÇÔÚIE6Ï»áʹCSSʧЧ£¬²»Æð×÷Óá£
Çé¿ö·ÖÎö£º½ñÌì×öÒ»¸öÍøÕ¾µÄʱºòÅöµ½Õâ¸öÎÊÌ⣬¸ãÁ˰ëËÞûÓÐÕÒµ½ÎÊÌâËùÔÚ£¬×ÅʵÈÃÎÒÓôÃÆÁ˺ÃÒ»»á£¬ºóÀ´ÉÏGoogleºÍ°Ù¶ÈÁËһϣ¬ÕÒµ½ÁËÎÊÌâËùÔÚ£¬CSSÎļþµÄ±àÂë²»ÕýÈ·£¬ÍøÒ³²ÉÓõÄÊÇutf-8±àÂëµÄ£¬¶øCSSÊÇʹÓà ......

div+cssʵÏÖÒ³Ãæ¾Ö²¿´òÓ¡

CSSʵÏÖ¾Ö²¿´òÓ¡
¹Ø¼ü×Ö: cssʵÏÖ¾Ö²¿´òÓ¡
        ÔÚʵÏÖ´òÓ¡Ô¤ÀÀµÄʱºò£¬¿ÉÒÔ²ÉÓÃJSÀ´Íê³ÉÕâÒ»¹¦ÄÜ£¬µ«ÕâÑù»áÈÃËùÓÐÔÚÒ³ÃæÉϵIJ¿·Ö¶¼´ðÓ¦³öÀ´£¬°üÀ¨Ïñ“´òÓ¡Ô¤ÀÀ”ÕâÑùµÄ°´Å¥Ò²»á´òÓ¡£¬ÕâÑùµÄÇé¿ö£¬¿ÉÒÔ²ÉÓÃCSSÀ´Íê³É¾Ö²¿´ðÓ¦µÄ¹¦ÄÜ¡£
     & ......

jQueryµ÷ÓÃAsp.net AjaxÒ³ÃæÖеķ½·¨

Ô­À´ÓÃjQueryµÄajax·½Ê½µ÷ÓÃasp.netÒ³Ãæ»ù±¾¶¼Êǵ÷Óõ¥¸öÒ³Ãæ£¬Óɵ÷ÓÃÒ³ÃæResponseÄÚÈÝ£¬¶øÏÖÔÚ²ÉÓÃasp.net ajaxºó£¬ÎÒÃÇÔò¿ÉÒÔ¸üÍêÃÀµÄʹÓÃjQueryºÍasp.net½áºÏÁË£¬´úÂëÈçÏ£º
 
<asp:ScriptManager ID="ScriptManager1" runat="server" >
<Scripts>
<asp:ScriptReference Path="http ......

Ò»¸ö²»´íµÄinputÊäÈë¿òµÄCSSÉè¼Æ

.inputbox {
        padding-left: 2px;
        border-top: 1px solid #9AA587;
        border-right: 1px solid #DDDDDD;
        border-bottom: 1px solid #DDDDDD;
        border-left: 1px solid #9A ......

ʹÓÃ×Ô¶¨ÒåÕ¾µãµØÍ¼Ìṩ³ÌÐò¿ØÖÆASP.NETµÄ²Ëµ¥

         ASP.NETÌṩµÄÕ¾µãµØÍ¼ÎªÎÒÃǽ¨Á¢µ¼º½À¸ºÍ²Ëµ¥ÌṩÁ˼«´óµÄ·½±ã¡£´ËÍâÎÒÃÇ»¹¿ÉÒÔ½¨Á¢×Ô¼ºµÄÕ¾µãµØÍ¼Ìṩ³ÌÐò£¬´Ó¶øÊ¹ÎÒÃǵIJ˵¥Ïî¿É¿Ø¡£
 
    ÏÈÀ´Á˽âÏÂmenuµÈµ¼º½¿Ø¼þÓëÕ¾µãµØÍ¼µÄ¹ØÏµ¡£ÎÒÃÇÔÚASP .NETÏîÄ¿ÖÐËù½¨Á¢µÄweb.siteMap Æäʵ¾ÍÊÇÒ»¸ö× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ