Sign In | Register Now About Bytes | Help | Site Map
Connecting Tech Pros Worldwide

Table in HTML with fine line borders

Question posted by: Louise06 (Newbie) on July 2nd, 2008 09:33 AM
Hi All,

Could you advise me on how to get a Table in HTML with fine line borders?
I mainly work with pixels.

Thanks

Louise
meenakshia's Avatar
meenakshia
Member
33 Posts
July 2nd, 2008
06:56 PM
#2

Re: Table in HTML with fine line borders
hi
use border inside the table tag
that is
<table border=1>
where 1 is the width of the border around the table

hope this would help.
smile always:)
anand

Reply
hsriat's Avatar
hsriat
Expert
1,466 Posts
July 3rd, 2008
07:00 AM
#3

Re: Table in HTML with fine line borders
Expand|Select|Wrap|Line Numbers
  1. table {
  2.     border-collapse:collapse;
  3. }

See this tutorial.

Reply
harshmaul's Avatar
harshmaul
Expert
481 Posts
July 3rd, 2008
02:30 PM
#4

Re: Table in HTML with fine line borders
Quote:
hi
use border inside the table tag
that is
<table border=1>
where 1 is the width of the border around the table

hope this would help.
smile always:)
anand


This one is cot advisable... you should use the css aproach....

Expand|Select|Wrap|Line Numbers
  1. table tr td{
  2. border: 1px solid #000000;
  3. }

Reply
Reply
Not the answer you were looking for? Post your question . . .
189,087 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
Top HTML / CSS Forum Contributors