Results 1 to 5 of 5

Thread: Can I make the text aligned left

  1. #1
    Join Date
    Nov 2005
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Can I make the text aligned left

    1) Script Title: AnyLink Vertical

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nkvertical.htm

    3) Describe problem: I'd like the text in the drop-down fields to be aligned left.

    For example the first link is "Overview." The first sub link in Overview is, "What's the tutorial about?" I'd like this hyperlink to be aligned left in its field instead of the default center.

    Can this be done?

    Here's the test page Communication Skills Tutorial for Managers

    Thanks,

    Kerry
    Last edited by Kerry; 08-22-2006 at 09:20 AM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The demo page's links are left aligned. The link to your demo is not working at the moment and appears to be an unregistered domain.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Nov 2005
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi John,

    Good catch. I had an error in the URL http://www.managercoaching.com/ It works OK now.

    Can you point me to the line in the code that is supposed to cause text-align left?

    I changed:
    .style14 {
    background: url('images/sidebarbg.jpg');
    color: #000;
    width: 250px;
    padding: 10px 15px 10px 20px;
    vertical-align: top;
    font-size: 90%;
    text-align: center;
    }
    to
    .style14 {
    background: url('images/sidebarbg.jpg');
    color: #000;
    width: 250px;
    padding: 10px 15px 10px 20px;
    vertical-align: top;
    font-size: 90%;
    text-align: left;
    }
    but that didn't do it.

    Here's the other code that uses the words text-align: left but it is, as you say, defaulted to align: left
    .style19 {
    text-align: left;
    color: #D01022;
    }
    Suggestion?

    Thanks,

    Kerry
    Last edited by Kerry; 08-22-2006 at 09:34 AM.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Code:
    #dropmenudiv{
    position:absolute;
    background-color: #FFFFFF;
    border:1px solid black;
    border-bottom-width: 0;
    font:normal 12px Verdana;
    line-height:18px;
    z-index:100;
    text-align:left;
    }
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Nov 2005
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks John, that did it.

    Thank yoiu also for all the work you do to help us.

    Kerry

Bookmarks

Posting Permissions

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