SitePoint Sponsor

User Tag List

Results 1 to 11 of 11
  1. #1
    Don't get too close, I bite! Nicky's Avatar
    Join Date
    Jul 1999
    Location
    Lancashire, UK
    Posts
    8,277
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I feelr eally stupid asking this but...
    I have 2 colunmns in a table and both have content. I specify the width of each column and they sum up to the total table wisth. Yet in Netscape they do not conform to the specified width. Anyone come across this before?


    ------------------
    www.gib-online.com
    The Rock of Gibraltar on the WEB
    www.urban-studios.com
    ...for all your IT solutions

  2. #2
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could you post the specific code for us to view? I'm narrow-minded so I'm not that useful unless I can see things for myself

    Just from reading what you typed though, I can't imagine what the problem would be.



    ------------------
    Chris Bowyer - Programmer in Training
    MyCoding.com: Join our mailing list for launch notification!
    "I'm not an insomniac, I'm a web designer."

  3. #3
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    If you have something that doesn't conform to the specified width like a image or a long word (really long) it will overflow the boundaries.

    I have a better one for you. On my site a whole table cell just disappears on Netscape. Poof gone. We're probably both being hit by Netscape Gremlins out having a good time.

    ------------------
    Wayne Luke - Sitepoint Forums Administrator
    Digital Magician Magazine - MetaQuark Creations (Coming Soon)
    sitepoint@digitalmagician.com

  4. #4
    Carpe Chicken Chicken's Avatar
    Join Date
    Jul 2000
    Posts
    1,220
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, I have ran across this. it isally happens when the text in the table column is not big enough to fill the column.

    Easy fix is to include some text that is the same color as the table color (making it unreadable). Fill the column.

    Something like "jsdfjhf sdlfhsdfhf sd fsd fsd f sdf sdf sdf sdf sdf sdf sdf sdfsd f s sdf sdg dfgh jh jhg j hgjhgjghjghj f gh fgh fgh fg hfgh fgh fgh fgh fgh fgh fg fgh fgh fgh fgh fg h fgh fgh fg hfg h fg h fgh fg hf gh f fghfghfjglhkjfglkjh h fg h"

    This fills the column and makes everything as you'd probably like it.

    Luke- isn't this due to not ending a tag? Maybe a /table /td, /tr tag?

  5. #5
    SitePoint Enthusiast
    Join Date
    Jun 2000
    Location
    WA
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nicky-
    Place a transparent gif in each column that is the required width for that column. You can put it in as the first or last item in the column, depending on how far down from the top you want the text to start. Use a small one (like 1x1) and use the height/width attributes of the img tag to size it.

    Wayne-
    Is there any content in that cell? NS requires that you put something in there to display a cell, even if it's a nbsp.

    hth

  6. #6
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    All tags are closed properly. Just double checked.

    Yes there is content in the cell. 4 links and an approximately 326 byte paragraph of text.

    You want to know what the problem was???

    I had declared a class in a table cell. Now if the other problems are that easy to fix.

    ------------------
    Wayne Luke - Sitepoint Forums Administrator
    Digital Magician Magazine - MetaQuark Creations (Coming Soon)
    sitepoint@digitalmagician.com

  7. #7
    Don't get too close, I bite! Nicky's Avatar
    Join Date
    Jul 1999
    Location
    Lancashire, UK
    Posts
    8,277
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hi
    I will post the code.
    Thanks for all your suggestions but I want to make the site accessible. text the same color as background and transparent gifs are not a good idea.


    ------------------
    www.gib-online.com
    The Rock of Gibraltar on the WEB
    www.urban-studios.com
    ...for all your IT solutions

  8. #8
    SitePoint Enthusiast
    Join Date
    Jun 2000
    Location
    WA
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wayne-
    Care to expand on what/how defining a class in a td caused a problem? To what exactly did you assign the class statement (and how)? Sorry to be so nosy, I've not run into this and I like to add to my list of uh-ohs for NS and CSS when I can.

    Nicky-
    You lost me... how would using a trans gif make the site not accessible? To whom would it be inaccessible?

  9. #9
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I had <td class="sidebar"> in my table. It didn't work.

    I changed it to <td bgcolor="#285A59"> and it works.

    Invisible gifs make the site hard to access for visually impaired browsers. Having invisible text can get you kicked out of Search engines. There has to be a better way for her to fix the problem. Post your code Nicky, and we'll look at it.

    ------------------
    Wayne Luke - Sitepoint Forums Administrator
    Digital Magician Magazine - MetaQuark Creations (Coming Soon)
    sitepoint@digitalmagician.com

  10. #10
    SitePoint Enthusiast
    Join Date
    Jun 2000
    Location
    WA
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wayne-
    That's a new one. I've used classes assigned to a td tag sucessfully before. In fact I'm using it now at http://thedigitalpage.com/ to define the edges of the "page". Non-css browsers just get the "paper" and not the edges/drop shadow.

    Re: trans gifs and vision impaired visitors- I've not had any complaints from using alt text to explain what the graphic is for (alt="spacer.gif"). Is this something I need to be concerned about?

    It seems to work fine in Lynx, which I assumed most text readers were using as a base for speech synthesis. I'm totally unfamiliar with Windows based speech solutions however. Any insights?

    Nicky- sorry to hijack your thread like this. Bad manners on my part.

  11. #11
    Don't get too close, I bite! Nicky's Avatar
    Join Date
    Jul 1999
    Location
    Lancashire, UK
    Posts
    8,277
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hijack away <grin>
    I think I fixed it.
    It is very strange but I am pretty good at HTML as I have been doing it for years. So what I did was I started messing with the attributes of the tags and it seems that if I specify the height of the individual table cells then they conform to the width that I told them too. Now to my understanding if you leave the height attribute of a cell out (which I tend to do) then the height of the cell defaults to the height of the total of the contents in it!
    Strange huh?

    ------------------
    www.gib-online.com
    The Rock of Gibraltar on the WEB
    www.urban-studios.com
    ...for all your IT solutions


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
  •