Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: jimmyshoes
  • Content: Threads
  • Order by date
  1. jimmyshoes

    Is Coldfusion affecting my layout????

    using Firefox I have found the following. 1. Save the following code in 2 files and name 1 box.htm and the other box.cfm 2. double click box.htm in explorer (opens with firefox) 3. run localhost/box.cfm in firefox 4. Compare the layouts, they are different! If you compare the 2 layouts, the...
  2. jimmyshoes

    screen width problem

    I am trying to emulate the 960px screen width as exemplified at http://960.gs/demo.html My code however does not render at the same 960 px size. The horizontal srollbars of both pages do not match <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html...
  3. jimmyshoes

    Smashed laptop screen

    I have a compaq presario cq 50 and a friend accidentally hit the screen with a ball. The laptop seems to be starting ok, hard drive working etc but the scrren is wrecked. Is it possible to put in a new screen? Can I do it myself? Or should i get a new laptop?
  4. jimmyshoes

    cffileupload question

    <cffile action="upload" filefield="form.FileToUpload" destination="d:\home\your_domain.com\wwwroot\uploads\" nameConflict="makeUnique"> <cfset Uploaded_File_Name = CFFile.ClientFile> <CFOUTPUT>File: [#Uploaded_File_Name#]</CFOUTPUT> Is it possible to replicate this code using cffile...
  5. jimmyshoes

    Advanced query technique

    I have a fruit table as follows UserID Type 1 Orange 2 Apple 1 Pineapple 2 Kiwi 2 Pineapple I am trying to create a query which for example returns the userid of anyone who has both an Orange AND a Pineapple (in this case User ID 1) I have been experiementing with...
  6. jimmyshoes

    Rendering buttons

    i want to create some nice looking buttons! Is it a bad idea to use images for buttons For example <a href="somefile.html" onclick="document.myform.submit();return false;" ><img alt="Submit" src="submit.gif"></a> Is it better to style <input type="submit"> ?
  7. jimmyshoes

    centering spans

    The project I am working on renders images as spans with background images ( see code below ) I want to vertically centre 2 spans inside a box. One of the spans contains a background image with a dummy pixel (pixel.gif which is 1 pixel) and the other contains text. I have tried to centre with...
  8. jimmyshoes

    inline elements

    I understand that inline elements are laid out in lines and so vertical placement does not apply If this is the case, then why is it that <img> can be padded 'all round' whereas <span> can only be padded left and right <div style="border:1px solid #000000"> <img src="1.jpg"...
  9. jimmyshoes

    Safari and onblur

    Hi The following code works in ff and ie but in Safari onblur will not fire on an anchor ( although it works on a textbox). Is there a workaround? <a href="a.com" onclick="return false;" onblur="alert('blur')">lnk</a>
  10. jimmyshoes

    floats and absolute positioning

    I am trying to create a group of links each with a drop down box to create the following lnk1 lnk2 Box1 Box2 The code I have devised works fine in Firefox but is a jumbled mess in ie (and maybe safari?) I can achieve my desired effect without floats ( using just absolute and relative...
  11. jimmyshoes

    list based horizontal nav

    I'm experimenting with list based navigation I want to use a list to generate the following 1 2 3 I am using the following code <style> ul li{list-style:none;display:block;padding:10px;float:left} </style> <div style="border:1px solid #ffffff"> <ul> <li>1</li> <li>2</li>...
  12. jimmyshoes

    Centre text against image

    Is the following the correct way to center text on an image <p style="border:1px solid #ffffff">Text<img src="1.jpg" style="vertical-align:middle"/></p> I have been experimenting with this. the surrounding <p> takes on the height of the image and the text aligns to the image depending on the...
  13. jimmyshoes

    empty arguments

    Is it acceptable to leave arguments empty for example <script> function showIt(a,b,c){ if(a) alert(a); if(b) alert(b); if(c) alert(c); } showIt(1,2,3); showIt(1); showIt(1,null,null); </script> is showIt(1); ok or should you always use showIt(1,null,null);
  14. jimmyshoes

    positioning image links

    I am trying to position my image links 30px apart. I do not seem to be able to alter their vertical position. What's wrong? <div style="height:100px"> <a style="margin:30px" href="p.htm"><img src="1.jpg" /></a> <a style="margin:30px" href="p.htm"><img src="1.jpg" /></a> </div>
  15. jimmyshoes

    positioning different in ie and ff

    I am using<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> I am trying to create a very simple layout 123 456 <div> 123 <div style="position:absolute"> 456 </div> </div> Problem In firefox this displays as hoped...
  16. jimmyshoes

    Access link

    Hello Is it possible to access a link with getElementById I have tried the following but doesn't work <a href="1.cfm" id="t" onclick="alert(document.getElementById('t'))">L</a>
  17. jimmyshoes

    Form in a nested div layout problem

    The framework I use makes nested divs unavoidable and I have found that in IE7 putting a form inside a nested div creates an additional break For example <div style="border:#000000 1px solid;"> <div> <form name="1" action="1.cfm" method="post"><input type="hidden" name="k"/></form> 123 </div>...
  18. jimmyshoes

    can you explain this

    Hello I came across the following css .stat-title{clear:both;font-size:14px}.opened .stat-title{border-bottom:0;} Is it correct to interpret this as follows If a div of class 'opened' is contained in a div of class 'stat-title' then apply {clear:both;font-size:14px} to the former div The...
  19. jimmyshoes

    cfajaxproxy and cfcs

    I am experimenting with setting session variables using cfajaxproxy cfm page...... <cfajaxproxy cfc="m" jsclassname="myproxy"> <script> var myCFC = new myproxy() function showIt() { return myCFC.myFunc() } alert(showIt()); </script> cfc....... <cfcomponent output="false">...
  20. jimmyshoes

    CFMail issue

    I am experimenting with cfmail. I want to send an email in plain text format, however if I change the cfmail type attribute to "text" my email is still sent in HTML format What am I doing wrong <cfsavecontent variable="varContentTextEv"> <cfoutput> Some Text </cfoutput>...

Part and Inventory Search

Back
Top