Results 1 to 5 of 5

Thread: Two colour borders on one page?

  1. #1
    New Registered User Karti's Avatar
    Join Date
    Jan 2011
    Posts
    41

    Default Two colour borders on one page? 6 Feb 2011 @ 22.25

    Hi,

    I have an idea to use two bands of colour across a website so that it encompasses part of the page.

    I know that I can use CSS to create the top one as I will be using it to help colour the page by making it the background:
    Code:
    background-color: #edd6ad;
    background-image: url(images/top_banner.png);
    background-position: top center;
    background-repeat: repeat-x;
    but can I put another band further down the page in a similar manner?

    All pointers are welcome.

    Regards

    K
      Reply With Quote

  2. #2
    Administrator WelshStew's Avatar
    Join Date
    Dec 2008
    Posts
    2,969
    Blog Entries
    3

    Default 7 Feb 2011 @ 07.37

    Are you able to create an image of what you are trying to create? That will help us understand a little better what you are trying to achieve.
      Reply With Quote

  3. #3
    New Registered User Karti's Avatar
    Join Date
    Jan 2011
    Posts
    41

    Default 7 Feb 2011 @ 08.50

    WelshStew,

    You are right....a picture paints a thousand words!!

    Hope fully from this you may have a better idea.

    I'm looking at creating the bottom block of colour. Could add it to my back ground image but I was wondering if I could do the image repeat again using a small slice.

    Thanks

    K
    paperclip Attached Images
      Reply With Quote

  4. #4
    Super Moderator shalom_m's Avatar
    Join Date
    Jan 2009
    Posts
    501

    Default 8 Feb 2011 @ 19.00

    Why not create a separate div?
      Reply With Quote

  5. #5
    New Registered User Karti's Avatar
    Join Date
    Jan 2011
    Posts
    41

    Default 8 Feb 2011 @ 19.41

    Shalom_m

    In the end I did. I just created an image that I used and manipulated it with CSS.

    I will be putting the website up for some comments soon, so hopefully some creative and critical comments

    Once again many thanks

    Regards

    K
      Reply With Quote

Similar Threads

  1. alternating div bg colour for each record in db
    By ljackson in forum PHP, ASP & Java
    Replies: 6
    Last Post: 16 Mar 2011, @ 09.03
  2. help with code please, trying to get the tab colour to change.
    By ljackson in forum Javascript Libraries
    Replies: 20
    Last Post: 24 Aug 2009, @ 12.38
  3. Water Colour RSS Icon
    By Jack Franklin in forum Imagery, Graphics & Typography
    Replies: 3
    Last Post: 26 May 2009, @ 15.21
  4. Getting rid of these unsightly borders
    By Michael in forum HTML & CSS
    Replies: 5
    Last Post: 9 May 2009, @ 16.25
  5. Colour Blender
    By Michael in forum Design & Layout
    Replies: 4
    Last Post: 1 Feb 2009, @ 09.43

Tags for this Thread

Posting Permissions

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