How block elements can be centered with CSS1?
With css the way to center anything that's a block level element is with the margin property. One of the values of margin is auto and by setting auto on the left and right margin our block level element will center itself.
Is This Answer Correct ? | 0 Yes | 0 No |
What is the use and syntax of class in css?
What is the float property used for in css?
What are the different web fonts formats in css?
What are css counters?
What are the necessities of using html forms?
What is hover effect in css?
What are css vendor prefixes?
What are the types of css selectors?
What is webkit appearance?
What is the use of a pseudo class?
What are the pseudo classes on <a> tags?
What are the different units used in css?