Cell spacing and cell padding, PHP Web Programming

Assignment Help:

Let us notice at a couple of attributes called CELLSPACING and CELLPADDING. Both are part of the <TABLE> tag. CELLPADDING is the amount of space among the border of the cell and the contents of the cell. The default value for this attribute is 1. It is so that any text in the cells does not show to be sticking to the border.  Though, you can indicate a value of 0 if you desire.

The CELLSPACING attribute contain a somewhat different meaning. It finds out the spacing among adjacent cells.  Its default value is two.  The following example illustrates these and some other significant attributes of the <TABLE> tag.

<HTML>

<HEAD>

<TITLE> ABC</TITLE>

</HEAD>

<BODY>

First: Table having cellspacing and cellpadding

<TABLE BORDER=3 CELLSPACING=7 CELLPADDING=7>

<TR>

<TD>Ajay</TD>

<TD>Vijay</TD>

<TD>Rohan</TD>

</TR>

<TR>

<TD>Pankaj</TD>

<TD>Vikas</TD>

<TD>Sanjay</TD>

</TR>

</TABLE>

Second: Table having colspan

<TABLE BORDER=1>

<TR>

<TD COLSPAN=2>Ajay</TD>

<TD>Vijay</TD>

</TR>

<TR>

<TD>Vikas</TD>

<TD>Pankaj</TD>

<TD>Rohan</TD>

</TR>

</TABLE>

Third: Table having rowspan

<TABLE BORDER=1>

<TR>

<TD ROWSPAN=2>Ajay</TD>

<TD>Vijay</TD>

<TD>Rohan</TD>

</TR>

<TR>

<TD>Pankaj</TD>

<TD>Deepak</TD>

</TR>

</TABLE>

Fourth :Table having rowspan & colspan

<TABLE BORDER=1>

<TR>

<TD ROWSPAN=2>Ajay</TD>

<TD COLSPAN=2>Vijay</TD>

 </TR>

<TR>

<TD>Pankaj</TD>

<TD>Rohan</TD>

</TR>

</TABLE>

Fifth: Table having strong tag & a link in cell's data

<TABLE BORDER=1>

<TR>

<TD COLSPAN=3

ALIGN=CENTER><STRONG><AHREF="https://IGNOU.org/">Ajay</STRO

NG>

</TD>

</TR>

<TR>

<TD>Vijay</TD>

<TD>Vikas</TD>

<TD>Pankaj</TD>

</TR>

</TABLE>

</BODY>

</HTML>

426_Cell Spacing and Cell Paddin.png

             Figure: Some Important Attributes of the Table Tag Family

The first table in Figure illustrates cellspacing and cellpadding.


Related Discussions:- Cell spacing and cell padding

E-commerce wireless responsive site, E-Commerce Wireless Responsive Site ...

E-Commerce Wireless Responsive Site Wireless Accessory Company in search of a Developer and Design Company. To create a one of a caring Responsive awesome site. I have a JPG of

Develop and design a fully functioning website, Develop and design a fully ...

Develop and design a fully functioning website. The Company: We are a forward thinking, innovative and creative industrial design company. (not web design company!) We design

Javascript with html, Events are actions which can be detected through Java...

Events are actions which can be detected through JavaScript.  An example would be the on Mouse Over event that is detected while the user moves the mouse on an object.  Another eve

What is the difference between $message and $$message, What is the differen...

What is the difference between $message and $$message? Main difference between $message and $$message is that former is a simple variable and later is a reference variable. $me

Want help of seo for existing website, SEO FOR EXISTING WEBSITE We are i...

SEO FOR EXISTING WEBSITE We are in search of an expert who will do the SEO for an existing website. The website is hosted in a third party server not ours. The client wants his

I need help in phpbb modifications for course type forum, PHPBB modificatio...

PHPBB modifications (course type forum) I desire to make a different view/organization of the viewForum.php for my phpBB site. To support this change certain changes desires

We need to migration of our site to magento, We need to Migration of our si...

We need to Migration of our site to Magento (from Zen Cart) I work as a consultant and am currently converting one of my clients e-commerce stores from Zen Cart to Magento. W

Make lightbox (js) form that captures client information, Make lightbox (js...

Make lightbox (js) form that captures client information in Zoho We have three websites that have lightbox popups on them. Subsequently 120 seconds on the website the lightbox c

Need help in jquery event calendar integration, Need help in JQuery Event C...

Need help in JQuery Event Calendar Integration w/Functionality, API Integration of BBB This module is about Integrating as well as Activating a JQuery Event Calendar as well as

Iframe, is an HTML 4.0 addition to the frames toolbox. Now only MSIE suppor...

is an HTML 4.0 addition to the frames toolbox. Now only MSIE supports . Unlike frames created via & , d

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd