TechSpot

Signature not showing correctly

By Ididmyc600
May 20, 2007
Post New Reply
  1. tomrca

    tomrca TS Rookie Posts: 1,000

    well it really screwed me, cos i tried to open the attachment and thought the whole thing packed up lolol
     
  2. kitty500cat

    kitty500cat TS Evangelist Posts: 2,154   +6

    tomrca started a new thread here for what turned out to be the same problem.

    Taken from the CSS code in the document:
    Code:
    .sizedsig {
    max-height:36px;
    height:expression(this.scrollHeight > 36? "36px" : "hidden" );
    overflow:hidden;
    overflow-x:hidden;
    }
    The signature, then, is inclosed in div tags with a class attribute of sizedsig. This ensures that the signature section is no larger than 36 pixels; any text overflowing that is simply hidden. In my case, it shows nearly three lines, but that will vary depending on your text size.
     
  3. Julio Franco

    Julio Franco TechSpot Editor Posts: 7,059   +646

    That is correct, however given the rules that you shouldn't use any special BB code besides for linking (that means no bold, italics, centered text, etc.) three lines should fit just fine.
     
  4. tomrca

    tomrca TS Rookie Posts: 1,000

    well, for me to see the links, the print is almost unreadable. but after saying this, as long as they can bee seen by others is what is most important ?thanks to all that have taken time to partake..
    didn't realise i had done that. i suppose it comes with age:haha:
     
  5. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    For me tomrca's sig link looks like dots in Opera 9.20 (Linux) and IE7 (Windows). OK in Firefox 2.0 (Linux) and IE6 (Linux)
     
  6. Mictlantecuhtli

    Mictlantecuhtli TS Evangelist Posts: 4,345   +11

    It depends on your browser's default font and font size.
     
  7. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    Hum.. If my browser's default font was nonexistent in size, then I would surely get the same issue on many other webpages, no?
     
  8. kitty500cat

    kitty500cat TS Evangelist Posts: 2,154   +6

    How do you mean, if your default font was nonexistent in size?

    If you mean that text would be hidden on other webpages, probably not unless they specified a maximum height for the section which the text exceeded. Even if the text did overflow, it might not be hidden unless they specified that as well.

    It's pretty cool what you can do with CSS.
     

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...