User Profile

Collapse

Profile Sidebar

Collapse
obanite
obanite
Last Activity: Mar 4 '08, 03:47 PM
Joined: Oct 10 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • obanite
    started a topic XSLT: Multiple conditional variable assignment
    in XML

    XSLT: Multiple conditional variable assignment

    Hello,

    Is there a better way of doing:

    Code:
      <xsl:variable name="frlink">
      <xsl:choose>
      <xsl:when test="@isFriend = '0'"><xsl:value-of select="concat('friends.php?add=', @uid)"/></xsl:when>
      <xsl:otherwise> <xsl:value-of select="concat('friends.php?add=', @uid)"/></xsl:otherwise>
      </xsl:choose>
    ...
    See more | Go to post

  • obanite
    started a topic CSS/div z-index hack help

    CSS/div z-index hack help

    Hi,

    First of all, I know this is very hacky!

    I'm just wondering, is it possible through CSS (or maybe JavaScript) to make a div's background appear "on top" of its own content?

    I have a div, with some arbitrary sized, arbitrary content inside it. I want to make something the same size as the content appear over the top of it. Any ideas?

    Thanks!
    See more | Go to post

  • obanite
    replied to css, overflow auto and font sizes
    Excellent - doctype has fixed both problems - firefox now always has a scrollbar, and IE has one too (though it's buggy, the horizontal scrollbar causes it to add a vertical scrollbar). Thanks for the suggestion :)

    Unfortunately it seems like phpbb doesn't declare its doctype properly, and when I make it so it does not use quirks mode it screws up the layout. Argh! Going to have to see if I can hack it a bit more to make it work in...
    See more | Go to post

    Leave a comment:


  • obanite
    replied to css, overflow auto and font sizes
    Hi,

    This is the complete source of the page:

    <html>
    <body>

    <div style="overflow : auto">
    <div>ipsumloren dictowhateverip sumlorendictowh ateveripsumlore ndictowhateveas dasdripsumloren dictowhateveras dasdasdjasjdioa sjiosdjasiojdoa sjisdojiasojdo</div>
    </div>

    </body>
    </html>

    I just tested it on a...
    See more | Go to post

    Leave a comment:


  • obanite
    started a topic css, overflow auto and font sizes

    css, overflow auto and font sizes

    Hi!

    I'm having issues with css in FF and IE regarding overflow: auto and font-size.

    If I have a div like this:

    <div style="overflow : auto">
    <span>ipsumlore ndictowhateveri psumlorendictow hateveripsumlor endictowhatevea sdasdripsumlore ndictowhatevera sdasdasdjasjdio asjiosdjasiojdo asjisdojiasojdo
    </span>
    </div>

    I get a nice horizontal scrollbar...
    See more | Go to post
No activity results to display
Show More
Working...