Does anyone know what went wrong with this CSS? ? ?
か瘾公子
か瘾公子 2019-02-10 19:42:45
0
5
1169

*{margin: 0px;padding: 0px;}
.header{width;100%;height:40px;background-color:#ccc;}Does anyone know where this CSS went wrong? ? ? Since there is no response

か瘾公子
か瘾公子

reply all(4)
粽叶飘香

Add a float and try. It may not be a block-level element. Also, width:100%; replace it with mine

韦小宝

Clear your browser’s cache and take a look

紫霞仙子我爱你

Do you have the class name .header

  • reply There is this category
    か瘾公子 author 2019-02-11 16:24:23
秋香姐家的小书童

.header{width;100%;height:40px;


Look carefully. Is there a colon or a semicolon after width? ? ? What should it be? 》? ? ? ?




  • reply It’s a colon, but it’s not right to change it to a colon in English.
    か瘾公子 author 2019-02-10 20:44:58
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template