This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Deprecated <small> tag in "Guidelines For User"


  1. redrock
    Member

    In defining a field in a form, one of the options is "Guidelines For User", which I like to include (and I use the php version of the embedded code).

    One small problem is that the php generates html that includes the <small> tag, which has been deprecated.

    I would like to avoid this deprecated tag - for example, by making the "guidelines text" font be normal (thus omitting altogether the <small> tags).

    What file contains the <small> tags that I wish to erase?

    Set up a class in the style sheet:

    .small { font-size: 8pt; }

    Then in the page:

    <span class="small">Small text</span>

    Posted 13 years ago #
  2. redrock
    Member

    Sorry, the stuff about "Set up..." is to be ignored for now - it would be a way of modifying the css somewhere by setting up a new class, but let's forget that for now, keeping it simple.

    Posted 13 years ago #
  3. yuniar

    You can edit "includes/view-functions.php" file for that. Simply search into the file and you'll find it on few places.


    MachForm Founder

    Posted 13 years ago #
  4. redrock
    Member

    Thank you, it worked!

    Posted 13 years ago #

RSS feed for this topic

Reply