Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 2004
Posts: 15
Newbie
Newbie
Offline
Joined: Sep 2004
Posts: 15
When users view my thread listing in expanded view, unread replies are highlighted. However, sometimes the code generates a CSS class that isn't defined. Infopop2 uses "lighttable", "darktable", "newlighttable", and "newdarktable" for this. Strangely enough, I'm finding "newnewlighttable" and "newnewdarktable" in the HTML code. Since these aren't defined in the stylesheet, they default to the page background color, which is the same as the link color. EDIT - Oddly enough, sometimes even "newdarktable" and "newlighttable" cause the problem. I have yet to see any pattern whatsoever.

Here is a screenshot:

[]http://www.orangewhoopass.com/cssproblem.jpg[/]

Link to problem

I tried going into the stylesheet, copying and pasting all "newlighttable" and "newdarktable" entries, and turning them into "newnewlighttable" and "newnewdarktable", but that doesn't seem to work. So, I'd rather just make the code work right.

Here is the pertinent information in my stylesheet, and the code that is being generated.

CSS (with my attempted fix in bold):
[].lighttable {
background-color: #FFFFF8;
color: #000000;
}
.darktable {
background-color: #FFFFFF;
color: #000000;
}
.newlighttable {
background-color: #FFFFF8;
color: #000000;
}
.newnewlighttable {
background-color: #FFFFF8;
color: #000000;
}

.newdarktable {
background-color: #FFFFFF;
color: #000000;
}
.newnewdarktable {
background-color: #FFFFFF;
color: #000000;
}

.newlighttable a:link {
}
.newlighttable a:visited {
}
.newlighttable a:active {
}
.newlighttable a:hover {
}

.newnewlighttable a:link {
}
.newnewlighttable a:visited {
}
.newnewlighttable a:active {
}
.newnewlighttable a:hover {
}


.newdarktable a:link {
}
.newdarktable a:visited {
}
.newdarktable a:active {
}
.newdarktable a:hover {
}

.newnewdarktable a:link {
}
.newnewdarktable a:visited {
}
.newnewdarktable a:active {
}
.newnewdarktable a:hover {
}

[/]

Here is an excerpt of the HTML:
Code
<tr> <br /> <br /><td align="left" class="newnewdarktable" valign="top" width="1%"> <br /><img alt="." src="/bbs/images/blank.gif" width="15" height="13" style="vertical-align: text-top" /> <br /></td>


Tried searching for this and didn't have much success. Any help would be much appreciated.

Last edited by paradox183; 01/26/2005 6:00 PM.
Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,834
Joined: January 2000
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)