PC Review Forums Newsgroups Microsoft Word Microsoft Frontpage border specification in table

Reply

border specification in table

 
Thread Tools Rate Thread
Old 27-03-2008, 09:07 AM   #1
gulaygashi
Guest
 
Posts: n/a
Default border specification in table


HI,
how can i specify the border in table?
Thanks
JGülay
  Reply With Quote
Old 27-03-2008, 10:40 AM   #2
Ronx
Guest
 
Posts: n/a
Default Re: border specification in table

One way is to use CSS

In the head section of the page:

<style type="text/css">
table {border: 2px solid green; border-collapse:collapse;}
td, th {border: 1px solid red;}
</style>

Change the size, colour and border style (solid in above example) to
suit your requirements.

If it's only one table you wish to specify borders for then give the
table an id, and change the CSS to:

<style type="text/css">
#table1 {border: 2px solid green; border-collapse:collapse;}
#table1 td, #table1 th {border: 1px solid red;}
</style>

Where table1 is the id given to the table.

In the page body you will have

<table id="table1">
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp




"gulaygashi" <gulaygashi@discussions.microsoft.com> wrote in message
news:EF432ED8-E435-427A-9671-D0805F7B2008@microsoft.com:

> HI,
> how can i specify the border in table?
> Thanks
> JGülay


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off