Jump to content

vinpkl

Members
  • Posts

    448
  • Joined

  • Last visited

Everything posted by vinpkl

  1. is there any specific reason why you want to nest list elements. can you show a structure print screen about what u trying to create. there can be other alternatives also. vineet
  2. http://php.net/manual/en/function.str-replace.php
  3. i think you are talking about a drop down menu on hover. that will require some javascript. vineet
  4. dont use so many divs inside list elements. they both are block level elements and will disturb your structure everytime. vineet
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> .borderblock{display:block; width:100px; float:left} .paging{border:1px solid #ff0000; display:block; width:10px; float:left; margin:1px} </style> </head> <body> <a href=# class=borderblock>Click me</a> <span class=paging>1</span> <span class=paging>2</span> <span class=paging>3</span> </body> </html>
  6. your html code has some bugs. is it full html of the particular div. you dont have closing </div> and </small>. <small style='font-size:11px;'> should be <small style="font-size:11px;"> what all you have in your "pageNumber" Class. vineet
  7. instead of VARCHAR set it as 'TEXT' in mysql vineet
  8. wordwrap will work if you have spacing between your words. at present you have only one word. <?php $text = "The quick brown fox jumped over the lazy dog."; $newtext = wordwrap($text, 20, "<br />\n"); echo $newtext; ?>
  9. absolute or relative paths works similar in windows and mac.
  10. try background-position:center or post the link
  11. echo $to_email how many addresses does it output vineet
  12. try this $query_rsShirts = "SELECT * FROM shirts WHERE shirtID IS $itemID";
  13. thanks FaT3oYCG it works with div vineet
  14. hi all my image is 1500px wide but i want to show it 100% acording to screen resolution. the image is getting fitted at 100% screen in all browsers except IE. IE stretches it to 1500px wide but other browsers dont stretch it. so how can IE also adjust it acording to screen resolution. vineet <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <a href=""><img src="image.gif" width="100%" /></a></td> </tr> </table> </body> </html>
  15. visit http://www.devarticles.com/c/a/Web-Style-Sheets/DIV-Based-Layout-with-CSS/
  16. you can use javascript to limit the words entered in textarea. vineet
  17. for best results use 'px' instead of '%' in width width:95px; vineet
  18. why are using opening and closing brackets. also without seeing more code nobody can judge the problem. vineet
  19. something like this $query = "SELECT * FROM tablename ORDER BY RAND() LIMIT 2"; rest you see the below link for ref' http://php.net/manual/en/function.rand.php
  20. like in your example you say after #1 and #2 div there should show next #3 and #4 div. when you will call randomly then it will not be shown serial wise like you said. random function will show the result randomly which ever number may come. http://php.net/manual/en/function.rand.php vineet
  21. hi generic is it something like this $encoded = unicode_encode ('“', 'ISO-8859-2'); This gives me error Call to undefined function unicode_encode() vineet
  22. hi all in my content opening quotes " changes to “ close quotes " changes to â€� what should i use. example : sams’s “whip lash” performances changes to sam’s “whip lashâ€� performances vineet
  23. is it showing perfect in all browsers. vineet
×
×
  • 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.