Forum for Geeks

Does margin top and...
 
Notifications
Clear all

Does margin top and bottom effect inline element?

6 Posts
6 Users
1 Likes
309 Views
jakli
Posts: 3
Topic starter
(@jakli)
Active Member
Joined: 2 months ago

I am trying to add margin top to an inline element but it is not effecting. I have tried lot of ways to do so, is anything wrong in my code is that a rule of css?

Topic Tags
css
5 Replies
Saheb Dhara
Posts: 2
Admin
(@saheb)
New Member
Joined: 2 years ago

The top and bottom margins do not affect inline elements because inline elements flow with content on the document. The left and right margins/padding on an inline element can be added but not top or bottom because it might disrupt the flow of content.

Reply
AntoniopfdPU AntoniogbnPU
Posts: 0
(@antoniorfb)
New Member
Joined: 3 months ago

Where is moderator??
It is about advertisement on your website.
Thank.

Reply
AntoniofmqPU AntoniolrhPU
Posts: 0
(@antoniobiu)
New Member
Joined: 3 months ago

Where is administration?
I'ts important.
Thank.

Reply
1 Reply
Soumya Mondal
Admin
(@mondalsoumya2001)
Joined: 2 years ago

New Member
Posts: 3

@antoniobiu How can we help you?

Reply
EdwardmaipsDD EdwardmaipsDD
Posts: 0
(@edwardmaips)
New Member
Joined: 2 months ago

I dont think so

Reply
Share: