Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2011
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Unhappy HTML Health Bar (PHP Backend)

    What I need is some HTML code that can render a health bar with the health/maxHealth on it. I just need the HTML bit to render the health bar. I hear this si possible using a div containing a span but I can't get this working. Please help.

  • #2
    New Coder
    Join Date
    Jan 2011
    Posts
    66
    Thanks
    10
    Thanked 5 Times in 5 Posts
    you must be a seriously l337 haXx0r lol

    umm maybe set your health as a percentage in a variable then echo that variable as the width part of a div tag ?


  •  

    Posting Permissions

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