PDA

View Full Version : CSS for a newsfeed


SteveH
08-07-2008, 02:12 PM
Hello

I have a newsfeed on my Flash site, but it does not differentiate between the headline and the brief description under it.

I'm doing a couple of tests at the moment to attempt to rectify this. I'm hoping to call on a css.sheet in my Flash Action Script and wonder if something like the following would format the feed as I would like.

I'd like this kind of thing:

Headline bold and purple (blends in with the rest of the site).
Brief description: black arial font about 10pt. Will the following do it?

p {
color: #ffffff;
font-family: Arial;
font-size: 10pt;
display: inline;
}
a:link {
color: #BDA0F2;
text-decoration: none;
}
a:hover{
color: #BDA0F2;
text-decoration: none;
}

.headline {
color: #BDA0F2;
font-family: Arial;
font-size: 10pt;
font-weight: bold;
display: block;
}
.byline {
color: #FFFFFF;
font-style: normal;
font-weight: normal;
display: inline;
}

Thanks

Steve

macwiz
08-07-2008, 03:27 PM
Make an HTML page and apply all the elements and styles in the CSS. That will show you what it will look like. Some of it is trial and error until you get it just right.

SteveH
08-07-2008, 03:58 PM
Hello macwiz

Thnaks for your suggestion.

Done it and with a couple of modifications it lok sfine.

Thanks.

Steve