Previous Thread
Next Thread
Print Thread
Hop To
#44703 04/13/2005 6:21 PM
Joined: Mar 2005
Posts: 9
L
stranger
stranger
L Offline
Joined: Mar 2005
Posts: 9
I have a problem with my stylesheets -- for threaded users, we would like to have unread posts in a bold font and when the post has been read the font will be normal. (We also want the background of the cell that post subject is in to change, but let's tackle one problem at a time!)

The problem is that no matter what I change, I can't get this to happen. I even went to another board that has the bolding effect I want (though in different colors) and compared our stylesheet with theirs -- the elements that I think should control this are the same. I think. Perhaps I'm looking at the wrong CSS.

So here are the relevant items. Essentially, I've tried the bolding on everything with the word new in its tag. :-(

Code
 .newsubjecttable {
border: 1px solid #397521; background-color: #DAF9BF;
color: #367021;
font-size: 13px
font-weight: bold;
}

.newdarktable {
border:1px solid #397521; background-color: #DAF9BF;
color: #397521;
font-size: 13px
font-weight: bold;
}

.newlighttable {
border:1px solid #397521; background-color: #DAF9BF;
font-weight: bold;
color: #397521;
font-size: 13px
}

.newsubjecttable .newdarktable .newlighttable a:link {
text-decoration: none;
font-weight: bold;
} 

.newsubjecttable .newdarktable .newlighttable a:hover {
text-decoration: none;
}  


Can anyone help me figure out what the problem is?

Something that MAY be related, so I'll mention it. My CSS skills are rudimentary at best (and I inherited this stylesheet, I did not write it) but I tried "View Source" on the page to see what class the lines I wanted in bold were -- and they are NOT classed as newdarktable and newlighttable. They are just classed as darktable and lighttable, even when the new post icon is showing up. :-( When I viewed the source of a page at my comparison board, where the bolding works, the cells that have new post titles are classed as "newdarktable" and "newlighttable."

Another FYI -- now that I consider it, when I'm viewing the post list, the icon that shows in front of each individual post is NOT "newpost.gif" -- it's "newfolder.gif."

Sorry if these are extraneous details; I'm just trying to give as complete a picture and explanation as I can!

Thanks, and again, I appreciate any help, even just pointing me in the right direction.

Lily

#44704 05/02/2005 9:47 PM
Joined: Mar 2005
Posts: 9
L
stranger
stranger
L Offline
Joined: Mar 2005
Posts: 9
*bump?*

#44705 05/03/2005 4:55 AM
Joined: Jun 2006
Posts: 93
A
journeyman
journeyman
A Offline
Joined: Jun 2006
Posts: 93
font-size: 13px

should be

font-size: 13px;


---
Take your community to the next level

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Nightcrawler), 639 guests, and 217 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)