Home > Web Front-end > HTML Tutorial > bootstrap-datetimepicker has no icon, what's going on_html/css_WEB-ITnose

bootstrap-datetimepicker has no icon, what's going on_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:53:54
Original
1659 people have browsed it

I used asp.net web form and followed the code on the Internet to write it once. Why do others have "left and right" arrows, but mine don't?
My code is as follows:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="DateTimePickerTest4.WebForm1" %><!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></title>    <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">    <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap-theme.min.css">    <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>    <script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>    <link href="css/bootstrap-datetimepicker.css" rel="stylesheet" type="text/css" />    <script src="js/bootstrap-datetimepicker.min.js" type="text/javascript"></script>    <script src="js/bootstrap-datetimepicker.zh-CN.js" type="text/javascript"></script>    <script type="text/javascript">        $(document).ready(function () {            $("#a").datetimepicker({                language: 'zh-CN',                weekStart: 1,                todayBtn: 1,                autoclose: 1,                todayHighlight: 1,                startView: 2,                minView: 2,                forceParse: 0            });        })//end documnet.ready        </script></head><body>    <form id="form1" runat="server">    <div>        <input id='a' name='a' type="text"  data-date-format="yyyy-MM-dd" />    </div>    </form></body></html>
Copy after login



The screenshot is like this:


Why is there no arrow? ?

This is what people see online


I just learned front-end programming. Is there some css that I didn’t add? ? ?
Solve. . . . .


Reply to discussion (solution)

Your style file is not imported

bootstrap.min.css

Is there an error that the current month is November and the active one is September?

bootstrap.min.css



I have quoted it but there is still no icon

Is there an error that the current month is November and the active month is September?



No error is reported, I can’t find the reason

Did you just copy bootstrap? .css .js

There is also a less file in it, but you didn’t take the test.

Just try downloading the complete bootstrap

The one in front of me The problem is after you solve this problem~~ See if there is that problem

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template