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 to center align a div inside another div?



How to center align a div inside another div?..

Answer / hrpynux@gmail.com

Use the "inline-block" value of the display property to display the inner <div> as an inline element as well as a block. Set the text-align property on the outer <div> element to center the inner one.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CSS Cascading Style Sheets Interview Questions

What is hover effect?

0 Answers  


Why are there gaps above and below my form in ie?

0 Answers  


What is the css3 animation?

0 Answers  


How can you add gradients to your project?

0 Answers  


What is a clearfix?

0 Answers  


How do you change inspect text?

0 Answers  


If background and color should always be set together, why do they exist as separate properties?

0 Answers  


What do you understand by parent-child selector?

0 Answers  


What are new features in css3?

0 Answers  


Which property is used to set the width of the outline?

0 Answers  


What is the purpose of vmin measurement unit?

0 Answers  


What does font family mean?

0 Answers  


Categories