The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Margin color sorrunding the site

  • # January 21, 2013 at 7:30 pm

    How can I make color margin sorrounding my site? Any help will be appreciated.

    # January 21, 2013 at 8:18 pm

    you can’t color a margin, but the element exposed on either side is the body – you can set the background-color of that (it’s in the style tags in the head of your html doc).

    if that’s not what you’re looking for, you could add a border around #page, something like:

    #page { border: 10px solid red; }

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed