How to make a table draw lines between cells

A

Academia

I think this is a simple question but I can't find the answer.

I have in the head:
<style type="text/css">
table.c7 {font-family: Verdana}

and in the body:
<table class="c7">

The cell are not outlined.
How can I force the lines between the cells to be drawn?


Thanks for any help
 
A

Anthony Jones

Academia said:
I think this is a simple question but I can't find the answer.

I have in the head:
<style type="text/css">
table.c7 {font-family: Verdana}

and in the body:
<table class="c7">

The cell are not outlined.
How can I force the lines between the cells to be drawn?

table.c7 td {border:1px solid black}
table.c7 th {border:1px solid black}
 
A

Academia

Works well but I can't figure the syntax.

Does it say, for example: Any table that references class c7 apply
{border:1px solid black} to the td's?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top