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 are web safe fonts and fallback fonts?
What is the function of css?
What is cascading communication?
What is style sheet and its types?
How do you clear a float in css?
Why is css needed?
What does nth child mean in css?
Explain opacity in css3?
What is parent-child selector?
What is the difference between class and id selectors?
How stacking context is formed?
What is the difference between internal and external style sheets?