Home> Web design tutorial
All Dreamweaver tutorial Javascript tutorial HTML tutorial CSS tutorial Experience and skills DHTML tutorial Web effects WEB standardization
Web design tutorial
  • Let’s talk about the Fixed positioning of IE6

    Let’s talk about the Fixed positioning of IE6

    Put everything in a container with a height of 100% and the scroll bar is set to automatic, and then set an absolutely positioned layer below so that the absolutely positioned layer can reach a static state. Principle: The scrollbar you drag is not the en
    2025-02-06
  • How to get the length of the Chinese and English mixed string in JavaScript

    How to get the length of the Chinese and English mixed string in JavaScript

    Some colleagues posted a post on the company's OA to introduce how to get the length of the Chinese -English mixed string in JavaScript. The regular expression is used. Copy code code as follows: Var Str = "Tank is a transliteration of TANK"
    2025-02-06
  • Summary of some methods to optimize the execution efficiency of javascript

    Summary of some methods to optimize the execution efficiency of javascript

    1. When concatenating strings in lower version browsers (such as IE6, IE7, etc.), using the join method of the array is much more efficient than using the + sign to connect (such as ['aaa', 'bbb', 'ccc'].join () more efficient than
    2025-02-06
  • Simple progress bar for CSS

    Simple progress bar for CSS

    <style> #graphbox{ border:1px solid #e7e7e7; padding:10px; width:250px;
    2025-02-06
  • A simple example of JS judging text box content change event

    A simple example of JS judging text box content change event

    Usage of oninput, onpropertychange, onchange The onchange trigger event must meet two conditions: a) The properties of the current object change and are triggered by keyboard or mouse events (script triggering is invalid) b) The current object loses focus
    2025-02-06
  • HTML5 WebSockets basic usage tutorial

    HTML5 WebSockets basic usage tutorial

    A cool new feature in HTML5 is WebSockets, which allows us to talk to the server without AJAX requests. Today, BinGo will allow everyone to run WebSocket through the server side of the Php environment, create clients, and send and receive server-side info
    2025-02-06
  • For details, use HTML5 Canvas to create a dynamic particle grid animation

    For details, use HTML5 Canvas to create a dynamic particle grid animation

    Recently, I saw a particle grid animation very dazzling, and I made one, and it was pretty good as the background. CSDN cannot upload more than 2m pictures, so it is simply cut off a static picture: let ’s start to say how to achieve this effect: first of
    2025-02-06
  • Solve the problem of scaling of HTML5 mobile phone page

    Solve the problem of scaling of HTML5 mobile phone page

    When writing the HTML5 mobile phone page, we will find that the proportion of the elements displayed on the page is incorrect. What we need to add at this time is:<meta name=viewport content=width=device-width,initial-scale=1> Either
    2025-02-06
  • Complete guide to web design fonts on page layout

    Complete guide to web design fonts on page layout

    We designs deal with fonts every day. But we have never seriously cared about their existence. We haven't used them well or even abused them. It's all because we don't know them. Fonts are one of the important elements of typesetting; they are
    2025-02-06
  • Five superposition rules for layered superposition

    Five superposition rules for layered superposition

    Many students are confused about why this div is in the upper layer and that div is in the lower layer, and no matter how they set the z-index, they are crazy, vomiting and diarrhea, nausea and insomnia, and depression, which makes them afraid to use the
    2025-02-06
  • HTML5 Create a web post-it

    HTML5 Create a web post-it

    In this article I will look at 2 new features on HTML5: contenteditable and localStorage. After I read the HTML5 and W3C specification descriptions, I couldn't wait to write examples on this same program to demonstrate these new features.
    2025-02-06
  • Ten classic front-end HTML5 interview questions you may not be proficient in

    Ten classic front-end HTML5 interview questions you may not be proficient in

    Preface Since the past few years, HTML5 has become popular, and HTML5 development engineers have become very popular in the talent market. As an HTML5 developer, interviews are essential. This article summarizes and introduces ten classic front-end HTML5
    2025-02-06
  • Eight useful SQL statements for WordPress

    Eight useful SQL statements for WordPress

    MySQL has become a popular database in the past decade, and WordPress blogs use MySQL database. Although using plug-ins can solve some problems, executing SQL statements in phpMyAdmin is the most important thing to do when implementing certain special tas
    2025-02-06
  • About the details of the table unit of HTML (2)

    About the details of the table unit of HTML (2)

    HTML Input Properties Value Properties Value Properties specify the initial value of the input field:<form action=><input type=text name=name value=VeVb武林网></form> readonly attribute Readon
    2025-02-06
  • A good example about js memory leak

    A good example about js memory leak

    I changed someone else's example and I think it's more compact like this! To paraphrase other people's words, when a DOM object contains a reference to a Js object (such as an Event Handler), and this Js object holds a reference to the DOM obj
    2025-02-06