Need help? Check out our Support site, then


Table editing

  1. Hi,

    I was trying to edit a table using Mozilla composer. I copy pasted the html into the html box. It does appear as a table with some of the formatting, however I can't get it to display the colour background I wanted - grey - and that's why I wanted the table for.

    I've seen some blogs like this. How does one do it?

    Any thoughts?

    Thanks.

  2. What method are you using to colour the background grey - class, style or old-style bgcolor? I know the first two are stripped out by the WordPress tag-filtering, but the last one may work?

  3. other than the simplest of html i am hopeless in it. so when i wanted to put a table, i pasted the table from microsoft word to paint, saved it as jpeg, upload it to some photo hosting page, and link the image to my blog.

  4. I think I'm using the style tag on the HTML.

    <table<br /> style="background-color: rgb(192, 192, 192); text-align: left; width: 561px; height: 60px;"<br /> border="1" cellpadding="2" cellspacing="2"><br /> <tbody><br /> <tr><br /> <td<br /> style="background-color: rgb(204, 204, 204); vertical-align: top;"><br><br /> </td><br /> <td style="vertical-align: top;"><br><br /> </td><br /> </tr><br /> <tr><br /> <td style="vertical-align: top;"><br><br /> </td><br /> <td style="vertical-align: top;"><br><br /> </td><br /> </tr><br /> </tbody><br /> </table>

    Maybe I'll search for the manual "old" way to edit HTML and edit colour as you said before.

  5. I betting that the theme is overriding the background in some way. This has come up before when we were talking about table borders. Try a couple of different themes. If you see the background color in some and not others, it's the CSS.

  6. Isn't style information stripped out of tags when submitted drmike? You can check this ekarate by using the "Save and Continue Editing" button - if the style code vanishes that's the problem.

    Theme CSS shouldn't be able to override inline stuff (unless it's market !important I think?) as that should take precedence.

    The "old fashioned" way of applying background colour is bgcolor. Apply it like this:

    <table><tr><td bgcolor="#C0C0C0">text</td></tr></table>

    #C0C0C0 (that's C-ZERO) is equivalent to 192,192,192. Unfortunately I can't test this for you right now as the servers down.

    Good luck!

  7. Isn't style information stripped out of tags when submitted drmike?

    I was thinking that as well but wasn't sure as I remembered the table border issue we had a few months ago. It worked for some themes but not others.

    edit: Yup. Found the thread Styles are stripped for security. Have to add that one to the FAQ...

  8. I had some unhappy experience when I wanted to add a table in a post. Using the rich-text editor (Visual mode), I pasted a table, then I switched to Code mode (to change the font size of the text in the table) and switched back to Visual mode. I found that only the first row of the table was kept - other rows were missing!

  9. Have you solved this problem yet? I'm asking because others have used html tables and not reported this same difficulty.

  10. Well adding html code via the visual tab may have something to do with it. It's code and should have been added in on the code tab.

  11. I've had this difficulty, whether I've used the code editor or the visual editor. As far as I know it's still happening, so I just avoid tables now. For whatever reason, tables generated by quizzes seem to be okay, MOST of the time. Sometimes they leave out rows, though. And yes, I reported it about six months ago.

Topic Closed

This topic has been closed to new replies.

About this Topic