[Html] Text size in table

Solved
kilian Posted messages 8675 Registration date   Status Moderator Last intervention   -  
 PaX -
Hello,

I've been trying for a while to change the text size in a table on an HTML page, but I can't figure out how to do it....
I might be a bit clumsy on Google, but they're only offering CSS solutions (a language I don't want to learn right now)...
Is there a simple HTML alternative?

Thanks in advance...

Kilian, beginner in background tasks.....

9 answers

  1. PaX
     
    In the table tag, you can do something horrifically gross but it works: add some CSS code.

    For example, to set the font size for the entire table: <table style="font-size:1em;"> table </table>
    13
  2. fred
     
    Look for the IDs in CSS... And apply that to your table, or to your td/th.
    8
  3. Vedel
     
    I couldn't find a solution other than changing the font globally with <font face="fontname"><table> ... </table></font>

    For the font size, strangely it doesn't work, except line by line... quite tedious, but effective.

    In such a case, CSS is really suitable. But depending on technical constraints, you can't always do what you want ^^
    5
  4. Neiflheim
     
    Well, you just need to put </font> where you want it to stop, and then put it back later if you want :)
    2
  5. kilian Posted messages 8675 Registration date   Status Moderator Last intervention   1 526
     
    <h> is a tag for the size of a title, the text generated in
    is small but bold... So that doesn't really suit me....
    Thinking it over, I believe there's no other solution than to write .... for each line of the table....

    Thank you still :-)

    Kilian, beginner in background tasks.....
    </h6></h>
    1
  6. Anonymous user
     
    yes size I hadn't thought of that.
    good continuation

    DURALEX SED LEX
    1
  7. zakariamam Posted messages 28 Status Member 15
     
    ohhh!! I created a part of these tags but it didn't work; you can even define the color and the default font (but for the whole page) here they are:
    <font color=#"the default color" size="the default size" face="the default font">
    see you soon!
    -2
  8. Anonymous user
     
    Hello
    if you use the tags <h1>..........<h6> inside the table tags, does it not work?

    DURALEX SED LEX
    -3