Results 1 to 3 of 3

Thread: CSS Help

  1. #1
    Join Date
    Apr 2006
    Location
    Australia
    Posts
    307
    Tokens
    0

    Exclamation CSS Help

    Hey, I got this script off Dynamic Drive,

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    
    <style type="text/css">
    
    /*Example CSS for the two demo scrollers*/
    
    #pscroller1{
    width: 250px;
    height: 1.2em;
    border: 1px dashed black;
    padding: 5px;
    background-color: #E5EFE5;
    }
    
    #pscroller2{
    width: 400px;
    height: 150px;
    border: 1px solid black;
    padding: 5px;
    background-color: #F0F0F0;
    }
    
    .rssclass .rsstitle{
    font-weight: bold;
    }
    
    .rssclass .rssdate{
    color: gray;
    font-size: 85%;
    }
    
    .rssclass a{
    text-decoration: none;
    }
    
    </style>
    <script type="text/javascript" src="rsspausescroller.js">
    
    /***********************************************
    * RSS Pausing Scroller- © Dynamic Drive (http://www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit http://www.dynamicdrive.com/dynamicindex17/rsspausescroller/ for source code and documentation
    ***********************************************/
    
    </script>
    
    </head>
    
    <body>
    
    <script type="text/javascript">
    
    //new rsspausescroller(RSS_id, divId, divClass, delay, linktarget, optionalswitch)
    //1) RSS_id: "Array key of RSS feed in scrollerbridge.php script"
    //2) divId: "ID of DIV to display ticker in. DIV is dynamically created"
    //3) divClass: "Class name of this ticker, for styling purposes"
    //4) delay: delay between message change, in milliseconds
    //5) linktarget: Target of links inside RSS feed. Set to "" for current page.
    //6) optionalswitch: "optional arbitrary" string to create additional logic for formatrssmessage() to use.
    //   By default, optionalswitch supports "date", or "date+description" to also show these parts of a RSS feed.
    
    new rsspausescroller("habbosg", "pscroller1", "rssclass", 3000, "_new")
    
    </script>
    </body>
    
    </html>
    As shown here: http://hablet.com/chris/rss.htm

    And I'm wondering if it's possible to change the font to verdana size 1 (like <font face="verdana" size="1">)

    I'm not very good with CSS, and nothing seems to be happening with HTML so if someone post a code doing that, it would be great

    Thanks.

  2. #2
    Join Date
    Nov 2006
    Location
    Narrich
    Posts
    5,687
    Tokens
    0
    Habbo
    Jamesy...

    Latest Awards:

    Default

    font:1px "veranda";

    I don't know that much about CSS, but give that a go :S
    Ex-janitor. Might pop in from time to time, otherwise you can grab all my information from http://jamesy.me.uk/

  3. #3
    Join Date
    Aug 2007
    Location
    Cardiff, Wales
    Posts
    1,199
    Tokens
    0

    Latest Awards:

    Default

    i think it's

    font-family: Verdana;
    font-weight: 1px;

Posting Permissions

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