|
Posted by Bernhard Sturm on 04/04/07 08:42
bbxrider wrote:
> trying to set specific font for a table and while we at it, how about rows
> too?
> i've tried with css
> < table id=font15px> .font15px{font-size: 15px}
> <table class="font15px"> #font15px{font-size: 15px}
> without css
> < table font-size: 15px>
>
> but the font size still is the one set in my css body attributes?
>
I suggest you read a bit about basic CSS-handling. It seems that you
don't know how to use IDs and classes. The correct above examples should
read:
your first try
---------------
HTML:
<table id="first">
CSS:
table#first {
font-size:1.2em; /* don't use px as units! */
}
your second try
---------------
HTML:
<table class="second">
CSS:
table.second {
font-size:1.2em; /* don't use px as units! */
}
your third try
--------------
HTML:
<table style="font-size:1.2em;"> <!-- but don't mix structure with
layout -->
that gives you a starting point. But it might not work as you expected,
it's just correct CSS...
HTH
bernhard
> maybe its not possible??
> bbxrider
>
>
>
--
www.daszeichen.ch
remove nixspam to reply
Navigation:
[Reply to this message]
|