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 a div container?
What is block formatting context? How does it work?
How do I enable cascading style sheet in css?
Which value of cursor property changes the cursor to a question mark?
Define float property of CSS??
What is a descendant selector?
How do you change the font color?
What are the different provision provided in css to define the dimension of an element?
Name the property for controlling the image repetition of the background.
What is a div in css?
What are the sequences of steps for each http request from a client to the server?
What is the use of style sheets?
What are css box model elements?
What is ‘important’ declaration used in css?
Explain the concept of specificity in css.