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


Please Help Members By Posting Answers For Below Questions

What is a div container?

347


What is block formatting context? How does it work?

346


How do I enable cascading style sheet in css?

329


Which value of cursor property changes the cursor to a question mark?

357


Define float property of CSS??

355






What is a descendant selector?

374


How do you change the font color?

371


What are the different provision provided in css to define the dimension of an element?

342


Name the property for controlling the image repetition of the background.

333


What is a div in css?

342


What are the sequences of steps for each http request from a client to the server?

361


What is the use of style sheets?

358


What are css box model elements?

370


What is ‘important’ declaration used in css?

350


Explain the concept of specificity in css.

331