Topic: CSS+TABLE=EVIL Pages that link to <a href="https://ozoneasylum.com/backlink?for=10712" title="Pages that link to Topic: CSS+TABLE=EVIL" rel="nofollow" >Topic: CSS+TABLE=EVIL\

 
Author Thread
maninacan
Paranoid (IV) Inmate

From: Seattle, WA, USA
Insane since: Oct 2001

IP logged posted posted 04-12-2002 04:04 Edit Quote

OK so this is really annoying. In my tiny little style sheet I have the following:

<STYLE>
BODY {background-color:#000000; color:#CCCCCC; font-size:14px;}
</STYLE>

and on my page I have some writing inside a table, now for some strange reason that writing inside the table is the right color, but the font-size is not working. I even tried to change the font-size to 144px and it didn't have any effect on the writing inside the table. Can anyone tell me why?


http://www.kewlster.com

twItch^
Maniac (V) Mad Scientist

From: the west wing
Insane since: Aug 2000

IP logged posted posted 04-12-2002 04:11 Edit Quote

try this:

BODY, TD {background-color:#000000; color:#CCCCCC; font-size:14px;}

s t e p h e n

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

IP logged posted posted 04-12-2002 04:13 Edit Quote

maninacan: What have you tested this in? NS4.x and some browsers from the same period had problems with lots of some tags and it was always best to go for:

body, td, th, p {
BODY FONT STYLE
}

So this might help fix you problem. I did think that any inheritance problems had been fixed in more recent browsers but if the text works right outside of the table, there are no styles on the table and there are no FONT tags then that may be your solution.

[two minutes too slow!!]

Emps

[This message has been edited by Emperor (edited 04-12-2002).]

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

IP logged posted posted 04-12-2002 04:20 Edit Quote

Yeah, I'm pretty sure that's a bug that you just have to workaround with what Twitch said.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu