www.webdeveloper.com
Results 1 to 3 of 3

Thread: Background Help

  1. #1
    Join Date
    Jun 2011
    Posts
    7

    Background Help

    I am new to web design and I am still trying to work a few things out. One of those being background. http://sportsillustrated.cnn.com/ The link is to SI. If you notice all of the content is in the middle and there is a grey background. How do you do that? Would you use CSS to set that for all of your pages? If it is an image what type would it be?

  2. #2
    Join Date
    Jun 2011
    Posts
    1
    Did you mean the cross hatch design ? If so they set the body background using css to an image an repeated it. The content in the middle is just placed in divs and aligned in the center.

    Heres the actually CSS code they used for the background:
    PHP Code:
    BODY {
        
    backgroundurl("http://i.cdn.turner.com/si/.element/img/4.1/global/background_tile.gif"repeat-x scroll left top #CCCCCC;
        
    font11px verdana,geneva,sans-serif;


  3. #3
    Join Date
    Jun 2011
    Posts
    7
    Thank You. That was exactly the explanation I was looking for.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles