...

View Full Version : Formatting digg with CSS



dreamking11
01-24-2007, 03:11 PM
Hello all,
I'm trying to add digg stories to my site & want to format it with css. Digg says you can use CSS with the class names to customize the display. Havent use css before so I'm lost...if someone could hook me up with this I would sure appeciate it.
I would like to be able to format the links and text differently.

The code I want to use to add digg is:

<script language="JavaScript" src="(URL address blocked: See forum rules)/diggjs/front/tech_news/0" type="text/javascript"></script>

I'm going to put it in a frame so just on a blank page.

Thanx!

dreamking11
01-24-2007, 05:30 PM
Code with class name:


<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>digg</title>
<style>p.digg{ color: blue; }
</style>
</head>

<body>
<html>
<body>
<p class="digg">this text is blue<script language="JavaScript" src="http://digg.com/diggjs/front/tech_news/16" type="text/javascript"></script>
</p>
</body>

</html>

again the regualar text is effected but not the JS :confused

dreamking11
01-24-2007, 08:43 PM
To the person who needed this as much as me & finds this post via google someday, here is the code you need :)


<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>digg</title>
<style>ul.rss-items a {
color:#000;
FONT-SIZE:x-small;
}
ul.rss-items {
color:#777;
FONT-SIZE:x-small;
}
</style>
</head>

<body>
<html>
<body>
<div id="main"> <script language="JavaScript" src="http://digg.com/diggjs/front/tech_news/16" type="text/javascript"></script>
</div>
</body>

</html>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum