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: *

  1. guitardave78

    Label position on Checkbox

    To centre on the screen play with <style> .wrapper{ width:100%; } .checkboxes{ width:700px; margin:0 auto; } .checkboxes label{ display:block; width:100%; text-align:center; } .checkboxes .chkdiv{ width:140px; float:left; margin-right:5px; text-align:center; }...
  2. guitardave78

    Label position on Checkbox

    All doable, just have to play with the chkdiv width <style> .checkboxes label{ display:block; width:100%; text-align:center; } .checkboxes .chkdiv{ width:140px; float:left; margin-right:5px; text-align:center; } </style> <form class="checkboxes"> <div class="chkdiv">...
  3. guitardave78

    Label position on Checkbox

    Try this <style> .checkboxes label{ display:block; width:20px; text-align:center; } .checkboxes .chkdiv{ width:20px; float:left; margin-right:5px; text-align:center; } </style> <form class="checkboxes"> <div class="chkdiv"> <label for='0'>S</label> <input...
  4. guitardave78

    Checking input date agains a file of holidays

    Hi Not totally sure I understand, but from the point of view of javascript being able to see the asp - order is everything. <% dim dStartHols(100), dEndHols(100) holsSql = "SELECT Start_Date, End_Date from lawn_holidays " &_ "Where UserID='" & Request.Cookies("userid") & "' " &_...
  5. guitardave78

    UTF8 to HTML

    Hi all. I need a function that will convert a string into html characters (for an HTA application) For instance I need to be able to convert Russian into html encoded characters (&#1234;) Any ideas? Thanks }...the bane of my life! http://www.yetanotherreviewsite.co.uk http://www.fuzzyd.co.uk
  6. guitardave78

    Merge node lists Little bit of XML

    Hi all. I am using xmlhttp to read some xml files. I have 2 node lists (rss items) Is it possible to merge these, without looping through the items and appending the child nodes? Thanks }...the bane of my life! http://www.yetanotherreviewsite.co.uk http://www.fuzzyd.co.uk
  7. guitardave78

    Run a macro on a record save

    Hi all. I want torun a macro to create a new id (first 3 letters of the surname + 001 etc any ideas on best way to do that welcome!!) My big problem is how do i run the vba function when I save a record. I keep having to focus to the id field on the form which disrupts things!! ANy ideas as I...
  8. guitardave78

    Listbox - SELECT values according to variable

    Give this a go <% function isSelected(strVar,strOpt) dim strArr : strArr = split(strVar,",") dim selected : selected=false isSelected="" if ubound(strArr) > 0 then for n = 0 to ubound(strArr) if lcase(trim(strArr(n))) = lcase(trim(strOpt)) then selected = true exit for end...
  9. guitardave78

    create new table from a union join

    Thanks, i had brackets that were wrong lol. Need to get mysql 5 and just use a view me finks!! }...the bane of my life! http://www.yetanotherreviewsite.co.uk http://www.fuzzyd.co.uk
  10. guitardave78

    create new table from a union join

    Hi all. I have a query that uses a union join to create a set of records. Is there an easy way to create a new table based on this data? Thanks }...the bane of my life! http://www.yetanotherreviewsite.co.uk http://www.fuzzyd.co.uk
  11. guitardave78

    Loss of context while navigating web site.

    If you are on a load balanced server that does not have correct session managment this can happen. Basically if you are on server cluster a and then you get switched to cluster b the session is lost!! }...the bane of my life! http://www.yetanotherreviewsite.co.uk http://www.fuzzyd.co.uk
  12. guitardave78

    response.Write if no SQL results

    Think this is what you are after <%if rsDate.eof then%> No Records <%else%> <table border='0'> <tr> <% for each fieldItem in rsData.fields Response.Write vbTab & vbTab &"<td bgcolor=""#EBDDE2""><strong>" & fieldItem.name Response.Write "</strong></td>" & vbCrLf next...
  13. guitardave78

    Download to file without creating a file

    Hi, This is the bit I have, what I am trying to do is create a file in memory and download it using similar code to what you have posted. I need to get a string into a text stream somehow!! Thanks though :D }...the bane of my life! http://www.yetanotherreviewsite.co.uk http://www.fuzzyd.co.uk
  14. guitardave78

    Download to file without creating a file

    Hey guys and gals I would like force a download of a file that is created in memory. I have a string that I was saving to a text file. You then download the textfile. I would like to somehow miss the save step and just go straight to download, is this possible with binarywrite and streams or...
  15. guitardave78

    Upload files without 3rd party components

    Google, freeaspupload I use this all the time!! }...the bane of my life! http://www.yetanotherreviewsite.co.uk http://www.fuzzyd.co.uk
  16. guitardave78

    List of virtual directories

    Hi all. I have an app that shows a list of directories is a site using FSO. Is there a way of listing virtual directories in a site as I would like to list all the folders in the site, not just the physical ones. }...the bane of my life! http://www.yetanotherreviewsite.co.uk...
  17. guitardave78

    Insert HTML at word Bookmark

    It is a string. There is no code to show, all i have is str="<b><i>Hello</i></b>" I am merely trying to find out if there is any way of putting this into a word doc and have it appear in the document as bold itaic text. I have sorted it using the htmlproject object and parsing the actual HTML...
  18. guitardave78

    Insert HTML at word Bookmark

    The html code is passed to the application as a string yes. So the clipboard has html tags in it. I have seen that it is possible to do by encoding in a particular way before it enters the clipboard and attaching certain headers, but not seen a definitive way lol. }...the bane of my life...
  19. guitardave78

    Insert HTML at word Bookmark

    Sorry I am saying it does not work at all. If you try to paste <strong>hello</strong> or <b><i>Hello</i></b> that is exactly what you see in the word document. I have done some more research and it appears there are some conversion steps needed including utf8 encoding. }...the bane of my life...
  20. guitardave78

    Insert HTML at word Bookmark

    mm Getting there, but I need it to work from html code so <strong>hello</strong> }...the bane of my life! http://www.yetanotherreviewsite.co.uk http://www.fuzzyd.co.uk

Part and Inventory Search

Back
Top