dreamweaver vs frontpage - format table

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Dreamweaver Training and help » dreamweaver vs frontpage - Format a table

dreamweaver vs frontpage - Format a table

resolvedResolved · Low Priority · Version Standard

Eve has attended:
Dreamweaver 8 Introduction course

Format a table

How do I format a table

RE: format a table

Hi Eve,

I assume you're talking about the style of the table?

The best way would be to use CSS. You can redefine the TABLE, TH, TR and TD tags so that they have the borders, backgrounds and text style of your choice.

A good way to do this, is to redefine them only in a particular DIV. That way, you can have different styles for different tables.

See an example below.

If this answers your question, please mark this question as resolved.

Regards, Rich




Example CSS:
#pretty table {
border: 2px dotted pink;
}
#pretty th {
background-color: #FFFF99;
}
#pretty td {
color: #009900;
padding: 2px;
}

Example HTML:
<div id="pretty">
<table>
<tr>
<th>heading</th>
<th>heading</th>
</tr>
<tr>
<td>normal cell</td>
<td>normal cell</td>
</tr>
</table>
</div>

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Dreamweaver tip:

Toggle panels on and off

Press the F4 key to toggle all the panels in Dreamweaver on or off. This gives you more editing and programming screen space.

View all Dreamweaver hints and tips


Server loaded in 0.09 secs.