Jump to content

Reg Edit

Members
  • Posts

    411
  • Joined

  • Last visited

Everything posted by Reg Edit

  1. (An error occurred while I was adding my reply, and the reply count remained at 0 - so I am adding this new reply to give the reply count a kick!)
  2. How about using a table? <table border="0" cellpadding="0" cellspacing="0"> <tr> <td><img src="images/picture.jpg"></td> </tr> <tr> <td>My caption</td> </tr></table> You can then use CSS styles to set the font, line things up and so forth.
  3. Reg Edit

    Only Date using xsd

    But the value you've shown is a date, in one of the XML date formats (see http://www.w3schools.com/schema/schema_dtypes_date.asp).Are you saying you don't want the time/UTC-offset included, you just want the date on its own?You should be able to format the date when you get the value from the textbox to your XML file. If you still need help, can you say more about the way you do this part.
  4. Reg Edit

    data-type query

    http://www.w3schools.com/xml/xml_cdata.asp
  5. I think you just have too much qualification on the inner for-each. So instead of: <xsl:for-each select="document/box">...<xsl:for-each select="document/box/surpriselist">... I think you need to use: <xsl:for-each select="document/box">...<xsl:for-each select="surpriselist">... The inner for-each will then be applied to the target of the outer for-each.
  6. Since browser vendors have traditionally not adhered to one standard, and also due to the (theoretical!) possibility of buggy browsers, I think this comes down to empirical testing, not standards. If you write a web app, you have to test it on the browsers you expect "most" of your target users to be using. I think this will remain true when (or if?) the main browsers become XHTML-based, since users will potentially continue to use all kind of (old) browsers just as at present.
  7. I guess the question of whether HTML is "valid" depends on which DTD it specifies... But HTML's never likely to be as strict as XML, and anyway, at the end of the day there's nothing to stop websites using "invalid" HTML, and browser vendors implementing the behaviour of their choice, irrespective of whether others say the HTML is valid or not....
  8. Works fine for me too, now you've made the changes. Opens in full window when I click the image.
  9. Jumped to wrong conclusion in my previous post: the problem is within the page that is the iframe target. It is the link in there that needs to specify target="_parent". So it looks as though you need to change <a href="http://www.tipfun.com" to <a href="http://www.tipfun.com" target="_parent"
  10. That's because your example has target="_top" and not target="_parent" which (as Chandu suggested) does what you are asking for.
  11. This is a fix for the Access import stage you're using: In Excel, save the worksheet as a CSV file In Access, import the CSV file With this two-hop approach, Access recognizes the data as being of type date/time.I haven't used mysql, but from what you say, the above should enable your approach to work.
  12. Reg Edit

    nz function

    Not all Access SQL can be used via OLEDB. For a discussion of alternatives to NZ, see for instance www.aspfaq.com/show.asp?id=2394.
  13. I agree, it doesn't seem to work and seems to be a bug in IE. As a workaround, I got a similar effect to work using a nested table instead of your rowspan=3: <html> <head> </head> <body> <table border="1"> <tr> <td colspan="2">top</td> </tr> <tr height="100%" valign="top"> <td> <table height="100%" border="1"> <tr> <td height="10px">aaa1</td> </tr> <tr> <td height="10px">aaa2</td> </tr> <tr> <td height="100%">aaa3</td> </tr> </table> </td> <td height="100%"> bbb<br> bbb<br> bbb<br> bbb<br> bbb<br> bbb<br> bbb<br> bbb<br> </td> </tr> <tr> <td colspan="2">bottom</td> </tr> </table> </body></html> Hope this helps.
  14. -> for(a=1;a<=b;a++)b is undefined
×
×
  • Create New...