Answer Posted / hrpynux@gmail.com
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 |
Post New Answer View All Answers
What are the formatting behaviors of html elements?
What is css box model and also explain its elements?
What are css3 selectors?
Enlist the various fonts attributes?
Do you use any tools for browser support?
What is hover over image?
Explain with the help of an example the usage of a parent-child selector.
How do I center my header?
What is inline style? How to link?
What is hover app?
How do I get the css selector of an element?
What is cascading style sheets in html?
How can we add icons to the web page?
What are the disadvantages of external style sheets?
What is inline element in css?