Web Analytics Made Easy -
StatCounter use different backgrounds in one div box - CodingForum

Announcement

Collapse
No announcement yet.

use different backgrounds in one div box

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • use different backgrounds in one div box

    hi

    Is it possible to have different background image on left , diff image on right and different bck image on boottom in one div box


    Basically i want to have shadows around the edges of my content DIV box using different image strips
    Please de-reputate me
    © 0o0o0o0

    Its better to rule in Hell then to serve in Heaven

  • #2
    Are you using a fixed width for your "content DIV"? If so, combine you left and right shadows and apply it as a background, with repeat-y.
    Digitalocean Cloud Hosting (Referral link - get $10 free credit) Fameco

    Comment


    • #3
      Actually i already have one image coming on the top of content .

      Is there any way i can have other images on the sides?

      I have tried combining the image on left and right and applying as the background but nothing is appearing i don't know why


      i am using
      <div id ="wrapper">

      <div id=header>

      </div>


      <div id="content"

      </div>
      <div id="footer">

      </div>

      </div>
      Please de-reputate me
      © 0o0o0o0

      Its better to rule in Hell then to serve in Heaven

      Comment


      • #4
        The short answer is that you cannot have more than one background image in one div. There are many workarounds to this. Try Stu Nicholls CSS Play and put 'shadow' in the search box.

        John

        Comment

        Working...
        X