Home  >  Article  >  Web Front-end  >  A small problem with css_Basic Tutorial

A small problem with css_Basic Tutorial

WBOY
WBOYOriginal
2016-05-16 12:09:131420browse

Let me ask you a question
I want the following table to use table class=a class name to achieve the following effect
That is, I want to define a class in css and put cellspacing=1 bgcolor in table =#D0DDE5 and
bgcolor=#FFFFFF in td are both written into a class in css. Then I only need to use table class to implement it.
Please teach me


[Ctrl A Select All Note: If you need to introduce external Js, you need to refresh it before executing it]


[Ctrl A select all Note: If you need to introduce external Js, you need to refresh it before executing it]
Statement:
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