Jump to content

TONYTOC

Members
  • Posts

    11
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

TONYTOC's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Sorry, and thank you very much that did the trick.
  2. Hopefully you guys can help me with this one. I have a stats module running on my site which has progress bars generated on the ranks and some awards given in the game. The code below works great on FF and chrome but IE is not handling the html correctly. The bars are way to fat on ie. function generateProgress($max,$score){ // Last Rank reached? if ($max == '0') $max = $score; if ($score > $max) $score = $max; // Generate the width $width = number_format(floor(($score/$max)*100), 0); $width = ($width < 1) ? 0 : $width; // Generate the bar return '<div class="progressbar"><div class="bar" style="width: '.$width.'%"></div></div>'; } site: http://www.toctheothercrew.com/modules.php?name=BC2_Stat_Tracker The author of the code is a pretty busy young man so id like to solve this one with some outside help.
  3. Thanks guys! I believe im all setup now thanks to you all. I would have never gotten there on my own. Those time stamps are when the actual match was recorded on the server so i had to leave them in there. I changed it to 3 columns to keep the files fairly legible. Thanks again.
  4. I really need to leave the file names intact as its the best way to find the match you are looking for since they are date and time stamped. As far as size being an issue, i can change the text size to anything. Are you saying that if i reduce the size then the script you gave me should list them properly? Ill play around with that and see what happens. Your guys input is greatly appreciated. edit: crap you guys are too fast.
  5. sorry about that try..http://24.31.188.173/
  6. right now its on..http://192.168.1.178/ and then click on match demos link edit:thx for that tip Andy-H, that got rid of those unsightly purple lines that show up under the text once clicked on.
  7. Ok cool thats getting me closer. That only puts the results into groups of 4 straight down. What im wanting to do is have them in rows of 20 and 4 columns.
  8. ok i finally got it. Thx for the ' vs " tip. Now i just need to know how to list them into 4 columns. All the help on columns is geared for table querys which i cant seem to apply to my situation.
  9. Hmm maybe im not applying this correctly. First i only have the style setup in this particular .php and do not have it in my style.css. Do i need to put this syle into my .css page or is there a way to just reference from inside this .php.
  10. Thx for help but unfortunately i could not get that to work.
  11. I have a page that pulls up all the files in a folder for download. My problem is 2 fold. First i dont know how to apply a text style i have to the results (they are purple and i want them white) and second i have no idea how make them into columns. here is my syle: And here is what i have to pull up the files: I have tried..... print("<a href=\"/demos/".$file."\"><span class="downloadtext">".$file."</a><br />\n");but of course it does not work. My vision was to have the files in 4 rows of 20 on a single page (i have not went far enough to change font size(what i have will be to big eventually). Very very new to this so if my question sounds like gibberish just let me know. Here is what i get with the above code:
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.