Jump to content

knowram

Members
  • Posts

    226
  • Joined

  • Last visited

Everything posted by knowram

  1. I found some great code at http://c82.net/article.php?ID=25 to make a checkbox list. however It dose not seem to work right with Safari. With every other browser when you click on the test associated with a checkbox it checks that checkbox. however in Safari you have to click on the checkbox to check it. I am new to both javascript and CSS so I am not sure where the problem is. Any help will be appreciated thanks everyone
  2. I am trying to use CSS to put padding around an image and then put a border on specific sides depending on where the image is. the desired effect is that the border lines are spaced away from the image by the padding. Here is the CSS I have <style> img { padding: 10px; } .br { border-right: 1px solid #5e5e5e; border-bottom: 1px solid #5e5e5e; } .bl { border-left: 1px solid #5e5e5e; border-bottom: 1px solid #5e5e5e; } .blr { border-left: 1px solid #5e5e5e; border-bottom: 1px solid #5e5e5e; border-right: 1px solid #5e5e5e;} .btl { border-left: 1px solid #5e5e5e; border-bottom: 1px solid #5e5e5e; border-top: 1px solid #5e5e5e;} .btr { border-right: 1px solid #5e5e5e; border-bottom: 1px solid #5e5e5e; border-top: 1px solid #5e5e5e;} .tlr { border-left: 1px solid #5e5e5e; border-top: 1px solid #5e5e5e; border-right: 1px solid #5e5e5e;} .tl { border-left: 1px solid #5e5e5e; border-top: 1px solid #5e5e5e; } .tr { border-right: 1px solid #5e5e5e; border-top: 1px solid #5e5e5e; } .all { border: 1px solid #5e5e5e; } </style> works great in Safari and Firefox but not IE. IE puts the borders right next to the image. Is there anyway to add space between the borders and the image? thanks for the help
  3. now i really did salve the problem the key was simple add border="0" to the <a>
  4. so that salved it for part of the site. on the second page I am using a javascript to load an image viewer it uses a rel="" tag to reference the javascript. but sense I am using padding around the images and have that problem with the link color I am trying to use an onclick command to triger that link but i don't know how to a the rel="" tag into the onclick command. any one know how?
  5. more info on the problem. It only happens when I have either a transparent border in the image or use padding around the image.
  6. I found the problem but I still don't know how to fix it. I have it set so that all of my links have a color other then blue but when I use an image as a link it uses that color as a border around the image (only in IE). is there anyway of stopping this from happening?
  7. I am not to javascript and have just started finding bits of code online and trying to add them to my site. I found a image rotator at http://javascript.internet.com/miscellaneous/random-image-rotator.html and a image viewer at http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm I was able to integrate them into my site and everything looked great in Safari but when I went to check it on a pc there is a orange square around the images. I would like to get rid of it if possible. the links are http://quest-productions.com/sound.php and http://quest-productions.com/imagepage/audio.php thanks for any help
  8. knowram

    text wraping

    sorry wrong button. here is the code that I have tried [code] <style> select { width: 100px; } option{ font-size: 12pt;} .test { font-size: 12pt; } </style> <form class="pick" action="test1.html" method="post"> <select name="selectName" size="4" multiple> <option class="test" value="one">first</option> <option value="two">second second second second</option> <option value="three">third</option> </select> </form> [/code] I other then putting the font-size in the select style i can't get the font to change and putting the overflow: auto; there dose not seem to do anything. any ideas
  9. knowram

    text wraping

    Then again I am still working on this problem. i think i found the solution overflow: auto; but i can't seem to get a style to take any afect on an object element
  10. knowram

    text wraping

    I found another way of doing it but I have a question about that to. http://www.phpfreaks.com/forums/index.php/topic,124429.0.html
  11. I found a great tutorial on making a scrollable checklist at c82.net which works great on ever browser but Safari. In Safari clicking on the text will not select the check box. I am not sure but I am thinking it might have something to do with display: block compatibility with checkboxes in Safari but I am not sure. Here is the code from c82.net/article.php?ID=25. [code] <style> .checklist {     border: 1px solid #ccc;     list-style: none;     height: 20em;     overflow: auto;     width: 16em; } .checklist, .checklist li { margin: 0; padding: 0; } .checklist label {     display: block;     padding-left: 25px;     text-indent: -25px; } .checklist label:hover { background: #777; color: #fff; } </style> <form action="#" method="get">     <ul class="checklist">         <li><label for="o1"><input id="o1" name="o1" type="checkbox" /> Aenean malesuada ante eget tellus</label></li>         <li><label for="o2"><input id="o2" name="o2" type="checkbox" /> In posuere augue id velit</label></li>         <li><label for="o3"><input id="o3" name="o3" type="checkbox" /> Nullam a dui ac augue adipiscing sodales</label></li>         <li><label for="o4"><input id="o4" name="o4" type="checkbox" /> Vivamus consectetuer ante eget urna</label></li>         <li><label for="o5"><input id="o5" name="o5" type="checkbox" /> Aliquam id felis cursus purus tristique condimentum</label></li>         <li><label for="o6"><input id="o6" name="o6" type="checkbox" /> Suspendisse posuere lectus vitae velit consequat volutpat</label></li>         <li><label for="o7"><input id="o7" name="o7" type="checkbox" /> Fusce condimentum nulla et tortor.</label></li>         <li><label for="o8"><input id="o8" name="o8" type="checkbox" /> Proin consequat faucibus mi</label></li>         <li><label for="o9"><input id="o9" name="o9" type="checkbox" /> Etiam a lectus quis massa viverra laoreet</label></li>         <li><label for="o10"><input id="o10" name="o10" type="checkbox" /> Pellentesque gravida lorem vel odio</label></li>     </ul> </form> [/code] It would be great if a work around is out there. thanks for any help.
  12. knowram

    text wraping

    I am using a multiple drop down window like you can see at http://www.apple.com/downloads/dashboard/ and like they have some of the options are longer then the width of my boxes. dose anyone know how they are making the text wrap?
  13. That kind of made sense to me I am using php version 4.3.11 which is the newest that I can install on my mac and it is using Client API version 3.23.49. If I understand what you are saying it would be best to update my mysql client libraries right? If that is true that is a part of mysql or php? or could you give me more info on using the OLD_PASSWORD function? thanks
  14. I just installed MySQL and php and phpmyadmin on my old ibook thanks to help from nerdvittles.com. Now i am trying to set SMF's php form. After I submit all the info it asks for I get this error "Client does not support authentication protocol requested by server; consider upgrading MySQL client" and I have no idea what it means. I am using Safari to run the installer if that maters. Thanks in advance for the help
  15. I have seen adds on different pages where there is a cat on the bottom of the image and when you move your mouse over the image a ball moves with it and the cat moves his head back and forth following the ball. Or ones where a target follows the mouse and  you have to shout something. My question is what language provides this real time mouse tracking, and what is it called? I am trying to build this into a site. Thanks for any info
  16. I gave that a try in both Safari and fire fox but nothing seemed to happen. how would I make my own checkboxes?
  17. I am looking for a simple script that runs a arin whois given an ip address. Dose anyone know where I can find one? thanks
  18. Would you be willing to give me a quick example of how to use CSS zoom? I have not used CSS yet.
  19. Is there a php function that will check to see if a variable consists of either a number or letter combination? thanks for the help
  20. Is it possible? If so how?
  21. That is what I would think to. But if $yes == "no" it still runs the code where I have //do something here
  22. given $yes == "something" why will this work. [code] if ($yes != ""){ if ($yes != "no"){ //do something here } } [/code] but this will not [code] if ($yes != "" or $yes != "no"){ //do something here } [/code]
  23. I was not able to make that work. Really I think I am just looking for a way to see if a variable starts with specific letters.here is an example of what i am trying to do. given $array1 = array('med:1','med:2','med:3','temp','start'); I would like to write a for loop something like this [code] for ($i = "0"; $i <= "4"; $i++){   if ($arra1[$i] starts with "med:"){ //do something}   else{ // do something different} } [/code]
  24. Is it possible to do a in_array search for a variable that begins with a specific first 4 letters? this would make things easier by far. thanks for the help
×
×
  • 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.