PC Review


Reply
Thread Tools Rate Thread

border specification in table

 
 
gulaygashi
Guest
Posts: n/a
 
      27th Mar 2008
HI,
how can i specify the border in table?
Thanks
JGülay
 
Reply With Quote
 
 
 
 
Ronx
Guest
Posts: n/a
 
      27th Mar 2008
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" <(E-Mail Removed)> wrote in message
news:EF432ED8-E435-427A-9671-(E-Mail Removed):

> 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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
need help with css. don't see the border, box, and font specification aboutjav.com@gmail.com Microsoft ASP .NET 2 7th Apr 2008 05:30 PM
Body of page appears in Top Border, Left Border and Bottom Border (there is no right border) Michael Edwards Microsoft Frontpage 1 14th Oct 2004 09:46 AM
Linked Table Specification Jim Pockmire Microsoft Access Reports 1 2nd Feb 2004 12:09 AM
getting access to Table specification file Tim Schiermeyer Microsoft Access 3 6th Aug 2003 05:34 PM
getting access to Table specification file Tim Schiermeyer Microsoft Access Form Coding 3 6th Aug 2003 05:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:12 PM.