SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru etidd's Avatar
    Join Date
    May 2011
    Location
    atlanta, ga
    Posts
    626
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Providing More Space for Body Section

    Hello everyone,

    I have now implemented new graphics in my site. However, it still looks bad... I know I need to shrink the size of the menu buttons, but still, is there a way to add more room to the body section?

    I have read that it's bad to overuse the <br /> tag, but it seems like the only logical solution in this case.

    You can see my site at productreviewsbytyler.com

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,622
    Mentioned
    413 Post(s)
    Tagged
    7 Thread(s)
    Te more you type in there, the more it will expand. If you want more room between element, add padding or margin to them. Don't use <br> for spacing.

    To make the #body div wrap around the menu, add overflow: hidden to that div. E.g.

    Code:
    #body {
      background-image: url("body.jpg");
      margin: 0 auto;
      text-align: center;
      width: 600px;
      overflow: hidden;
    }


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
  •