Jump to content

cssfreakie

Staff Alumni
  • Posts

    1,674
  • Joined

  • Last visited

Everything posted by cssfreakie

  1. some little green man ones told me only jedi's can truly handle <marquee>
  2. Maybe just build a registration +activation application. That way you show you show you are able to use php and mysql. Are able to validate sanitize prevent automated systems with a little captcha and use common sense. You can make it as complex as you want, but that is up to you.
  3. can you maybe rephrase what your asking I have no idea what you are saying (be precise)
  4. font-family: 'Bamini Tamil'; ' src: url('www.kvijayanand.zzl.org/fonts/bamini.ttf'); remove the single quote like so: font-family: 'Bamini Tamil'; src: url('www.kvijayanand.zzl.org/fonts/bamini.ttf'); small tip: validate your css here: jigsaw.w3.org/css-validator/
  5. I am pretty sure that if you post your code, or a link to an online example, you will get more responses.
  6. i have no idea what you mean with that. You mean hacking as in sneaky people that alter it and screw up the result? No that is as easy as changing hidden fields or getting a beer out of the fridge. if you mean to hack your code to add this attribute, that is easy too, just change your code a little. Keep in mind, you know what you expect,.. (right?) all you want the end-user to do is add a comment I guess and not change the title. So when you query the database don't use the value of the hidden/disabled fields. easy not?? It all boils down to logic. What do you expect from your user? SO what fields do you allow or accept the values from? Style your form the way you want. There is no best (or better) way apart from some design and accessibility standards. Just have some guts and go for it. and ask your end-user for feed back or allow them to easily provide it to you. Listen to the customer...
  7. well that's like asking what is better coffee or thee? It depends on what you want and how you want it to look. There is no best way as far I can see. Just do something that makes sense to you and your end-users. Try that disabled attribute out and see if you like it. As far as using (isset) check the manual, for the explanation given. In a nutshell you check if a variable is set. You do that because if you don't check that and you echo out a variable that is not set you get an error. $setvariable = 'blablabla'; echo $notsetvariable; // will produce an error echo $setvariable;
  8. Not sure what you are exactly trying to do here, but "hidden" is indeed view-able in the source. (and can be altered so can not be trusted as is) If you want to display a title but you don't want anyone to alter it. Just display it the way you want. Btw instead of using hidden you might want to use the following: <form action="" method="post"> <input type="text" name="monkeys" value="gorilla" disabled="disabled"/> <input type="text" name="color" value="brown" /> </form> so give this a try (disabled="disabled")
  9. you can't do that, your using single quotes around the string you echo. If you use them inside that string, you need to escape the single quotes. Like so: echo 'lalalala this is a string isn\'t it?'; So your code should be: onclick="setTable(\'sidemenu\');return true">
  10. try: background: -moz-linear-gradient(center top , white 16.45%, #fff 10%, #DE4D20 20%, white 80%, #566991 85%, white 85%) repeat scroll 0 0 transparent just a small thing, don't use 3 different colors in your gradient it's 2011
  11. It would indeed be useful if you would actually post code, instead of asking us to write the code for you. If you know how to set the css withjavascript all you have to do is to remove the float on the element and add margin:0 auto; ones you make the other dissapear.
  12. you mean font or characterset? anyway a better to the point forum would be: http://tech.groups.yahoo.com/group/tscii/ in case you mean a font instead of a character set, show your complete code you used. But I am pretty sure you meant character set.
  13. I have only 1 idea left: maybe the order of you pseudo classes are incorrect but that seldom causes problems in modern browsers. might want to have a look here. (5.11.3 The dynamic pseudo-classes: :hover, :active, and :focus) http://www.w3.org/TR/CSS2/selector.html#pseudo-class-selectors especially the part that says: -edit: I highly doubt the last part though because It is more aimed at links
  14. well it works here, make sure though you validate your form. http://validator.w3.org/check?uri=http%3A%2F%2Fwww.etcworld.co.uk%2Fsn%2F&charset=%28detect+automatically%29&doctype=Inline&group=0 (easy fix: place a <p> around all input elements) what version of safari you use??
  15. to prevent a "Yes it does"," no it doesn't" - discussion I tried this in safari 5.03 and it worked. But I added as you would expect atleast a body and html tag and a doctype. If you want more help , maybe place a link to an online version, so we can have a look. (maybe some other scripts are screwing things up)
  16. works fine here. Maybe validate your complete page here(http://validator.w3.org/), and remove all errors. always a good thing anyway.
  17. Frank, If you got a final version you want to post, maybe post that, so mods can have a look at it and decide on it. As a guru i don't have the magical power to transform your topic into a sticky. So for the time being I would grab a beer and wait until mods/admins picked it up.
  18. although the list I ones provided (not from 1998 but with the same history ) was not claimed or aimed to be extensive (in fact i stated the opposite) nor were the points all aimed at just rendering problems. They also include some advice aimed at (bad) stuff I saw (see) here pretty often. Like the use of tables for the sole purpose of making a template. Although that might not be the problem someone has, if I see it or any other bad practices, I tell them. And since those stick out, it saves time mentioning that stuff over and over again. And like most others I rather tell more ones I spot something (odd) than just solve the problem. (same is for the php forum, to prevent sql injections or other nasty stuff) And so, I like the idea to give a small guide how to post a question as you proposed... (although quite some points are already stated in the forum guidelines) besides a short checklist of better practices on the subject. Now I know there is and always will be a debate on what is best. conditional comments vs css hacks vs conditional IE classes? full resets.css or more minimalistic ones. But ones you played around with it and practised enough, you will indeed notice that a full reset.css might be overkill, so you make your own or use one that suits your needs. But to start of as a newbie a full reset forces to set styles to pretty much everything so it makes you learn the whole thing (for my point of view). So in a nutshell yes a good Idea to have 2 things, - a guideline for posting for as far as it is not already mentioned in the general guidelines. - A checklist of 'some' better practices since 300 a.d. (meant for newbies and anyone that blames IE for there own incompetence and lack of reading)
  19. Well in a way they are. it's not shocking at all, each browser has it's own things and if you want you can make your own. The good thing is if you would develop for firefox (properly) the only thing you have to tweak is for ie 6 7 and sometimes 8 so in that sense, it doesn't matter that it is only supported by IE. P.s. if your topics are solved mark them, saves others time reading through.
  20. lol if you're wondering, in portuguese it's DADO and DADOS if you guys are wondering dice in Swahili is kete..
  21. well if you don't want to allow iframes. make sure the input of your users is as expected. I assume you have a some sort of a form where one can insert a link (and apparently also an iframe). What i would do is make an input field, and validate if the value is as expected. In this case is it a valid URL if not tell them. for instance as follows: <?php $string = $_POST['url']; // value comes from form if(filter_var($string, FILTER_VALIDATE_URL)){ echo 'correct'; // use it }else{ echo 'incorrect'; } ?> As for outputting the url you could use htmlspecialchars() to prevent that the current iframes are being loaded or other sneaky things happen. (mostly to deal with stuff that was not ones validated ) \ <?php echo htmlspecialchars($url); ?>
  22. lol ran out of toilet paper? As for not upgrading, I am pretty sure your system admin is around 55 and always busy doing nothing. ANyway books are the way to go.
×
×
  • 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.