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
Why was css invented?
What is dom in selenium?
Explain the concept of specificity in css.
Is it possible to create border as a image in css3?
What does CSS selector mean?
How do we make a rounded corner by using css?
Which property is used to add or subtract space between the letters that make up a word?
What is a css pseudo class?
What is the use of calc()?
Explain grouping and nesting of css selectors.
What is empty tag in html?
What is normalizing css?
What are the advantages and disadvantages of external style sheets?
How can change the background of a photo?
How does Z index function?