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 class in html and css?
What is the cascading order of the three types of css?
What is the difference between padding and margin?
What are the common values used in 2d transforms?
How do I design for backward compatibility using style sheets?
What are the different provision provided in css to define the dimension of an element?
What is box sizing?
How we can add border to a image?
What does star mean in css?
What is z index in css?
What is a css selector selenium?
How do you center text?
What is css unicode-bidi property?
What is font colour?
What is the inspect tool?