• I have tried everything that I can think of to make the border of my table and cells show up in color. Nothing is working. It shows up in the admin section but not when I view the page.

    I have tried to fix the problem in the editor section of the twenty ten weaver theme but I have no comprehension of css. I need more specific directions. The Stylesheet area of this theme says not to change it there but I can’t figure out what to do.

    The code I am currently using is

    <table align=”center” bgcolor=”#F8E0E0″ border=”3″ bordercolor=”000000″ cellpadding=”2″ cellspacing=”2″ style=”width: 400px; “>

    I have been trying to fix this and figure out where and how to change the css in the twenty ten weaver theme for hours. Can anyone help?

Viewing 5 replies - 1 through 5 (of 5 total)
  • You should be editing your theme’s stylesheet – not adding colors and layout details via the markup.

    Thread Starter themysticallights

    (@themysticallights)

    I have no idea how to do this. I know that I go to the editor section and it says Stylesheet but what do I do. I don’t want to mess up my theme.
    Thank you for responding

    If you apply a unique class or id to the table such as:

    <table id="mytable">

    you should then be able to add something like:

    #mytable {
    width:400px;
    background:#F8E0E0;
    border:1px solid #000;
    border-collapse:collapse;
    }
    #mytable th, #mytable td {
    border:1px solid #000;
    margin:2px;
    padding:2px;
    }

    to the bottom of your theme’s stylesheet. If that doesn’t work out properly, try posting the url page containing the table in the forums and someone should be able to suggest some CSS tweaks for you.

    Thread Starter themysticallights

    (@themysticallights)

    I added this code to the bottom of the stylesheet.
    Then I added this code into my html on my page

    <table id=”mytable”>
    followed by the rest of the table

    nothing happened

    then I added

    <table id=”mytable” border=”3″ bordercolor=”000000″ bgcolor=”FFFFFF” cellspacing=”1″ cellpadding=”1″>
    followed by the rest of the table and I have now lost everything I did, it turned to code that I don’t understand. I can’t even add a link to this page now. I am trying to recover an oder draft.

    What am I doing wrong?
    thanks

    Thread Starter themysticallights

    (@themysticallights)

    Ok I have recovered my original table. Here it is

    http://radio.magicmonsterrecords.com/108-2

    Is anyone able to help me figure out how to make the border solid (both around and within each cell)
    thanks

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Table border will not show up’ is closed to new replies.