Results 1 to 4 of 4

Thread: Innerhtml

  1. #1

    Thread Starter
    Registered User
    Join Date
    Nov 2012
    Posts
    1

    Innerhtml

    HI

    how can make text(This will change the status of the records.) in bold and color and increase font size in the following tag

    <helpgrid id="changestatus_help" innerhtml="This will change the status of the records." />

    Any help.........................

  2. #2
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,398

    Re: Innerhtml

    Code:
    <b>
         <font color="red">
              html text here
         </font>
    </b>
    is how I would do it in html. But I don't know what innerhtml is :P
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

  3. #3
    Hyperactive Member coothead's Avatar
    Join Date
    Oct 2007
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    285

    Re: Innerhtml

    Hi there ajay696,

    and a warm welcome to these forums.

    CSS is the recommended method to use for the presentation of your pages.

    Place this in the head section of your document...
    Code:
    
    <style type="text/css">
    
    #changestatus_help {
        font-size:24px;
        font-weight:bold;
        color:#f00;
     }
    </style>
    
    
    Further reading:-


    coothead


    ~ the original bald headed old fart ~

  4. #4
    Frenzied Member tr333's Avatar
    Join Date
    Nov 2004
    Location
    /dev/st0
    Posts
    1,605

    Re: Innerhtml

    Wow... I haven't seen a <font> tag for years. Here's to 1999
    CSS layout comes in to the 21st century with flexbox!
    Just another Perl hacker,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width