SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Feb 2003
    Location
    Fairbanks, Alaska
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can't figure out the problem with netscape!!!

    Okay, I have a series of 8 images that make up a box... this is what it looks like...

    KEY:

    T=topleftcorner.jpg
    Y=topmiddle.jpg
    U=toprightcorner.jpg
    J=rightmiddle.jpg
    N=bottomrightcorner.jpg
    B=bottommiddle.jpg
    V=bottomleftcorner.jpg
    G=leftmiddle.jpg
    Code:
    TYYYYYYU
    G      J
    G      J
    G      J
    G      J
    VBBBBBBN
    Okay, now, if you can understand that at all.... I have the top, bottome, left and right middle pictures being "stretched" to full length. As in like this:

    <td width="3%" height="100%" valign="top" align="left">
    <img border="0" src="images/leftmiddle.jpg" width="16" height="100%"> </td>

    Okay, now.. this works perfectly to make my border in internet explorer...

    In netscape, my box looks like this:
    Code:
    TYYYYYYU
    G      J
    G      J
    G      J
    G      J
    
    VBBBBBBN
    There is a space between the bottom of it... BUT - it only happens the first time you load the images... if you reload, or visit another page with the same code.. it works just fine. Once the image is cached, it works. When you don't have the image, it doesn't work right.

    Does anyone have the faintest idea to why this would do something like that? I know my explination of the problem is very odd, but if you want to see it in action,

    Go to www.neo-tech.us/pcservices.html - USE NETSCAPE. it works fine in internet explorer.

    Any help with this would be awesome.

  2. #2
    SitePoint Member
    Join Date
    Feb 2003
    Location
    Fairbanks, Alaska
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh yes.. to add to the confusion,

    This mark's up as valid html 4.01 ... besides all my missing ALT tags, but i don't think that matters in this case...

  3. #3
    SitePoint Member
    Join Date
    Feb 2003
    Location
    Fairbanks, Alaska
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Heh... well, even though no one responded, and it was a very weird problem..

    I found it and fixed it.

  4. #4
    SitePoint Wizard Ian Glass's Avatar
    Join Date
    Oct 2001
    Location
    Beyond yonder
    Posts
    2,384
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Lirath
    This mark's up as valid html 4.01 ... besides all my missing ALT tags, but i don't think that matters in this case...
    It is not valid then.

    Screen readers will announce that there's an image there and, some if I'm not mistaken, will read out the file name. That'll get real annoying at about "u" by my estimation. Use an empty alt text value (some like to use a space, i.e. alt=" ") and your pages'll validate & blind people won't be annoyed by all these images that're useless to them. Alternatively, I think you could specify the images as backgrounds in the cell.

    I've tried it in NS4 and Phoenix and haven't seen the gap you're referring to, though NS4 didn't load all the graphics at first, but no gap.

    ~~Ian

  5. #5
    SitePoint Member
    Join Date
    Feb 2003
    Location
    Fairbanks, Alaska
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for looking, but it should be fine now... I fixed it...

    see, what it was, is my menu that is on the top of the page, wasn't loading fast enough. After the border loaded, those images loaded, and pushed the page down just a littttle bit further.... which created the gap.

    I just set the table that the menu sits in to a defult height, and it loaded just fine.


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
  •