SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Jun 2007
    Location
    Plymouth uk
    Posts
    313
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question make text larger

    not sure if i should be here or css
    PHP Code:
    Echo "<p class=\"style3\">" $info['state'] . " " $info['type'] . " </p>"
    PHP Code:
    .style3 {
           
    text-aligncenter;
           
    font-size:xx-large;
           
    font-weight:bolder;
           

    this is how i print at moment but would like to get text larger but dont know how
    any help please
    Doug
    an old man of 60 trying to keep up with the youngsters he he
    http://lostpetsplymouth.net16.net

  2. #2
    SitePoint Addict
    Join Date
    Feb 2009
    Location
    Austin Texas
    Posts
    289
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Should be in CSS.

    You're not limited to the small, medium and large values for font-size. You can use values in em, &#37; or px.
    http://www.w3schools.com/CSS/pr_font_font-size.asp

  3. #3
    SitePoint Addict
    Join Date
    Jun 2007
    Location
    Plymouth uk
    Posts
    313
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for that looks just what i need
    cheers
    Doug
    an old man of 60 trying to keep up with the youngsters he he
    http://lostpetsplymouth.net16.net


Bookmarks

Posting Permissions

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