• Please note that this section is for questions regarding the forum itself - it is not for fan game-related questions. If you have a question about a fan game, ask in the appropriate thread.

  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

The "sig size" hack

Geometric-sama

The Manly Man of Steel
  • 11,436
    Posts
    21
    Years
    There's a problem with it. It puts your sig into a sized div layer, regardless of how long it is. So when you have a small sig, like mine at the moment, even if it doesn't fill up the height it still displays a big blank space. Can you modify it to get rid of that?
     
    Not a clue. Can you calculate the height of the sig and use an if statement?
     
    Cool, thanks :P. The best way I know of doing it is with Javascript, but that still poses the problem of calculating the sig height. I'll think on it. I'm sure there's a way.

    Edit: Ty, who apparently wrote the code, tells me that it should use the max-height instead of height property. However, max-height doesn't work in IE... stupid IE.
     
    Last edited:
    Apparently it works in Mozilla/Netscape and Opera, but not with IE.
     
    Yeah, I see.. erhh I'm tired, try experimenting with the !important tag. it specifies that one tag should take precedence over another. All browsers understand this except IE. My idea was to create two rules for the sig limiter, one for ie specified normally, and one of the other browsers using the !important tag. This way, all the other browsers would know what to do, while IE will just display the default.
     
    Kwesi, I think your !important flag idea is probably the best to go with ^^;.

    Stevie-kun, I agree COMPLETELY.
     
    Steve, that didn't even make sense... we're talking about Internet Explorer, not the abbreviation o_O
     
    He meant that IE is a stupid browser.

    And Kwesi, I just realised your thing won't work, because even if you set max-height to take precedence it doesn't negate the effect of height. o_O
     
    Back
    Top