Jump to content
Sign in to follow this  
XMLTorrent

Display values

Recommended Posts

In CSS, I see the display keyword used often and a corresponding value 'block' used. Just what are these and what's the difference if you use them or don't?

Share this post


Link to post
Share on other sites

Without the bottom-margin...

Share this post


Link to post
Share on other sites

What about div?

Share this post


Link to post
Share on other sites

So basically, the "display" property assigns or refers to the way how an element is showed.The exact way, is different for each browser, so I would use it only for NOT-displaying an element, or not NOT-displaying an element :)Like display="none" and display="" instead of display="block"But I may be wrong, it can be very handy :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...