Tag : html5

The structure is as follows: html: <div> <input text /> <input submit /> </div> css: div { margin-left: 22px; } input { float: left; } textThere is one on the left.22pxThe gap between, exactly equal todivThemargin-left.Look at IE’s layout panel.textThere is aoffset leftYes22px.Please consult, thisoffsetHow did you get here? How to eliminate it? Did you ..

Read more

http://codepen.io/hoythan/pen … I often need to make a fixed-width web page and have a banner (100%) with a background picture or color. However, if it is smaller than the fixed width, dragging the browser scroll bar will cause the problem that the background color cannot fill in the past. Click the top address preview button, ..

Read more

< h4 > vertical header: < /h4 > <table border=”1″> <tr> < th > name < /th > <td>Bill Gates</td> </tr> <tr> < th > phone < /th > <td>555 77 854</td> </tr> <tr> < th > phone < /th > <td>555 77 855555 77 855555 77 855555 77 855555 77 855555 77 855555 77 ..

Read more

For example, there is a js-controlled button that increases the child div height by 50px every time it is clicked. I want the parent element to automatically increase 50px too. Is there any way to do this? <! DOCTYPE html> <html> <head> <title></title> <style type=”text/css”> #div1{width: 200px; height: 200px; background-color: blue; } #div2{width: 100px; height: ..

Read more

On <! After declaring HTML5 documents in DOCTYPE >, the following is true <! DOCTYPE HTML> <html> <body> <ul> <li>Username:<big>Bill</big> </ul> </body> </html> Why does the browser still display the big effect When the following statement is HTML, it definitely shows big effect and has been tested <! DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN” “http://www.w3.org/TR/html4/strict.dtd” ..

Read more

Seeing a good woff font, I want to transfer it to ttf and put it into win7, but I can’t find the tool conversion. Generally, ttf transfers to woff, and I find an everythingfonts, which is limited in size and can’t be opened. Several tools were found on github and the conversion was unsuccessful. . ..

Read more