Results 1 to 2 of 2

Thread: i spliced my design in PH, now need some CSS help.

  1. #1
    Join Date
    Mar 2008
    Posts
    1

    Question i spliced my design in PH, now need some CSS help.

    Hello, I created a design in Photoshop, spliced it and came up with the following images...
    1. header
    2. left bg
    3. content
    4. right bg

    (I know I should have spliced the logo separately, but I didn't )

    Now being fairly new to CSS, I have a few basic questions and would appreciate some sample code if possible...

    I get a little confused with the leftbg, content, and rightbg, here is the site with just the following code:

    Code:
    body {
    	font: 75%/160% Arial, Helvetica, sans-serif;
    	background: #f8f7e5 url(img/head.jpg) no-repeat center top;
    	color: #000000;
    }
    Site: www.hifipunk.com/test/index.htm

    First, is it correct to use the body tag for my head image like I do above?

    Second, how would I set up the bgleft/content/bgright to repeat down the page until content has ended, where my footer (not yet created) will take over? I am aware of repeat-y; but I need some guidance setting this up.

    I was thinking about something like this:
    Code:
    #content {
    	background: url(img/content.jpg) repeat-y right top;
    	position: relative;
    }
    #left{
    	background: url(img/leftbg.jpg) repeat-y right top;
    	position: relative;
    }
    Etc...but I have a feeling this is the wrong approach. Also I have been noticing a lot of use in CSS with a 'wrapper' what is this and should I have one for this purpose?

    Thanks for any response!

  2. #2
    Join Date
    Dec 2007
    Posts
    4

    Need time

    Hello,
    I can solve your problem but, it will take time.

    SHIRISH -
    creativeart.shri@gmail.com
    OmInfoSoft.com

    Quote Originally Posted by clive3
    Hello, I created a design in Photoshop, spliced it and came up with the following images...
    1. header
    2. left bg
    3. content
    4. right bg

    (I know I should have spliced the logo separately, but I didn't )

    Now being fairly new to CSS, I have a few basic questions and would appreciate some sample code if possible...

    I get a little confused with the leftbg, content, and rightbg, here is the site with just the following code:

    Code:
    body {
    	font: 75%/160% Arial, Helvetica, sans-serif;
    	background: #f8f7e5 url(img/head.jpg) no-repeat center top;
    	color: #000000;
    }
    Site: www.hifipunk.com/test/index.htm

    First, is it correct to use the body tag for my head image like I do above?

    Second, how would I set up the bgleft/content/bgright to repeat down the page until content has ended, where my footer (not yet created) will take over? I am aware of repeat-y; but I need some guidance setting this up.

    I was thinking about something like this:
    Code:
    #content {
    	background: url(img/content.jpg) repeat-y right top;
    	position: relative;
    }
    #left{
    	background: url(img/leftbg.jpg) repeat-y right top;
    	position: relative;
    }
    Etc...but I have a feeling this is the wrong approach. Also I have been noticing a lot of use in CSS with a 'wrapper' what is this and should I have one for this purpose?

    Thanks for any response!

Similar Threads

  1. My Friends CSS web template design
    By pycoopi in forum The Lounge
    Replies: 0
    Last Post: 21 May 2007, 09:25 AM
  2. GDSD#2: Practical Ergonomics for Modern Web Design, ZuniWeb
    By WongFei in forum General Questions
    Replies: 0
    Last Post: 16 Apr 2007, 08:59 PM

Posting Permissions

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