Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    May 2009
    Posts
    37
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Superscript tag problem

    When ever i place the register symbol is a <sup></sup> tags it pushes the text down and makes the actual content "We Earn Our Reputation from the Companies We Keep" not line up with the content on the far right, any ideas on how to get around this. I would like to have the register symbol to have a superscript look to it.


    http://greensfelder.myimpactcms.com/default.aspx

  • #2
    New Coder
    Join Date
    May 2009
    Location
    LA, USA
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Hi there. V-aligning the DIVs isn't easy. Why don't you use a little table?

    Code:
    <TABLE width="100%">
    <TR>
        <TD>We Earn Our Reputation from the Companies We Keep<sup></sup></TD>
        <TD align=right style="vertical-align:bottom"><a href="contact.aspx" title="">Contact Us</a>    •    <a href="site_map.aspx" title="">Site Map</a>    •   <a href="disclaimer.aspx" title="">Legal Disclaimer</a></TD>
    </TR>
    </TABLE>
    Last edited by Apostropartheid; 05-30-2009 at 01:30 AM.

  • #3
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,949
    Thanks
    9
    Thanked 724 Times in 718 Posts
    How about:

    .sectionMarginBottomContent
    {margin:-5px 0 0 25px;}

    Edit: Looks like IE7 needs:

    .sectionMarginBottomContent
    {margin:-5px 0 5px 25px;}
    Last edited by SB65; 05-29-2009 at 10:37 PM.

  • #4
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Don't use a table. IE's a bit of a nasty one when it comes to super- and sub-script, so try a little negative margin in conditional comments like SB showed you.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •