Results 1 to 2 of 2

Thread: CSS background images

  1. #1
    Join Date
    Oct 2005

    CSS background images

    Im making a website using xhtml and css.

    of course like most websites there is a navigation menu. the menu is going to be horizontal and i know how to make it into a horizontal list. what im questioning is how to use background images with it.

    the menu is contained in it's own DIV and i am using css to specify a background image. what i want is to use three images in total.

    the first image would be on the far left and would have rounded corners the second image would be the repeated image that stretches as far as needs be to cover the content of the div. the third image would be the image to the far right containing another rounded corner so it kinda looks something like this:

    ( & ) representing the rounded corners. is it possible to do this or would i need to use three separate DIVs for each image?

  2. #2
    Join Date
    Nov 2003
    Jerryville, Tejas
    Do it with two images; e.g. left curve and general background as a background, right end as an image.
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

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