Need help with table background color!

  • 1
  • Question
  • Updated 9 years ago
  • Answered
I've looked at some threads regarding this topic and haven't found the answer. I am trying to put a white background within a table but don't know how to go about it. If I am just dealing with html I can get close but not close enough. Any suggestions?

Here is an example of what I tried doing: http://ergoapparel.com/productstempla...

The problem with doing it with paragraph breaks in html is that it comes up different in every browser. Please help!
Photo of Krazycalves

Krazycalves

  • 16 Posts
  • 0 Reply Likes
  • concerned

Posted 9 years ago

  • 1
Photo of gamedemon

gamedemon

  • 216 Posts
  • 22 Reply Likes
Hi Krazycalves,

You can change the color of a table by adding <!--- bgcolor="color" ---> in the table tag.

So for example, if you have a table that you want each cell to be black, the code would look as such:

<!---
<table bgcolor="black">
<tbody>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
</table>
--->

That's it. You can also change the colors of the individual cells by adding the bgcolor code to td tags instead of the table tag

(recommended) You can also use color codes instead of just the name of a color.
So instead of "black" you can add "#993399". You can find more color codes at:
http://html-color-codes.com. Don't forget to include the #

Just play around with it and you will master it

Best of luck

If something isn't clear, just ask
Photo of Ruth

Ruth

  • 2819 Posts
  • 135 Reply Likes
Thanks gamedemon!
Did this answer your question Krazycalves?
Photo of Krazycalves

Krazycalves

  • 16 Posts
  • 0 Reply Likes
Awesome! It was adding the bgcolor to the tag that made everything work. Thanks so much!
Photo of Dyah

Dyah

  • 14 Posts
  • 0 Reply Likes
So how do I access the table tag? thanks
Photo of Kershnee

Kershnee

  • 2087 Posts
  • 152 Reply Likes
Hi Dyah - The table tag is part of the HTML code you are using when you create your table. Have you created your table using HTML?
Photo of Dyah

Dyah

  • 14 Posts
  • 0 Reply Likes
hmmm..Im not sure what a table is? .. are you talking the "html" widget?(ie dragging it into the site) or columns? or text boxes? Where do I find the table? and what is it used for? thanks
Photo of Ruth

Ruth

  • 2819 Posts
  • 135 Reply Likes
HI Dyah,

Adding a table is a fairly advanced feature, and is a way to group information on a page.

It is much easier to use a text widget to add your content.
Photo of Dyah

Dyah

  • 14 Posts
  • 0 Reply Likes
Hi Ruth- ok

Well i need to learn how to use it (so I can add colour behind text etc)- where do i find it on the menu?

And how do i use it?

Thanks
Photo of Ruth

Ruth

  • 2819 Posts
  • 135 Reply Likes
Hi,

Here is a link to a thread which has links to examples of adding backgrounds in a table (image background and text on top) http://getsatisfaction.com/SynthaSite...

This link shows a nested table - using colours example: http://getsatisfaction.com/SynthaSite...

This one shows a nested table using images http://getsatisfaction.com/SynthaSite...

All of these links have a little tutorial attached to them so that you can see how it was done.

Please let us know if these do not meet your needs.
Photo of Dyah

Dyah

  • 14 Posts
  • 0 Reply Likes
Hi, it seems there is no mention of where to get a table from- only that you should over lay them to create that effect.

Where do i find a table?
Photo of Marije

Marije, Official Rep

  • 4636 Posts
  • 237 Reply Likes
Hi there,

The only way to add a table to SynthaSite at the moment is with HTML. Here is a link to an HTML table generator: www.quackit.com

You can use this service to create your table, and then follow these steps on SynthaSite:
1. Drag-and-drop an HTML widget from the sidebar on the right onto your page (the icon for this is a blue sphere).
2. An HTML editor will open up that will allow you to write or paste your code (use right-click > paste or ctrl-V to paste).
3. When you are done, click "OK" and you will see the way that the HTML displays on your page.

Your table will be embedded in a usable website format.