Results 1 to 5 of 5

Thread: Scroll Bar Messes up My Image Background

  1. #1
    Join Date
    Jan 2009
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Scroll Bar Messes up My Image Background

    http://alohareptiles.webs.com/

    iFrame code in my index
    Code:
    <TD ROWSPAN="3" COLSPAN="7" WIDTH="576" HEIGHT="438">
    	<IFRAME name="home" src="home.html" style="border:none" frameborder="0"  width=576 height=438 marginwidth=0 marginheight=0 scrolling=auto></IFRAME></TD>
    BG code in my main page
    Code:
    <style type="text/css">
      body {
      background-image: url("/images/layout2_4x1.png");
      background-position: center;
      background-repeat: repeat;
    background-color: #C0C0C0;
    background-attachment:fixed;
    }
    .main {
    background-color:#fff;
    }
    
    </style>
    If there's any way to fix this whether or not I have a scroll bar that would be awesome.

    Even better would be if you guys could tell me how I would make that image at the top left be over the text instead of under... Instead of being the bg image... If that makes sense.

    Thanks!

  2. #2
    Join Date
    Jan 2009
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Anyone?

  3. #3
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    You shouldn't be bumping your post 5 hours into posting, give some time for a response..

    Code:
    background: #C0C0C0 url(/images/layout2_4x1.png) repeat fixed center center;
    Corrections to my coding/thoughts welcome.

  4. #4
    Join Date
    Jan 2009
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks but that doesn't seem to be working.. Or I am most likely installing it wrong. Could you please be a bit more specific?

  5. #5
    Join Date
    Jan 2009
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Changed the main page, the problem now is in the 'news' section. Basically the same code as above was used.

Bookmarks

Posting Permissions

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