Search results

  1. D

    How do you

    I think you would gain some good knowledge from reading through this lesson. http://www.w3schools.com/html/html_primary.asp
  2. D

    CSS Formatting issue

    I am using a .php file. I knew about the fix you listed above but if i use it in FF or any other browser i get a 16 pixel padding on the right also with IE8 it is 18px to be exact lol. The content that loads into the div has alternating row colors so it does not look right unless it reaches...
  3. D

    CSS Formatting issue

    It works in the older versions of IE but not in IE8 I guess IE8 screwed up all kinds of functions. I have to completely redo some of my php because if the <td></td> is blank the css will not create the border it simply leaves it out. I have to enter & &nbsp; into every blank field. Which...
  4. D

    CSS Formatting issue

    That is only going to work to get rid of the horizontal scroll bar what about the content aligned right in the table that is cut off by the vertical scrollbar. If I add in a 18 px margin it looks bad.
  5. D

    CSS Formatting issue

    I am working on a css design but I am having issues with the following design CSS #enclosure { height: 150px; width: 668px; overflow: auto; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; border: 1px solid #566F8E; } HTML <div id="enclosure">...
  6. D

    DATEDIFF Function

    I managed to figure it out. I converted this from another database language and the code I displayed above was sql but not mysql. I just had to remove "d," and it works fine.
  7. D

    DATEDIFF Function

    I have a script that uses the following line $month_sql = mysql_query("SELECT * FROM sales WHERE DATEDIFF(d, payment_date, NOW() ) < 365 ") or die(mysql_error()); I have not been able to get the code to work properly. I get the following error. Incorrect parameter count in the call to native...
  8. D

    Index.html will not load

    liguehs is correct the server is looking for index.html. You really have to watch capital letters since most servers are case sensitive.
  9. D

    1000 Credits PHP to ASP

    I have two php files that need to be converted from PHP to ASP. I am offering 500 credits per file to convert them. image.php is a file that creates a captcha image. The link below is the php code in a text file www.demonwares.com/customer_files/asp_image.txt process.php is a file that...
  10. D

    Contact Form

    Thanks for adding to the post cybrax.
  11. D

    Contact Form

    First off I'm sorry if this is in the wrong forums but my goal is to help out those trying to make contact forms. I have been on many forums where people are trying to figure out how to make a php contact form. Many people link to tutorials or w3schools. I created a php contact form generator...
  12. D

    Javascript Scollbar Movement

    Thank you so much. I was just getting so frustrated my brain quit working there for a day. descalzo I added to your rep Thanks again.
  13. D

    Javascript Scollbar Movement

    I entered your suggestion into my coding ant it does move properly. I created a test page you can see at the link below. www.demonwares.com/sdm The code in question is as follows. function shrink(){ percent = zoom_percent / 100; var w = document.images; var width = w[0].width...
  14. D

    Javascript Scollbar Movement

    I have tried that but it does not work.
  15. D

    Javascript Scollbar Movement

    I am trying to understand the mathematical equations you are using to solve this. The zoom percent is going to be adjusted for different images so i need to understand how to adjust this. I am going to dumb down your calculations to see if I am understanding them properly. Zoom in works...
  16. D

    Javascript Scollbar Movement

    Ok i used the code below to zoom in but i have been unable to figure out how to get it to zoom out. document.getElementById('image_box').scrollTop = 1.5*scrollTopOld + 0.25*enc_h; document.getElementById('image_box').scrollLeft = 1.5*scrollLeftOld + 0.25*enc_w;
  17. D

    Javascript Scollbar Movement

    I started with an image that is over 60,000 px wide and sliced it into squares to decrease load time. I also decreased the size of the code so that the customer can zoom in and out to view the image. This image table is viewed in a fixed size div. The code below is the javascript i am using...
  18. D

    PHP error/warning

    I did mean to make is smaller but that being the error i suppose ill just get rid of it
  19. D

    PHP error/warning

    Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by...
  20. D

    Passing + in a php variable

    Thanks the the help it was driving me crazy. +REP +Credits
Top