dreamweaver - margins
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Dreamweaver Training and help » dreamweaver - Margins

dreamweaver - Margins

resolvedResolved · Low Priority · Version Standard

replyReply Mon 15 Jan 2007, 16:10Delegate Peter said...

Peter has attended:
Dreamweaver 8 Introduction course
Dreamweaver 8 Intermediate course

Margins

How do i access the Top Margin-Left Margin-Right Margin options of a table?

For upcoming training course dates see: Pricing & availability

replyReply Tue 16 Jan 2007, 12:50Trainer Rich said...

Cellpadding cellspacing or css

Hi Peter,

I'm not quite sure exactly what you're referring to, but I'll try to cover the basics of margins etc.

Traditionally, you would use the CELLPADDING and CELLSPACING parameters of the TABLE tag to control the look of a table. Padding controls the pixel space between the cell elements and cell border. Spacing controls the pixel space between the cells themselves. To try this, select a table and try values in the Properties panel.

To control the margin or padding of a specific cell, you can use inline CSS. For example, the code may look like this: <td style="margin-right: 50px;">Cell content</td>

You can also apply CSS parameters to a table, which may be the best solution for you. You can either redefine the TABLE tag, or better still, create your own CSS class and apply the class to the specific table.

Eg. the CSS code may look like this:
.mytable {
margin-top: 5px;
margin-left: 50px;
margin-right: 30px;
}

And then applied to the table like this:
<TABLE class="mytable">

Please let me know if this answers your query. If yes, please mark the question as resolved. If not, please reply with more detail of what you are trying to acheive.

Kind regards,
Rich

 


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard