最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

求助:网页新增声明后,不知是否和冲突,导致导航条等处无法显示中文_html/css

来源:动视网 责编:小采 时间:2020-11-27 15:45:41
文档

求助:网页新增声明后,不知是否和冲突,导致导航条等处无法显示中文_html/css

求助:网页新增声明后,不知是否和冲突,导致导航条等处无法显示中文_html/css_WEB-ITnose:css jQuery 字体 html 用css定义好字体后, 导航条和; 等处能正常显示中文. 但在增加了jquery的声明后, 以上各处只能显示英文, 如换成中文,则什么也不显示(输出为空). 网页中其它地方中文可正常显示. 但jquery功能又是必需(网页的其它地方需要用到
推荐度:
导读求助:网页新增声明后,不知是否和冲突,导致导航条等处无法显示中文_html/css_WEB-ITnose:css jQuery 字体 html 用css定义好字体后, 导航条和; 等处能正常显示中文. 但在增加了jquery的声明后, 以上各处只能显示英文, 如换成中文,则什么也不显示(输出为空). 网页中其它地方中文可正常显示. 但jquery功能又是必需(网页的其它地方需要用到
 css jQuery 字体 html

用css定义好字体后, 导航条和

;

等处能正常显示中文. 但在增加了jquery的声明后,
以上各处只能显示英文, 如换成中文,则什么也不显示(输出为空). 网页中其它地方中文可正常显示. 但jquery功能又是必需(网页的其它地方需要用到),实在不知道为什么会产生这样的冲突,求解决办法,多谢!

部分html相关代码如下:
 
    
  • Home
  • Categories
  • Contact
  • shop

  • New Arrivals
  • On Sale
  • For Newborn (Birth+)
  • For Infant (6 Months+)
  • Toddler (12Months +)

  • ...... ......


    部分css相关代码如下:
     
    @charset "utf-8";/* CSS Document */ /*Template Layout*/body { background-color:#eeebda; background-image:url(../images/page-bg.jpg); background-position:top; background-repeat:repeat; margin:0px; padding:0px; color:#6f5b40; font-family:Arial, Helvetica, sans-serif, "微软雅黑"; font-size:13px; line-height:1.5em; text-align:center; }a, a:link, a:visited { color:#675237; outline: none; }a:hover { color:#af9d87; text-decoration:none;}#bg_top { background:url(../images/header.png) center top no-repeat; min-height: 100%; text-align:left; width:100%; margin-top:80px;}#wrapper { width:972px; margin:0px auto;}#header { height:222px; width:972px; margin:0px auto;}/*menu*/#menu { height:30px; padding:16px 0 6px 0; clear:both;}ul#navigation { margin:0px 0 0 30px; padding:0px; float:left; z-index:100; width:760px;}ul#navigation li { float:left; list-style:none; display:inline; padding:0px; margin:0px;}ul#navigation a { float:left; color:#675237; padding:0px 13px 20px 13px; text-decoration:none; font:24px arial, serif, "微软雅黑"; text-transform:lowercase; letter-spacing:1px; }ul#navigation li.hover a, ul#navigation li:hover a, ul#navigation a.active, ul#navigation a:hover { color:#8d7e6b; }/* General Content*/h1 { color:#af9d87; font-size:30px; margin:0px; padding:0px;}h2 { color:#675237; font-size:20px;}h3 { color:#675237; font-size:18px;}/*side menu tag*/#sidebar { margin-left:29px; float:left;}#menu_string { width:178px; height:22px; margin:-20px 0 0 0; z-index:101; /*makes dropdown sit on top of flash & map*/}#menu_wrapper { width:178px; background:url(../images/tag-tile.jpg) repeat-y; margin:0 0 18px 0;}#menu_header { width:178px; background:url(../images/tag-top.jpg) no-repeat top;}#menu_footer { width:178px; background:url(../images/tag-bottom.jpg) no-repeat bottom; min-height:265px; padding-bottom:40px;}#menu_wrapper h3 { text-align:center; margin:0; padding:20px 0 0 0; color:#ded6c5; font-size:24px;}#menu_wrapper ul { width:178px; padding:5px 0 0 0; margin:0; list-style:none; color:#846324; font-size:13px; font-family:Arial, Helvetica, sans-serif, "微软雅黑"; text-align:center;}#menu_wrapper ul li { margin:0; padding:0; list-style:none; float:left; clear:left;}#menu_wrapper ul li a { display:block; float:left; clear:left; padding:4px; text-decoration:none; width:170px;/*178*/ text-align:center; color:#846324; line-height:normal;}#menu_wrapper ul li a:hover { text-decoration:underline;}......


    回复讨论(解决方案)

    JQuery 声明是指

    ?

    乱码了我都是直接新建文件,然后copy现成的进去。

    JQuery 声明是指

    ?

    乱码了我都是直接新建文件,然后copy现成的进去。


    对不起不是乱码了, 是只能显示英文,不能显示中文

    文档

    求助:网页新增声明后,不知是否和冲突,导致导航条等处无法显示中文_html/css

    求助:网页新增声明后,不知是否和冲突,导致导航条等处无法显示中文_html/css_WEB-ITnose:css jQuery 字体 html 用css定义好字体后, 导航条和; 等处能正常显示中文. 但在增加了jquery的声明后, 以上各处只能显示英文, 如换成中文,则什么也不显示(输出为空). 网页中其它地方中文可正常显示. 但jquery功能又是必需(网页的其它地方需要用到
    推荐度:
    标签: 显示 中文 页面
    • 热门焦点

    最新推荐

    猜你喜欢

    热门推荐

    专题
    Top