Does margin-top or margin-bottom have an effect on
inline elements?
Answer Posted / hrpynux@gmail.com
Top and bottom margins do not affect inline elements because inline elements flow with content on the page. You can set left and right margins/padding on an inline element but not top or bottom because it would disrupt the flow of content.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is clearfix?
What is a css reset?
How to remove the top white space of your web page using css?
What is whitespace in css?
Is it hard to learn css?
What is the purpose of vmin measurement unit?
What are the types of css selectors?
Differentiate between the id and class.
Explain how flexibility is achieved more in css3?
Why do style sheets exist?
Which property is used to set the width of the outline?
How do I get the css selector of an element?
What are contextual selectors?
What is progressive enhancement?
What is profit margin percentage?