Viewing 8 replies - 1 through 8 (of 8 total)
  • To start with, you have two table opening tags, plus a bunch of other mark-up errors on the first page. I did not check the other page. See Validating if you are unfamiliar with Validating your code. You should validate the CSS code too.

    The table color is also not coded correctly — you are missing the #.
    BTW, why are you using a table for that kind of content?

    Thread Starter mosini

    (@mosini)

    I was just copying what the client had on their old HTML site (their request), and I hadn’t validated yet.

    But I’m just going to do it my way and not use the table.

    Thanks.

    Thread Starter mosini

    (@mosini)

    http://www.countywidedecorah.com/services

    the border cuts out at the bottom. Also is there a way to make the border transparent? I can’t seem to get it.

    One way to control how your table is formatted is to something like this:

    <table style="width: 600px; border: thin transparent solid; padding: 3px;">
    
    Put your table stuff/contents here;
    
    </table>

    Ideally you may want to put your styles in your style sheet so let us know if this is what you want to do.

    Good luck.

    Thread Starter mosini

    (@mosini)

    Ahh–right what would be the best way to put them in the style sheet?

    table {
    	width: 600px;
    	border: thin transparent solid;
    	padding: 3px;
    }

    The above code will work on all tables. If you want to target a particular table then you need to give an Id to the table and change the above code slightly like this:

    #mytable {
    	width: 600px;
    	border: thin transparent solid;
    	padding: 3px;
    }

    this is a special table called mytable.

    Hope this gives you a start but there are lots of things you can style but take one thing at a time.

    Thread Starter mosini

    (@mosini)

    table {
    	width: 600px;
    	border: thin transparent solid;
    	padding: 3px;
    }

    I did that and started my table in the HTML editor with <table> ended with </table>
    and nothing.

    But it’s late- so I’m sure if I try it in the morning it will work.

    You might want to look at the W3C page on table styling.

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

The topic ‘Table Formatting’ is closed to new replies.