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 block elements can be centered with CSS1?

Answer Posted / hrpynux@gmail.com

With css the way to center anything that's a block level element is with the margin property. One of the values of margin is auto and by setting auto on the left and right margin our block level element will center itself.

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 id and class in css?

648


How does the index function?

596


What is the html element formatting model in css?

659


What is the latest version of css and html?

628


Why overflow is used in css?

674


What is attribute selector?

685


Is it better to use margin or padding?

589


What is an inline?

611


How to manage the div visibility during 3D-transform ?

463


What does cascading mean?

593


How can change the background of a photo?

625


What's the difference between resetting and normalizing css?

771


What is css rule 'at-rule'?

641


Is box sizing inherited?

605


What are the advantages and disadvantages of inline styles?

582