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.

[CSS]Where is the code of table in post?

4 posters

Go down

Solved [CSS]Where is the code of table in post?

Post by eagle8x July 27th 2008, 4:51 pm

Using phpBB3. I want to add background into the table in post. where is the code? maybe in
Code:
/* Table----------------------------------------------*/
I will setup background for this table. Can I?


Last edited by eagle8x on August 5th 2008, 8:14 am; edited 1 time in total
eagle8x
eagle8x
Forumember

Male Posts : 362
Reputation : 15
Language : Vietnamese

http://diendan.chinhphuc.info

Back to top Go down

Solved Re: [CSS]Where is the code of table in post?

Post by eagle8x July 30th 2008, 6:03 pm

bump!
eagle8x
eagle8x
Forumember

Male Posts : 362
Reputation : 15
Language : Vietnamese

http://diendan.chinhphuc.info

Back to top Go down

Solved Re: [CSS]Where is the code of table in post?

Post by Saurus August 2nd 2008, 10:25 pm

So ... you want to add a Table into a post, and make the BG color for that table a certain color?

Is HTML allowed in your CP? If so, just make this the first line of the Table html:
Code:

<table bgcolor="#ff0000" border="1">

Color shown is red. Adjust to your preference.
avatar
Saurus
Forumember

Male Posts : 789
Reputation : 10
Language : english
Location : NY

http://sunrisers.forumotion.com

Back to top Go down

Solved ***For Phpbb3 Only***

Post by Guest August 2nd 2008, 11:19 pm

To change the colour of the post background you can use the following process:

1. Log into your forum and access the “Administrator Panel”

2. Select “Display”

3. Select “Colors”

4. You should now be able to select the “CSS Style Sheet” tab

! The sheet will be blank if you have not used this before!

5. Once you copy and past one of the codes from below into the blank box press “Submit”, this will be reflected on your forum immediately.

Change the colour of the post background:

Code:
div.postbody {
width: 100%;
 float: none;
background-color: #000000;
}
(Change 000000 to any colour you want, hexadecimal and text colours both work)


Add image to the post background:

Code:
div.postbody {
width: 100%;
 float: none;
background-image: url('http://www.your_image_here.jpg');
}

regards






Craig
avatar
Guest
Guest


Back to top Go down

Solved Re: [CSS]Where is the code of table in post?

Post by Saurus August 3rd 2008, 1:32 am

He didn't ask to change trhe BG color of a post - he asked how to change the BG color of a TABLE in a post.
avatar
Saurus
Forumember

Male Posts : 789
Reputation : 10
Language : english
Location : NY

http://sunrisers.forumotion.com

Back to top Go down

Solved Re: [CSS]Where is the code of table in post?

Post by eagle8x August 4th 2008, 12:05 pm

Thank you so much! I knew how to use html to post a table but I want my member use it too. So I ask for the code in css.
eagle8x
eagle8x
Forumember

Male Posts : 362
Reputation : 15
Language : Vietnamese

http://diendan.chinhphuc.info

Back to top Go down

Solved Re: [CSS]Where is the code of table in post?

Post by zakir321 August 4th 2008, 3:44 pm

The CSS class for the tables in posts would be constructed like this - just modify the image address. This is of course a code that attaches your image to all tables you posted.

.postbody .content table{background-image: url(IMAGE ADDRESS);}

If you want a color instead, place this into your CSS sheet:

.postbody .content table{background-color: #ff0000;}
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

Back to top Go down

Solved Re: [CSS]Where is the code of table in post?

Post by eagle8x August 5th 2008, 8:14 am

Sunny_D wrote:The CSS class for the tables in posts would be constructed like this - just modify the image address. This is of course a code that attaches your image to all tables you posted.

.postbody .content table{background-image: url(IMAGE ADDRESS);}

If you want a color instead, place this into your CSS sheet:

.postbody .content table{background-color: #ff0000;}
It worked! Thanks so much!
eagle8x
eagle8x
Forumember

Male Posts : 362
Reputation : 15
Language : Vietnamese

http://diendan.chinhphuc.info

Back to top Go down

Solved Re: [CSS]Where is the code of table in post?

Post by Nessa August 5th 2008, 8:16 am

Since this problem appears to be resolved, I will lock this thread now.

=> ( Members Problem Solved )

=> Locked

Nessa
Nessa
Nessa
Energetic

Female Posts : 6203
Reputation : 128
Language : English

Back to top Go down

Back to top

- Similar topics

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