PDA

View Full Version : CSS Help



Zaub
18-11-2007, 09:00 AM
Hey, I got this script off Dynamic Drive,


<!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.

Jamesy
18-11-2007, 10:55 AM
font:1px "veranda";

I don't know that much about CSS, but give that a go :S

iTechnical
18-11-2007, 12:09 PM
i think it's

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

Want to hide these adverts? Register an account for free!