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 Sat Apr 04, 2009 7:23 pm

How do i change the background color for tables ex: quotes, codes ect.


Last edited by cclloyd9785 on Sun May 03, 2009 10:45 am; 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 Sun Apr 05, 2009 12: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 Fri Apr 17, 2009 9:38 pm

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 Fri Apr 17, 2009 10:29 pm

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 Tue Apr 21, 2009 7:43 pm

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 Thu Apr 23, 2009 12: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 Thu Apr 23, 2009 6:17 pm

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 Thu Apr 23, 2009 10:20 pm

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 Thu Apr 23, 2009 10:42 pm

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 Thu Apr 23, 2009 10:49 pm

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 Sat Apr 25, 2009 6:56 pm

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 Sat Apr 25, 2009 11:23 pm

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 Sun Apr 26, 2009 8:14 pm

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 Sun Apr 26, 2009 8:19 pm

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 Sun Apr 26, 2009 9:29 pm

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 Tue Apr 28, 2009 5:28 pm

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 Wed Apr 29, 2009 10:37 am

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 Thu Apr 30, 2009 4: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 Sat May 02, 2009 12: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 Sat May 02, 2009 1: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 Sat May 02, 2009 8:11 pm

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 Sat May 02, 2009 11:26 pm

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 Sun May 03, 2009 10:45 am

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 Sun May 03, 2009 10:57 am

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