php forum
php mysql forum
php mysql smarty
 
Topic Options
#254058 - 07/21/03 07:31 AM darktable and lighttable in postlist and mainpage
luuker Offline
User

Registered: 01/15/03
Posts: 43
HI gurus!<br /><br />I've been messing around with css and do not get it.<br /><br />I'm using background-image and want to use tableborders but not tablesurrounds. That way the table's has own border.<br /><br />I'm diggin' the way my board looks, but there are some problems.<br /><br />1. I can't get my postlist and main pages to show dark and lighttableborders.<br /><br />2. In netscape it looks horrible.<br /><br />My css-know-how is very bad <img src="/forum/images/graemlins/blush.gif" alt="" />, but if you could help me out, it would be much appreciated.<br /><br />Thanks!<br /><br />BTW. I'm using 6.02. <img src="/forum/images/graemlins/blush.gif" alt="" /> <br /><br /><br />FWIW, this is my stylesheet:<br /><br />A:link, A:visited, A:active, A:hover { <br />}<br />A:link { <br /> color: #1F6D87;<br />text-decoration: none;<br />font-weight: bold;<br />}<br /><br />A:visited { <br /> color: #24809E;<br />text-decoration: none; <br />font-weight: bold;<br />}<br /><br />A:active { <br /> color: #1F6D87;<br />text-decoration: none; <br />font-weight: bold;<br />}<br /><br />A:HOVER { <br /> color: ; <br /> background-color: ;<br />}<br /><br />.onbody{<br /><br /> color: #003C50; <br />}<br /><br />.onbody A:LINK {<br /> color: #1F6D87;<br />text-decoration: none; <br />font-weight: bold;<br />}<br /><br />.onbody A:VISITED {<br /> color: #1F6D87;<br />text-decoration: none; <br />font-weight: bold;<br />}<br /><br />.onbody A:ACTIVE {<br /> color: #1F6D87;<br />text-decoration: none; <br />font-weight: bold;<br />}<br /><br /><br /><br /><br /><br /><br /><br /><br />BODY,P,TABLE,TD,TR { <br /> font-size: 9pt;<br /> font-family: Arial;<br /><br /><br /><br />}<br /><br />BODY {<br /><br /> background-image: <br /> margin: 0px 0px 0px 0px;<br /> background-image: url("http://www.yle.fi/ylex/ohjelmat/img/gradient.jpg");<br /> background-repeat: repeat-y;<br /><br />border-style: solid;<br />border-color: #003C50;<br />border-width: 1px;<br />}<br /><br /> <br />}<br /><br />PRE {<br /> font-size: 9pt;<br /> font-family: Arial;<br />}<br /><br />FORM {<br /> display: inline;<br /><br /><br /><br />}<br /><br />.tablesurround {<br /> border-style: solid;<br />border-color: #003C50;<br />border-width: 1px;<br /> font-size: 9pt;<br />}<br /><br />.tableborders {<br />background: transparent;<br />color: #003c50;<br /> <br />}<br />.tdheader {<br />background: none;<br />border-style: solid;<br />border-color: #003C50;<br />border-width: 1px;<br /> font-size: 9pt;<br />}<br />.menubar{<br />background: none;<br />border-style: solid;<br />border-color: #003C50;<br />border-width: 1px;<br />}<br /><br />.navigation{<br /> font-size: 9pt;<br /> font-family: Arial;<br /><br />}<br /><br />.post:FIRST-LINE {<br /><br /><br />}<br /><br />.post:FIRST-LETTER {<br /><br />}<br /><br />.new {<br /><br /> font-size: ;<br />}<br /><br />.catandforum {<br /> font-family: Arial;<br /> font-size: 9pt;<br /><br /><br />}<br /><br />.posttime {<br /> font-size: 9pt;<br /> font-style: Arial;<br /><br />background: none;<br />border-style: solid;<br />border-color: #003C50;<br />border-width: 1px;<br /><br /><br />}<br /><br />.threadtotal {<br /> font-size: 9pt;<br /><br />background: none;<br />border-style: solid;<br />border-color: #003C50;<br />border-width: 1px;<br />}<br /><br />.posttotal {<br /> font-size: 9pt;<br /><br />background: none;<br />border-style: solid;<br />border-color: #003C50;<br />border-width: 1px;<br />}<br /><br />.modcolumn {<br /> font-size: 9pt;<br /><br />background: none;<br />border-style: solid;<br />border-color: #003C50;<br />border-width: 1px;<br /><br />}<br /><br />.small {<br /> font-size: 9pt;<br /> font-family: Arial;<br /><br />}<br /><br />.standouttext {<br /> color: ;<br />}<br /><br />.pollcolor {<br /> background: ;<br />}<br /><br />.welcome { <br /> font-family: Arial;<br />}<br /><br />.forumtitle {<br /> font-family: Arial;<br />}<br /><br />.forumdescript {<br /> font-size: 9pt;<br />color: #003C50;<br /><br /><br />}<br /><br />.lighttable {<br /><br />background: none;<br />border-style: solid;<br />border-color: #003C50;<br />border-width: 1px;<br /><br /><br />}<br /><br />.darktable {<br />background: none;<br />border-style: solid;<br />border-color: #003C50;<br />border-width: 1px;<br /><br />}<br /><br />.cleartable {<br /><br />background: none;<br />border-style: solid;<br />border-color: #003C50;<br />border-width: 1px;<br /><br /><br />}<br /><br />.alternatetable {<br /><br />background: none;<br />border-style: solid;<br />border-color: #003C50;<br />border-width: 1px;<br /><br />}<br /><br />.subjecttable {<br /><br />background: none;<br />border-style: solid;<br />border-color: #003C50;<br />border-width: 1px;<br /><br />}<br /><br />.footertable {<br />color: #003C50;<br /><br /><br />} <br /> <br />.formboxes{<br /> font-family: Arial;<br /> background-color: #DBEEF5;<br /> <br /> font-size: 9pt;<br />}<br /><br />.buttons {<br /> font-family: Arial;<br /> background-color: #CCCCCC;<br /> <br /> font-size: 8pt;<br />}<br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br />

Top
#254059 - 07/21/03 08:12 AM Re: darktable and lighttable in postlist and mainpage [Re: TheGentleman]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
Your stylesheet isn't valid css. You can test your style easily at http://jigsaw.w3.org/css-validator/.<br /><br />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. <img src="/forum/images/graemlins/wink.gif" alt="" />


Attachments
89413-tmp.css (9 downloads)

_________________________
Running a community? -> Keep informed and take it to the next level

Top
#254060 - 07/21/03 08:19 AM Re: darktable and lighttable in postlist and mainpage [Re: -Fusion-]
luuker Offline
User

Registered: 01/15/03
Posts: 43
I knew it! <br /> <img src="/forum/images/graemlins/blush.gif" alt="" /> <img src="/forum/images/graemlins/blush.gif" alt="" /><br /><br />Hey, thanks!<br /><br />I'm studying your modifications.<br /><br />This looks good.<br />

Top
#254061 - 07/21/03 08:26 AM Re: darktable and lighttable in postlist and mainpage [Re: TheGentleman]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
I sorted all classes alphabetically. I didn't change much. But you can't do something like "color: ;".<br />If you don't want to define it, just remove the hole attribute.
_________________________
Running a community? -> Keep informed and take it to the next level

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks