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 SkipVought 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
  • 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

    Thanks for your help
  3. jimmyshoes

    screen width problem

    Well this is strange. It appears that in Firefox, these 2 code snippets are rendered with a different viewport size <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <div...
  4. jimmyshoes

    screen width problem

    I don't think I am seeing this ( using Firefox ) When I view the rendering of this code and the rendering at http://960.gs/demo.html the viewport sizes are definitly different ( I can tell becasue the horizontal scrollbar is differently scaled for each page)
  5. 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...
  6. jimmyshoes

    Smashed laptop screen

    On balance I think I'll get a new laptop!
  7. 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?
  8. jimmyshoes

    cffileupload question

    The above code does work with 'uploadall'. I had an error elsewhere. cffile.serverFile contains the file name of the last file to be uploaded ( not an array ). This works fine for me, each time a file is uploaded I can write to the database to record it. If say 4 files are uploaded then the...
  9. 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...
  10. jimmyshoes

    Advanced query technique

    Thanks for your help. After initial testing this query is looking good Select UserID From Fruit Where Type in (Select Tester from Test) Group by UserID having Count(Distinct(Type)) = (Select Count(Tester) from Test) It strikes me that this would be a good way to index items that occur in...
  11. jimmyshoes

    Advanced query technique

    Thanks for your help. It works well ( one typo, final line should be Pineapple.Type = 'Pineapple' ) I want to test which fruit a user has based on a table of possible values Table Test Tester Orange Pineapple I have come up with the following However, the results are not reliable. Also, if...
  12. 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...
  13. jimmyshoes

    Rendering buttons

    Thanks for your help
  14. 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"> ?
  15. jimmyshoes

    centering spans

    Thanks for your reply. Actually I'm just testing the concept of how to centre 2 spans vertically (where one span contains a background image) so this is all the code I have. I am trying to achieve this layout -------------------- Img Span Text span ---------------------
  16. jimmyshoes

    centering spans

    Thanks for your suggestions. I have tried line-height in Firefox, which is working well for the text, but the image is not centering vertically <div style="border:1px solid #000000;line-height:40px;"> <span style="background-image:url('1.jpg');"> <img src="pixel.gif"...
  17. jimmyshoes

    centering spans

    Thanks for your suggestion. However, this centers my 2 spans horizontally in the div , whereas I am trying to center them vertically. To demonstrate, this gives me ------------------------------------------ span2 span1...
  18. 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...
  19. jimmyshoes

    inline elements

    Thanks
  20. 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"...

Part and Inventory Search

Back
Top