Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2009
    Posts
    107
    Plugin Contributions
    0

    Default How to add image for Padding?

    I would like to use the attached for my overall padding for my middle section. I would also like this image mirrored on the opposite side. Dont recall where/how within the CSS to make this change.

    Much thanks


    7th gear imports .com / storefront
    Attached Images Attached Images  

  2. #2
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: How to add image for Padding

    I don't understand what you mean by "overall padding". Padding, in CSS terms, is a space applied to the inside of the bounding box (what you call the "middle section"), on one or more of the sides of that box. To be clear, it's a space, not a thing. So you can't put a graphic file into that space just by calling it padding and adding it to the stylesheet.

    However, you could add it as a background image inside any bounding box, and make it align left (or right, but not both) and not repeat. So your image would act as a vertical border on either the left or the right side of that box. A horizontal image format could be used for the top or bottom of a box (but not both.)

    To use it this way you can even make it a much smaller image (only 1 pixel high), and allow it to repeat vertically but not horizontally. This will allow it to stretch to fit the space available.

    Rob

  3. #3
    Join Date
    Jan 2009
    Posts
    107
    Plugin Contributions
    0

    Default Re: How to add image for Padding

    Let me restate that.

    I am looking to run the above image as a border on my left side and right side. So that it would start at the outter most edged of my flash header and continue down all the way to the bottom of the page.

  4. #4
    Join Date
    Sep 2008
    Posts
    130
    Plugin Contributions
    0

    Default Re: How to add image for Padding

    You might be better off making an imagine in the following manner:

    Put your Flash header on the page, and take a screenshot of it, paste the screenshot into the Photoshop of your choice and make a wide and short image, that just covers the width from the left to the right behind the Flash header. Then, put that as background with repeat-y on it.

    #headerDivision { background: url(../images/backgroundHeaderDivision.gif) repeat-y; }
    <!-- just commenting -->

 

 

Similar Threads

  1. How do i add a seperate image/section for size 'measurements' for clothing?
    By tommydamani in forum Setting Up Categories, Products, Attributes
    Replies: 20
    Last Post: 21 Jul 2010, 11:29 PM
  2. how to add free-shipping image for every products for the product list page
    By vanson in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 21 Feb 2010, 03:36 PM
  3. How do I Add Padding or Margins Between Sideboxes?
    By THE-EDL in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 14 Dec 2009, 01:47 PM
  4. how do i add padding to my product image?
    By what44 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Nov 2007, 07:25 PM
  5. How do you add space (padding) to text in side boxes
    By cnsystems in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 13 Aug 2006, 06:12 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
  •  
disjunctive-egg