Jump to content

shane18

Members
  • Posts

    283
  • Joined

  • Last visited

    Never

Everything posted by shane18

  1. If you were using Arial font, and you had a 239x44 pixel box... how would u go about making sure users weren't able to enter something that would break the box?
  2. There is a problem! there are many ways if the user posts a long status it can break it! You did simple small posts..
  3. that is because i made sure the text i entered for the example wouldn't surpass the given space... go to http://www.oddim.com/ and login as test/test and post status updates in many different ways... and see how it bugs out...
  4. The image describes my problem. Any help is greatly appreciated
  5. True, i have a perfectionist problem :/
  6. Thanks for the idea, but that is not exactly what i need... i need something that can measure the length of my string in pixels...
  7. xcandiottix, thats a good idea but what if it doesn't surpass the allowed space and doesn't need the ... then its gona be their for no reason..
  8. But you have no (or very little) control over what typeface the browser will use. If the user does not have Arial on their machine installed, then an entirely different font may be used. I understand this, but that is their problem... I'm making it work for people who use Firefox, and have Arial font installed on their system.
  9. I just want to make it so if a user DOESN'T force the browser to display the text in a different way... the text will fix the 245x41 div box... i use arial font and i like it and limiting the amount of text allowed by characters isn't good enough cuz arial isn't a monospace font which means w isn't the same width as W or a... etc.... any ideas??
  10. So basically there is only one way to completely make sure your text limit fits the space provided perfectly... and that is combining a mono space font with a max character limit... right? if that is right that sucks for the fact that you're limited to a few mono space type fonts....
  11. More less, the only way to perfectly limit text so that it doesn't surpass the given space is to limit the characters and use a mono space font?
  12. Well how do big companies like Facebook, and MySpace do it?
  13. Thanks for the great idea, but is there any other way to use the font I want and still make it work?
  14. How can you make it so if your text surpasses the space allowed... it will cut it and add the usual three dots... like "I went to six flags today and it..." limiting the characters doesn't work cuz if 20 W's can fill the space... you shouldn't limit it to 20 cuz 20 a's would only take half the space and it would look awkward if you know what im getting at... is there a standard way of doing this? Thanks
  15. I just found something that I think I should add... the browser re sizes images perfectly... the php code i used to crop the image was set at default quality of 75%... so the image looked crappy regardless.. so this post was all over a mistake.. there really was no problem WOOT!
  16. shane18

    Max Length

    Thank you, i knew about that but I wasn't sure if i could just add it to the regex it's self. ill do that though ty
  17. shane18

    Max Length

    /^[A-Z0-9._-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i How can I make this e-mail validation code limit the whole string to 6 to 80 characters...
  18. shane18

    HTML5

    is there any differences to how you must write HTML in HTML5? or do u just use the new DOC TYPE and do what u use too?
  19. shane18

    Inline Blocks

    why if i put 3 inline blocks in a row.... then have them in a div with a 2px top margin... why do some rows have 4pxs of a top margin them instead of 2....
  20. What is the best way to write the SELECT query to count rows in a table? SELECT NULL FROM `movies` ???? If it is the best way, what is it doing exactly?
  21. thanks for clearing that up
  22. well isnt scaling and resizing an image different in general? i heard if u scale a image to a smaller size, it will have less quality then if u resize the image to a smaller size... isn't scaling just a simpler and faster way to resize something? is that why the image quality is worst? does resize do way more steps to insure quality while scaling does just enough to get it done? is that what causes the quality difference? don't the terms "scaled to" and "resized to" mean different things?
  23. I would treat it like a normal HTML page and then let the e-mail program handle it the way it wants too...
  24. Well, I'm not anymore... i was just wondering why scaling a image makes it look SHITTY, when if u resize a image it looks crystal clear... what makes scaling different from resizing?
×
×
  • 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.