Results 1 to 2 of 2

Thread: Switch Content Script help

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

    Default Switch Content Script help

    hello,

    i am trying to use the switch content script as a menu and would like to single space the text. I have searched the code and tried inline and embedded css and cannot get it to view singlespaced, any ideas?

    thanks

    b

  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

    I assume you are referring to the spaces between lines. Using the example of this script on the demo page, add this style section to the head of the page:
    Code:
    <style type="text/css">
    h3 {
    display:inline;
    }
    </style>
    and add a line break after every </h3> tag, so they all look like this:
    Code:
    </h3><br>
    Works here!

    For future reference:
    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format for asking a question.
    PLEASE: Include the URL to your problematic webpage that you want help with.
    - John
    ________________________

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

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
  •