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?
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.
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.
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.
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?
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-
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.
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?
Bookmarks