Home > Web Front-end > HTML Tutorial > Ask about padding in CSS_html/css_WEB-ITnose

Ask about padding in CSS_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:41:41
Original
1675 people have browsed it

I am practicing CSS background settings. There are two

styles in the following code. The inner margin is set to 32px in the paragraph style with the class name akon, but the display effect is the same as the first


Reply to the discussion (solved Solution)

I wrote a demo myself, but it does not have the situation you mentioned.
You should post the code instead of taking a screenshot

Or you can use F12 to see if the

element has the proposed padding style

Thank you zyb112211 for your reply. The problem was found. It was the colon after padding. Just change the English input method and it will be fine. Thank you very much. It took me a long time to see it myself. Thank you for your suggestion of pressing F12.

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