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 1 of 1
  1. #1
    Regular Coder
    Join Date
    Aug 2009
    Posts
    411
    Thanks
    119
    Thanked 0 Times in 0 Posts

    dl alignment issues

    hi, i'm trying to get the dl with the Phone Numbers on this page to appear in the upper right in the same structure/alignment as the attachment but I'm not sure how to go about it.

    here's the html:
    Code:
    <dl id="phones">
        <dt>LOCAL ONLY</dt>
        <dd>202-544-7200</dd>
        <dt>TOLL FREE</dt>
        <dd>877-721-7910</dd>
    </dl>
    here's the css:
    Code:
    #phones {width: 500px; background:red; color:#FFF;}
    #phones dt {background:green; font-size:10px;}
    #phones dd {background:blue; font-size:32px; text-shadow:2px 1px 3px #000;}
    I just put the background colors in there to make it easier to figure out what i'm working with.

    any suggestions on how to best go about this?
    Attached Thumbnails Attached Thumbnails dl alignment issues-asdf.jpg  


 

Tags for this Thread

Posting Permissions

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