Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Posts
    78
    Plugin Contributions
    0

    Default How to create Image borders?

    I have seen a couple postings on this subject with no firm answers. I can get the border on teh top and the bottom to show up but i can't figure out how to get it to repeat the 1px image on the side. If anyone knows how to do this i would REALLY appreciate a little guidence. Here is the Cart i am working on
    http://www.thenaturaltreasure.com/Cart/


    Thanks

    Brad

  2. #2
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: How to create Image borders?

    When I look at your site it is a little hard to tell exactly where you want these borders. Are you talking along the outside (the blueish border with drop shadow) - if so the easiest way would be to make a background image which is the width of your template and approx. 5px tall and then set it as the background for #contentMain with a repeat attribute.

    If that is the wrong border, then please claify.
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  3. #3
    Join Date
    Jul 2006
    Posts
    125
    Plugin Contributions
    0

    Default Re: How to create Image borders?

    Ok, kind of ontopic. I am trying to get a border along the right hand side of my content block, but I only want it to go along the right hand side. It's difficult to explain, but if you take a look I think you will understand what I mean:
    Site

  4. #4
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: How to create Image borders?

    Hmmm Blue - I am getting database connection error on your site.

    But if I understand your question, this would be done by specifying border-right in the #contentMain of your style sheet.

    Sample coding would be :
    #contentMain{
    border-right: 1px solid #000000}


    Hope that helps!
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  5. #5
    Join Date
    Jul 2006
    Posts
    125
    Plugin Contributions
    0

    Default Re: How to create Image borders?

    Wow, thank you, that is EXACTLY what I was trying to do. I just learnt something new =)

    Quote Originally Posted by TinaS
    Hmmm Blue - I am getting database connection error on your site.
    Yeah that'll be my silly hosting, I'll complain to them later.

  6. #6
    Join Date
    Oct 2005
    Posts
    78
    Plugin Contributions
    0

    Default Re: How to create Image borders?

    TinaS,

    I really appreciate your commnets. In my main site i use tables with a 1px repeat for the left and right border. The problem is how do you do that in CSS.

    I am guessing that the code change is in the stylesheet_new.css
    #navColumnOne {
    padding: 0.5em;
    border-left: 1px solid #cccccc;
    {

    I thought i coud change that to

    {
    a img border: url(../images/TMiddle750.gif);
    background-repeat: repeat-y;
    }


    BUT that doesn't work, so if someone could explain why my fault is i woudl really appreciate it.

    Thanks,

    Brad

  7. #7
    Join Date
    Oct 2005
    Posts
    78
    Plugin Contributions
    0

    Default I am the master of doing things the HARD WAY

    So i figure it out, most likely a stupid way, but in the end it is a way. I just added opened up the tpl_main_page.php and added as background to the side columns. You have to edit the file a special width for the right side but hey it works and know that i figure it out it shouldn't take long to do it again to another website. I know you all are thinking, USE CSS that is what is for, but i played around with it for hours with no luck so i have to go back to what i knew. But main reason for this post is to thank TinaS for trying explain it to me. If anyway wants more info and how i made it work just email me.

  8. #8
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: How to create Image borders?

    Hi again - yup you are right everyone is gonna tell you to use the css - but hey if you got it to work for you that's what counts :)

    Thanks for mentioning me in your reply - I am sorry I wasn't much more help.
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

 

 

Similar Threads

  1. How do I create a defult product image?
    By candylotus in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 9 Aug 2008, 04:47 PM
  2. How can I Create Nicer Image Popup Windows?
    By ittybittykitty in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Aug 2008, 02:22 PM
  3. How do I add image borders to Centre Column Items?
    By Simon H in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 26 Sep 2006, 02:57 AM
  4. How do I add image borders to Main_Page Items?
    By Simon H in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Sep 2006, 05:18 PM
  5. How to create new image directory
    By jayh in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 23 Jul 2006, 04:55 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