www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > Graphics

    Graphics Discussion and technical support for creating and editing graphics for the web.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 11-26-2002, 09:41 PM
    Xeenslayer Xeenslayer is offline
    Registered User
     
    Join Date: Nov 2002
    Location: Singapore
    Posts: 44
    Angry Background image doesn't appear

    Here's the faulty page: http://caesar3bsc.150m.com/main.html

    The problem is that there should be a background image with y-repeat on. If you check the source code you will know what I mean. The problem is that the image doesn't load. It's strange because I used to be able to see it. Now I can't.

    Can anybody please point out what I'm doing wrong?
    Reply With Quote
      #2  
    Old 11-26-2002, 09:46 PM
    Xeenslayer Xeenslayer is offline
    Registered User
     
    Join Date: Nov 2002
    Location: Singapore
    Posts: 44
    Aargghh all my other pages won't display the image too! I didn't have this problem before. And I'm 100% sure that the image is uploaded and the URL is perfectly correct.

    What's wrong?
    Reply With Quote
      #3  
    Old 11-26-2002, 10:32 PM
    Zach Elfers Zach Elfers is offline
    Registered User
     
    Join Date: Nov 2002
    Posts: 631
    It works fine for me. I can see it. what browser are you using?
    Reply With Quote
      #4  
    Old 11-27-2002, 12:09 AM
    lcole lcole is offline
    Super Moderator
     
    Join Date: Nov 2002
    Posts: 18
    Hi Xeenslayer,

    What I'm seeing is the home page shows forest2.jpg on the left side, under the menu, while the other pages show the full page background with forest2.jpg. Looking at your source, the homepage is pulling the background image in via css, while the other pages are using html body attributes.

    Also, css attribute properties need to have a semi-colon between them. If it's missing, some browsers will refuse to display any css after the missing semi-colon.

    Try changing this:
    body {background:#000080 url(forest2.jpg) repeat-y -10% 100%; }


    to this:
    body
    {
    background-image: url(forest2.jpg);
    background-repeat: repeat-y;
    }
    __________________
    _________________
    Thanks,
    Linda
    Reply With Quote
      #5  
    Old 11-27-2002, 01:37 AM
    Stefan Stefan is offline
    HTML-Mushroom
     
    Join Date: Nov 2002
    Posts: 984
    Quote:
    Originally posted by lcole
    Try changing this:
    body {background:#000080 url(forest2.jpg) repeat-y -10% 100%; }
    That is actually 100% correct.

    BTW, I also see the image (tested with Gecko, IE 5.5 and Opera 7b).

    However I do see large problems on the page depending on available screensize. You should probably look at what happens at your page in eg 1024 resolution.
    __________________
    // Stefan Huszics
    Reply With Quote
      #6  
    Old 11-27-2002, 11:38 PM
    Xeenslayer Xeenslayer is offline
    Registered User
     
    Join Date: Nov 2002
    Location: Singapore
    Posts: 44
    I use IE5. It's strange. Sometimes I see the image, sometimes I don't. Usually when I type the URL as http://URL, the page doesn't show the image.

    If I type www.URL, it does. Is it a problem with the HTML or my browser??
    Reply With Quote
      #7  
    Old 11-27-2002, 11:41 PM
    Xeenslayer Xeenslayer is offline
    Registered User
     
    Join Date: Nov 2002
    Location: Singapore
    Posts: 44
    Oh uh, Stefan, I did try to fix the resolution problem, but I still haven't the faintest idea how to do it. If you remember, I asked about it in the old forums.
    Reply With Quote
      #8  
    Old 11-28-2002, 12:20 AM
    Stefan Stefan is offline
    HTML-Mushroom
     
    Join Date: Nov 2002
    Posts: 984
    Quote:
    Originally posted by Xeenslayer
    I use IE5. It's strange. Sometimes I see the image, sometimes I don't. Usually when I type the URL as http://URL, the page doesn't show the image.

    If I type www.URL, it does. Is it a problem with the HTML or my browser??
    IE 5 is old an buggy.
    I would upgrade to at least 5.5.
    Or better yet, get a gecko browser.

    K-Meleon will even share your IE bookmarks nicely
    http://kmeleon.sourceforge.net/
    __________________
    // Stefan Huszics
    Reply With Quote
      #9  
    Old 11-28-2002, 12:25 AM
    Stefan Stefan is offline
    HTML-Mushroom
     
    Join Date: Nov 2002
    Posts: 984
    Quote:
    Originally posted by Xeenslayer
    Oh uh, Stefan, I did try to fix the resolution problem, but I still haven't the faintest idea how to do it. If you remember, I asked about it in the old forums.
    No I don't remember, but you should start with stopping that <table> abuse of yours.

    Then use CSS on the body to limit the area used by the main text and position your (non table) menu to the left side to an area outside the "main text area".
    __________________
    // Stefan Huszics
    Reply With Quote
      #10  
    Old 11-28-2002, 02:07 AM
    Xeenslayer Xeenslayer is offline
    Registered User
     
    Join Date: Nov 2002
    Location: Singapore
    Posts: 44
    Quote:
    Then use CSS on the body to limit the area used by the main text and position your (non table) menu to the left side to an area outside the "main text area".
    How do I do that? I'm not quite sure what you mean by "using CSS on the body to limit the area used by the main text".
    Reply With Quote
      #11  
    Old 11-28-2002, 05:49 AM
    smurfy's Avatar
    smurfy smurfy is offline
    knowledge sponge
     
    Join Date: Nov 2002
    Location: NZ
    Posts: 26
    CSS tutorial @ w3,org
    It's what I'm reading to figure that sort of thing out.
    __________________
    smurfy
    here to learn.
    'Puter not working right?
    See us at VirtualDr.
    Reply With Quote
      #12  
    Old 11-28-2002, 06:37 AM
    Rick Bull's Avatar
    Rick Bull Rick Bull is offline
    Registered User
     
    Join Date: Nov 2002
    Location: England
    Posts: 275
    I think he means something like this:

    CSS:
    Code:
    body {
      margin-left: 10em;
    }
    #menu {
      position:absolute;
      top:1em;
      left:1em;
      width:8em;
    }
    HTML:
    Code:
    <body>
      <p>Main body text</p>
    
      <div id="menu">
        <p>Menu links here</p>
      </div>
    </body>
    __________________
    http://www.rickbull.co.uk/
    Help get full alpha-transparency in Internet Explorer - probably won't help, but worth a try
    Reply With Quote
      #13  
    Old 11-29-2002, 09:20 AM
    Xeenslayer Xeenslayer is offline
    Registered User
     
    Join Date: Nov 2002
    Location: Singapore
    Posts: 44
    Again I'm getting worried by the position and sizes of things appearing on different browsers.

    I'll post a topic in the CSS forum, and thanks for that link, Smurfy.
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 12:21 AM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.