0
Welcome Guest! Login
0 items Join Now

Put picture to back

  • Re: Put picture to back

    Posted 17 years 3 months ago
    • I smell IE :o Might I ask why you are using a pointlessly large logo?
    • James Spencer / Developer & Support / Hull, UK
    • Leckenby's Avatar
    • Leckenby
    • Elite Rocketeer
    • Posts: 714
    • Thanks: 0

    Re: Put picture to back

    Posted 17 years 3 months ago
    • lol
      ill show you what im doing

      If I can put my logo behind, then the white bit will be in position, then on the same image I can place whats going down the side - where the squiggles are...not the easiest way of doing it I know

      This image is hidden for guests.
      Please log in or register to see it.


      Anyway thats what I want to do, if you can tell me how to do it another way?
  • Re: Put picture to back

    Posted 17 years 3 months ago
    • That is way over complicated for what it is and cross-browser compatibility is going to be a pain :)
    • James Spencer / Developer & Support / Hull, UK
    • Dan L's Avatar
    • Dan L
    • Elite Rocketeer
    • Posts: 1453
    • Thanks: 0

    Re: Put picture to back

    Posted 17 years 3 months ago
    • 10 out of 10 for imagination ;D

      It won't work because it will be within the container DIV anyway.

      You might try creating another container, an "outer container" if you like, with which you can make slightly wider and will give you the extra area on the left. You can then just add a BG image to the new DIV which will show up on the left. I used the same technique here: www.babypremier.co.uk to get the left & right shadowed bits.

      Take a peek at the source & CSS to see how it's done...very simple.
    • Toolbox Digital | Dribbble | Forrst
    • Leckenby's Avatar
    • Leckenby
    • Elite Rocketeer
    • Posts: 714
    • Thanks: 0

    Re: Put picture to back

    Posted 17 years 3 months ago
    • I suppose I could do that, just wanted to be different :P
    • Dan L's Avatar
    • Dan L
    • Elite Rocketeer
    • Posts: 1453
    • Thanks: 0

    Re: Put picture to back

    Posted 17 years 3 months ago
    • GollumX's Avatar
    • GollumX
    • Elite Rocketeer
    • Posts: 2817
    • Thanks: 0

    Re: Put picture to back

    Posted 17 years 3 months ago
    • HI Dan, I did similar with a recent site but got no love from IE6 and 7... probably to do with the positioning I used. I gave up hehe/
    • Say no to Internet Explorer 6.
      twitter.com/mark_up
    • Dan L's Avatar
    • Dan L
    • Elite Rocketeer
    • Posts: 1453
    • Thanks: 0

    Re: Put picture to back

    Posted 17 years 3 months ago
    • GollumX wrote:
      HI Dan, I did similar with a recent site but got no love from IE6 and 7... probably to do with the positioning I used. I gave up hehe/

      No need to do any fancy positioning. In fact, the site I exampled works just fine in IE6/7 and there isn't even a separate CSS for either...it just wasn't needed. The shadow BG images are 50px wide each.

      In CSS:
      #mainbg-right {
      width:880px;
      background:url(../images/right_shad.png) 100% 0 no-repeat;
      visibility: visible;
      }
       
      #mainbg-left {
      width:880px;
      background:url(../images/left_shad.png) 0 0 no-repeat;
      visibility: visible;
      }
       
      #container {
      width: 780px;
      background: #FFFFFF;
      margin: 0 auto;
      }

      Then in code:
      <body>
      &nbsp; &nbsp;  <div id="mainbg-right">
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <div id="mainbg-left">
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <div id="container">
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ....
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  </div>
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
      &nbsp; &nbsp;  </div>
      </body>
    • Toolbox Digital | Dribbble | Forrst

Time to create page: 0.053 seconds