Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About ATM

  • Rank
  1. Hey,I am trying to make an xsl stylesheet to process wikipedia text.for example <body>[[public transport]]</body>would be transformed into<body><a>public transport</a><body>I know I could do this in a number of different languages, but I would really like to do it in xsl for specific reasons.I have tried using transform function but have only been able to transform one character into another character, for example[[ into aaand the output is not as xml or html just raw text.Can anyone help me with this.Kind regardsRyan
  2. Hey,How do I enter standards mode in IE using an xml or xsl file?So that margin:auto; works?Thank you.
  3. ATM

    Center Align Layout

    Hey,This css is not working in IEI'm trying to center align a div on the page the css is div.page {background-color:#FFFFFF;border-color:#DDDDDD;border-style:solid;border-width:1px;height:auto;margin-left:auto;margin-right:auto;width:700px;} This div is directly inside the body.The url is http://development.rymax.co.uk/eacb/products.xmlandhttp://development.rymax.co.uk/eacb/products.xslThank you,
  4. I fixed it, If anyone is having the same problem all I did was move the javascipt to an external file.
  5. Hello,I'm using two pages one xml and one xsl, I just though I would mention it as that might be something to do with the problem, but I highly doubt it. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><title>******</title><style type="text/css">div.active {display:block;}div.back {border-bottom-color:#CCCCCC;border-bottom-style:solid;border-bottom-width:1px;color:#3333
  6. couldn't you have an if statement through the functionsomething along the lines of this var status=1;function something(){if (status==2){//code ...........}} then when you want it enabled status=2;
  7. Hey,I would like to position an div element at the bottom right of a text area.I would also like it so that whatever the width or height of the text area the div will always be over the bottom right cornerThe code would be like this: <div class="container"><textarea></textarea><div class="overtextarea"></div></div> Thanks,
  8. ATM

    style to scrollbar

    To be fair no-one will think any different of your site.It will be the same as every other site.But if you insist on changing it, you could develop one using javascript.
  9. ATM

    im having truble

    you have to use background-position to position the image where you want it.
  10. Sorry, I didn't really understand you, but I think this will help what your trying to do.View the properties to the image and look at its height and width.Then base the size of the div on the width and height of the image.I think this topic should be in CSS well as long as your using CSS to set the size of the div.
  11. I think its margin-left:auto;margin-right:auto;and shouldn't it be<div style="text-align:center;">rather than<div class="centre">
  12. Make Love, Not Warcraft.Perhaps make a unique script to display an object, or start developing for silverlight?Although I hate Microsoft, Silverlight looks quite good.
  13. .image {background-image:url(image.gif);background-repeat:repeat-x;background-position:100px 100px;}I think thats right.Actually I'm not to sure whether it will repeat both sides of the positioning.I don't think It will work now.You could just use a different div as the background.
  14. ATM

    Links in CSS

    You could do it in Javascript.You might be able to use the content:; in CSS, but I don't think its supported by IE.
  • Create New...