摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>chouti</title></head><style> * body{ margin:0; padding: 0; } .head-box{ background 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>position_relative</title> <style> .div1{ background-color: #2eb1fc; width:100px; h 阅读全文
摘要:
处理多出来的div2--去掉div2父标签的边框 <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>position_absolute</title> <style> .div1{ background-color 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>position_absolute</title> <style> .div1{ background-color: #2eb1fc; width:100px; h 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>position_ example</title> <style> .div1{ height:1500px; background-color:green; } 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>float</title> <style> .outer{ background-color:blue; overflow:hidden; /*不用添加div,添加 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>float</title> <style> .outer{ background-color:blue; } .me1{ width: 100px; height: 阅读全文
摘要:
块级标签:<div><p><h1-h6><ul><ol><dl> 1.一个块级标签占一行 2.可以通过css设置其行高 内联标签:<a><imag><input><span><select><textarea> 宽度取决于文本的宽度 正常文档流:将元素(标签)在进行排版布局的时候按着从上到下 从左到 阅读全文