Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

How to set grid lines to table.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Valli - 06 Oct 2007 11:11 GMT
Hi,

I have used a table in my web page. ( I have inserted the table using the
'Insert table' option from the Layout menu). I couldnt find any grid lines
in the table when I run the page.

How can I provide grid lines to table?
I have applied border style for table. However I am able to see only the
outer layout.
Do I need to set for each tablecell the border? or Is there any attribute
for table to set the grid lines?

Signature

Thanks & Regards
Valli

Valli - 06 Oct 2007 13:21 GMT
I am able to set grid lines to table using border attribute.
But the gridlines looks as the top & left sides are with same width and the
right & botom lines are thin than the top & left border.
What style is this?. Can I change this style to single equal border line on
all the sides?
Signature

Regards

> Hi,
>
[quoted text clipped - 7 lines]
> Do I need to set for each tablecell the border? or Is there any attribute
> for table to set the grid lines?
Alexey Smirnov - 06 Oct 2007 13:41 GMT
> I am able to set grid lines to table using border attribute.
> But the gridlines looks as the top & left sides are with same width and the
> right & botom lines are thin than the top & left border.
> What style is this?. Can I change this style to single equal border line on
> all the sides?

You can use CSS to set style for a table

<style type="text/css">
table {
border-width: 1px;
border-style: solid;
border-color: gray;
border-collapse: collapse;}
table
</style>

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.