The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Table Background Color

5 posters

Go down

Solved Table Background Color

Post by cclloyd9785 April 5th 2009, 2:23 am

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
cclloyd9785
cclloyd9785
Forumember

Male Posts : 444
Reputation : 3
Language : Whatever you speak
Location : woaclan.tk

http://woaclan.forumotion.net/

Back to top Go down

Solved Re: Table Background Color

Post by cclloyd9785 April 5th 2009, 7:10 pm

bump plz help
cclloyd9785
cclloyd9785
Forumember

Male Posts : 444
Reputation : 3
Language : Whatever you speak
Location : woaclan.tk

http://woaclan.forumotion.net/

Back to top Go down

Solved Re: Table Background Color

Post by cclloyd9785 April 18th 2009, 4:38 am

major week later bump
cclloyd9785
cclloyd9785
Forumember

Male Posts : 444
Reputation : 3
Language : Whatever you speak
Location : woaclan.tk

http://woaclan.forumotion.net/

Back to top Go down

Solved Re: Table Background Color

Post by ankillien April 18th 2009, 5:29 am

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.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: Table Background Color

Post by cclloyd9785 April 22nd 2009, 2:43 am

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
cclloyd9785
cclloyd9785
Forumember

Male Posts : 444
Reputation : 3
Language : Whatever you speak
Location : woaclan.tk

http://woaclan.forumotion.net/

Back to top Go down

Solved Re: Table Background Color

Post by ankillien April 23rd 2009, 7:03 pm

Code box header...
Code:
dl.codebox dt {
background : COLORNAME;
}

Spoiler header...
Code:
dl.spoiler dt {
background : COLORNAME;
}

Hope this helps... Hello
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: Table Background Color

Post by cclloyd9785 April 24th 2009, 1:17 am

finally the boarder needs to be fixed.

-_- i sohuld have just asked how to make it all black at the beggining
cclloyd9785
cclloyd9785
Forumember

Male Posts : 444
Reputation : 3
Language : Whatever you speak
Location : woaclan.tk

http://woaclan.forumotion.net/

Back to top Go down

Solved Re: Table Background Color

Post by ankillien April 24th 2009, 5:20 am

Okey, I am giving full code, just forget the above codes Laughing
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
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: Table Background Color

Post by room28spartan April 24th 2009, 5:42 am

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.
Where do you put that code?
room28spartan
room28spartan
Forumember

Male Posts : 235
Reputation : 3
Language : Gibberish
Location : I know where you live too!

Back to top Go down

Solved Re: Table Background Color

Post by ankillien April 24th 2009, 5:49 am

In the forum style sheet...

Admin Panel > Display > Colors > CSS Stylesheet...
paste this code there and click "Save".
You are done.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: Table Background Color

Post by cclloyd9785 April 26th 2009, 1:56 am

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.
cclloyd9785
cclloyd9785
Forumember

Male Posts : 444
Reputation : 3
Language : Whatever you speak
Location : woaclan.tk

http://woaclan.forumotion.net/

Back to top Go down

Solved Re: Table Background Color

Post by ankillien April 26th 2009, 6:23 am

Try this for borders...

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 Razz
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: Table Background Color

Post by cclloyd9785 April 27th 2009, 3:14 am

didnt work
cclloyd9785
cclloyd9785
Forumember

Male Posts : 444
Reputation : 3
Language : Whatever you speak
Location : woaclan.tk

http://woaclan.forumotion.net/

Back to top Go down

Solved Re: Table Background Color

Post by Splytte April 27th 2009, 3:19 am

Splytte
Splytte
Forumember

Female Posts : 753
Reputation : 18
Language : French, English, Dutch, Spanish, German, Japanese, Chinese (Beginner).
Location : Belgium

Back to top Go down

Solved Re: Table Background Color

Post by ankillien April 27th 2009, 4:29 am

Which version you use, cclloyd9785?
Is that Invision?
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: Table Background Color

Post by cclloyd9785 April 29th 2009, 12:28 am

idk which version.

mabye you can find out by seeing it.

http://woaclan.forumotion.net/
cclloyd9785
cclloyd9785
Forumember

Male Posts : 444
Reputation : 3
Language : Whatever you speak
Location : woaclan.tk

http://woaclan.forumotion.net/

Back to top Go down

Solved Re: Table Background Color

Post by ankillien April 29th 2009, 5:37 pm

So, here we go Razz
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 Very Happy
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: Table Background Color

Post by cclloyd9785 April 30th 2009, 11:48 pm

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
cclloyd9785
cclloyd9785
Forumember

Male Posts : 444
Reputation : 3
Language : Whatever you speak
Location : woaclan.tk

http://woaclan.forumotion.net/

Back to top Go down

Solved Re: Table Background Color

Post by cclloyd9785 May 2nd 2009, 7:56 pm

bump
cclloyd9785
cclloyd9785
Forumember

Male Posts : 444
Reputation : 3
Language : Whatever you speak
Location : woaclan.tk

http://woaclan.forumotion.net/

Back to top Go down

Solved Re: Table Background Color

Post by ankillien May 2nd 2009, 8:04 pm

Can you please post your forum CSS here?
It would help me find the trouble.
Thanks
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: Table Background Color

Post by cclloyd9785 May 3rd 2009, 3:11 am

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.
cclloyd9785
cclloyd9785
Forumember

Male Posts : 444
Reputation : 3
Language : Whatever you speak
Location : woaclan.tk

http://woaclan.forumotion.net/

Back to top Go down

Solved Re: Table Background Color

Post by ankillien May 3rd 2009, 6:26 am

Okey...I just looked at your test topic and got the problem.
The white border is not the border actually Laughing
Please remove all the background and border code that I gave you.
Sorry Embarassed

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
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: Table Background Color

Post by cclloyd9785 May 3rd 2009, 5:45 pm

THANK YOU
it finally worked. mark as completed
cclloyd9785
cclloyd9785
Forumember

Male Posts : 444
Reputation : 3
Language : Whatever you speak
Location : woaclan.tk

http://woaclan.forumotion.net/

Back to top Go down

Solved Re: Table Background Color

Post by Sanket May 3rd 2009, 5:57 pm

Since this thread is marked solved, I will lock this thread.
Sanket
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum