Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2003
Posts: 45
User
User
Offline
Joined: Jan 2003
Posts: 45
HI gurus!

I've been messing around with css and do not get it.

I'm using background-image and want to use tableborders but not tablesurrounds. That way the table's has own border.

I'm diggin' the way my board looks, but there are some problems.

1. I can't get my postlist and main pages to show dark and lighttableborders.

2. In netscape it looks horrible.

My css-know-how is very bad , but if you could help me out, it would be much appreciated.

Thanks!

BTW. I'm using 6.02.


FWIW, this is my stylesheet:

A:link, A:visited, A:active, A:hover {
}
A:link {
color: #1F6D87;
text-decoration: none;
font-weight: bold;
}

A:visited {
color: #24809E;
text-decoration: none;
font-weight: bold;
}

A:active {
color: #1F6D87;
text-decoration: none;
font-weight: bold;
}

A:HOVER {
color: ;
background-color: ;
}

.onbody{

color: #003C50;
}

.onbody A:LINK {
color: #1F6D87;
text-decoration: none;
font-weight: bold;
}

.onbody A:VISITED {
color: #1F6D87;
text-decoration: none;
font-weight: bold;
}

.onbody A:ACTIVE {
color: #1F6D87;
text-decoration: none;
font-weight: bold;
}








BODY,P,TABLE,TD,TR {
font-size: 9pt;
font-family: Arial;



}

BODY {

background-image:
margin: 0px 0px 0px 0px;
background-image: url("http://www.yle.fi/ylex/ohjelmat/img/gradient.jpg");
background-repeat: repeat-y;

border-style: solid;
border-color: #003C50;
border-width: 1px;
}


}

PRE {
font-size: 9pt;
font-family: Arial;
}

FORM {
display: inline;



}

.tablesurround {
border-style: solid;
border-color: #003C50;
border-width: 1px;
font-size: 9pt;
}

.tableborders {
background: transparent;
color: #003c50;

}
.tdheader {
background: none;
border-style: solid;
border-color: #003C50;
border-width: 1px;
font-size: 9pt;
}
.menubar{
background: none;
border-style: solid;
border-color: #003C50;
border-width: 1px;
}

.navigation{
font-size: 9pt;
font-family: Arial;

}

.post:FIRST-LINE {


}

.post:FIRST-LETTER {

}

.new {

font-size: ;
}

.catandforum {
font-family: Arial;
font-size: 9pt;


}

.posttime {
font-size: 9pt;
font-style: Arial;

background: none;
border-style: solid;
border-color: #003C50;
border-width: 1px;


}

.threadtotal {
font-size: 9pt;

background: none;
border-style: solid;
border-color: #003C50;
border-width: 1px;
}

.posttotal {
font-size: 9pt;

background: none;
border-style: solid;
border-color: #003C50;
border-width: 1px;
}

.modcolumn {
font-size: 9pt;

background: none;
border-style: solid;
border-color: #003C50;
border-width: 1px;

}

.small {
font-size: 9pt;
font-family: Arial;

}

.standouttext {
color: ;
}

.pollcolor {
background: ;
}

.welcome {
font-family: Arial;
}

.forumtitle {
font-family: Arial;
}

.forumdescript {
font-size: 9pt;
color: #003C50;


}

.lighttable {

background: none;
border-style: solid;
border-color: #003C50;
border-width: 1px;


}

.darktable {
background: none;
border-style: solid;
border-color: #003C50;
border-width: 1px;

}

.cleartable {

background: none;
border-style: solid;
border-color: #003C50;
border-width: 1px;


}

.alternatetable {

background: none;
border-style: solid;
border-color: #003C50;
border-width: 1px;

}

.subjecttable {

background: none;
border-style: solid;
border-color: #003C50;
border-width: 1px;

}

.footertable {
color: #003C50;


}

.formboxes{
font-family: Arial;
background-color: #DBEEF5;

font-size: 9pt;
}

.buttons {
font-family: Arial;
background-color: #CCCCCC;

font-size: 8pt;
}










Sponsored Links
Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
Your stylesheet isn't valid css. You can test your style easily at http://jigsaw.w3.org/css-validator/.

I attached a modified version that doesn't contain errors. It's not tested with threads so i can't tell you weather it fixes your problems. But it should be a start.
Attachments
89413-tmp.css (0 Bytes, 10 downloads)

Joined: Jan 2003
Posts: 45
User
User
Offline
Joined: Jan 2003
Posts: 45
I knew it!


Hey, thanks!

I'm studying your modifications.

This looks good.

Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
I sorted all classes alphabetically. I didn't change much. But you can't do something like "color: ;".
If you don't want to define it, just remove the hole attribute.


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,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
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,833
Greg Hard 4,625
Top Posters(30 Days)
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-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)