SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Threaded View

  1. #1
    SitePoint Enthusiast polyhedra's Avatar
    Join Date
    Nov 2011
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Spacing overflow

    Hi hope everything well, I noticed a spacing problem with my webpage I'm working on. I am using HTML 5 which sets new tags such as "article" and "nav" to display as block, but i do not think that is a problem because "divs" are naturally set to display as block. What I'm noticing is the margin on the tags like "p" and "h1" are overflowing from the divs, so to fix this I display them as inline-block, which fixes my spacing issue. Would this method be the most educated choice or would there be another way to deal with this problem? Any input is appreciated, thank!

    Heres an example.
    Last edited by ralph.m; Jan 1, 2013 at 15:40. Reason: removed large size


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •