Table Background Color
5 posters
Page 1 of 1
Table Background Color
How do i change the background color for tables ex: quotes, codes ect.
Last edited by cclloyd9785 on May 3rd 2009, 5:45 pm; edited 1 time in total
Re: Table Background Color
Hi cclloyd9785!
For which version you want the code?
Answer if the following doesn't work.
To change background of quotes...
For the code box...
If this codes don't work. Tell me the version you use. The codes may differ as per the versions.
Hope this helps.
For which version you want the code?
Answer if the following doesn't work.
To change background of quotes...
- Code:
.post-entry div {
background : COLORNAME;
}
For the code box...
- Code:
dl.codebox dd {
background : COLORNAME;
}
If this codes don't work. Tell me the version you use. The codes may differ as per the versions.
Hope this helps.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Table Background Color
that worked for the background, thought it would fix the head of it too. How do i fix that?
Like the background of the boxes is now black but where it says, CODE or QUOTE or SPOILER, its while
Like the background of the boxes is now black but where it says, CODE or QUOTE or SPOILER, its while
Re: Table Background Color
Code box header...
Spoiler header...
Hope this helps...
- Code:
dl.codebox dt {
background : COLORNAME;
}
Spoiler header...
- Code:
dl.spoiler dt {
background : COLORNAME;
}
Hope this helps...
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Table Background Color
finally the boarder needs to be fixed.
-_- i sohuld have just asked how to make it all black at the beggining
-_- i sohuld have just asked how to make it all black at the beggining
Re: Table Background Color
Okey, I am giving full code, just forget the above codes
Change the colors and border size as per your needs.
Block quote...
Code box...
Spoiler...
Change the colors and border size as per your needs.
Block quote...
- Code:
.post-entry blockquote {
background : COLORNAME;
border : 1px solid COLORNAME;
}
Code box...
- Code:
dl.codebox {
border : 1px solid orange;
}
dl.codebox dd , dl.codebox dt {
background : black;
}
Spoiler...
- Code:
dl.spoiler {
border : 1px solid COLORNAME;
}
dl.spoiler dt , dl.spoiler dd {
background : COLORNAME;
}
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Table Background Color
Where do you put that code?ankillien wrote:Hi cclloyd9785!
For which version you want the code?
Answer if the following doesn't work.
To change background of quotes...
- Code:
.post-entry div {
background : COLORNAME;
}
For the code box...
- Code:
dl.codebox dd {
background : COLORNAME;
}
If this codes don't work. Tell me the version you use. The codes may differ as per the versions.
Hope this helps.
room28spartan- Forumember
- Posts : 235
Reputation : 3
Language : Gibberish
Location : I know where you live too!
Re: Table Background Color
In the forum style sheet...
Admin Panel > Display > Colors > CSS Stylesheet...
paste this code there and click "Save".
You are done.
Admin Panel > Display > Colors > CSS Stylesheet...
paste this code there and click "Save".
You are done.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Table Background Color
most of the code worked. the border for the spoiler and code boxes are still white instead of #000000 (black) like i made it with that code.
Re: Table Background Color
Try this for borders...
Spoiler :
Code Box :
Hope this will work
Spoiler :
- Code:
.spoiler , .spoiler dt , .spoiler dd {
border : 1px solid #000000;
}
Code Box :
- Code:
.codebox , .codebox dt , .codebox dd {
border : 1px solid #000000;
}
Hope this will work
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Table Background Color
I made a tutorial about this...
https://help.forumotion.com/frequently-asked-questions-f5/learning-the-basic-css-t42099.htm
-=~Splytte~=-
https://help.forumotion.com/frequently-asked-questions-f5/learning-the-basic-css-t42099.htm
-=~Splytte~=-
Splytte- Forumember
- Posts : 753
Reputation : 18
Language : French, English, Dutch, Spanish, German, Japanese, Chinese (Beginner).
Location : Belgium
Re: Table Background Color
Which version you use, cclloyd9785?
Is that Invision?
Is that Invision?
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Table Background Color
So, here we go
Actually I thought you are running your board on Invision, but it is phpBB3.
This should work now...
Hope this will work
Actually I thought you are running your board on Invision, but it is phpBB3.
This should work now...
- Code:
dl.codebox {
border : 1px solid #000000;
}
Hope this will work
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Table Background Color
it still didnt work.
like its a black background...but the boarder and the seperator line in them is still white. none of these codes have worked.
An example of wat isnt workin is on this TEST TOPIC
like its a black background...but the boarder and the seperator line in them is still white. none of these codes have worked.
An example of wat isnt workin is on this TEST TOPIC
Re: Table Background Color
Can you please post your forum CSS here?
It would help me find the trouble.
Thanks
It would help me find the trouble.
Thanks
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Table Background Color
well the only other code i had in it was for a fixed bg with a custom picture. everything else was trying to fix this code.
Re: Table Background Color
Okey...I just looked at your test topic and got the problem.
The white border is not the border actually
Please remove all the background and border code that I gave you.
Sorry
Here is a new and smaller code to make background and border black.
However, I couldn't change the separator line color.
This is my final try at this. This should work this time.
The white border is not the border actually
Please remove all the background and border code that I gave you.
Sorry
Here is a new and smaller code to make background and border black.
However, I couldn't change the separator line color.
- Code:
dl.codebox {
border : 1px solid #000000;
background : #000000;
}
This is my final try at this. This should work this time.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Table Background Color
Since this thread is marked solved, I will lock this thread.
Sanket
Sanket
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Similar topics
» Table Background Color
» Problems with the background color on a 'Quote on Quote' response and problems with the background color on my 'Quick Reply' box
» Emoticon table and Background color w/ chat
» Changing table font color and table side
» How can I center the Table background? (Table Headers)
» Problems with the background color on a 'Quote on Quote' response and problems with the background color on my 'Quick Reply' box
» Emoticon table and Background color w/ chat
» Changing table font color and table side
» How can I center the Table background? (Table Headers)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum