Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do I center a table?

Answer Posted / guest

The "correct" way of doing it is <TABLE ALIGN=CENTER>, but
this doesn't work in several popular browsers. Put <CENTER>
around the entire table for these browsers.

This causes some problems with browser that do support
CENTER but not tables, such as Lynx. In these browsers, the
contents of the cells is now displayed centered, which is
not what is intended. To avoid this, you can put the cell's
contents in <P ALIGN=left> or <DIV ALIGN=left> depending on
the amount of text in the cell.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Canvas and SVG graphics?

880


How fontsize and font size is differ in dhtml?

834


What is the main use of html?

819


Why is br tag used?

783


What is bulleted and numbered lists?

839


What is the difference between html4 and html5?

912


What is a better way to design the layout of a web page – a table tag or div?

772


What is a h1 tag?

837


What are empty html elements?

848


What is website storage?

806


What is new in html 5?

864


What is the main purpose of html?

880


What is local storage in html5? How it is used?

824


What is the importance of doctype in html?

820


What is the difference between html5 and html?

877