[thelist] my TD class isn't holding through the whole TD.

sasha sasha at bittersweet2.com
Sat Apr 27 09:11:12 CDT 2002


It would have been more helpful if you had mentioned
which browser was causing the problems.  I don't think
many people on this list use Netscape 4.x as their main
browser, which is probably why no one saw any problems.

1.  Netscape 4.x has problems inheriting classes from
its parent.  It also has a problem remembering what
class should be applied to it if you add in elements
above it [that should be] ruled by a different class.

You should be using paragraph tags to make your
paragraphs for the sake of screen readers (and good
markup!), instead of multiple <br> tags.

To fix your problem, try this (after putting your
paragraphs inside paragraph tags):

body, p, td, .text {
color: #666;
font-size: 10px;
font-family: verdana, arial;
background-color: #fff;
}

2.  Not for Netscape 4.x (or other similarly old
browser).  You can use css for the body (margin: 0px) in
most newer browsers, but Netscape won't honor it (NS 6
might, I haven't bothered to check).  Netscape actually
only needs 2 of those 4 attributes.  Either topmargin
and leftmargin, or marginheight and marginwidth (I
forget which).

3.  Font sizes in Netscape 4.x (particularly related to
px sizes) is a bug.  You can't get around that easily.
On the bright side, though, it usually only applies to
smaller text sizes (I forget where the threshold is, but
once you get bigger, the font sizes actually become
"correct" when compared to other browsers).

Christy "sasha" Siepker
http://www.bittersweet2.com

4/27/2002 9:44:29 AM, "{ schaapy }" <list01
@theparagon.org> wrote:

>I decided to resubmit this question because I named the
title the same as
>another topic (by accident) and felt people would over
look it. Sorry if
>this causes a problem.
>--------------------------
>
>I'm working on a newcomers page for my local paper.
Right now it's up at
>http://www.hollandsentinel.com/specialsection/newcomers
2002/ it's just a
>beta so the text is just random crap - don't mind that.
>
>http://www.hollandsentinel.com/specialsection/newcomers
2002/newcomers.css
><--- my css file
>
>My question(s) is:
>1. For some reason the 6th paragraph doesn't want to be
under the control of
>my "text" class. Which I put in my TD that holds all of
this content. I put
>a table in there and thinking that might have caused a
problem but have no
>idea why.
>
>.text {
>color: #666;
>font-size: 10px;
>font-family: verdana, arial;
>background-color: #fff;
>}
>
>2. Is there a way to push my whole site up in the
topleft corner without
>having to use "topmargin, leftmargin, marginheight, and
marginwidth"?
>
>3. My text always gets smaller in Netscape 4.x as well.
Is there a good way
>to avoid that?
>
>That should be it - comments/helpful tips are welcome
on the site as a
>whole.
>
>---------------------------
>Aaron Schaap
>www.theparagon.org
>
>--
>For unsubscribe and other options, including
>the Tip Harvester and archive of thelist go to:
>http://lists.evolt.org Workers of the Web, evolt !
>






More information about the thelist mailing list