Project / Support Center
Welcome, Guest. Please login or register. October 19, 2019, 03:00: AM
Home Help Search Login Register
D-Web Web Site Creator D - Web Web Site Creator On-line HTML Editor No Programming knowledge required. Web Global Net PayPal-Cart Shopping Cart System PayPal - Kart Shopping Cart System for E-Commerce over the internet, that's easy to use. Web Global Net Newsletter Manager Newsletter Manager On-line Newsletter Creator with Email Subscriber Management.
Ring Central Discount
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  CSS Related  |  Topic: HTML 5 Centering with CSS 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Send this topic Print
Author Topic: HTML 5 Centering with CSS  (Read 522 times)
admin
Administrator
******
Offline Offline

Posts: 162


« on: June 19, 2019, 06:46: PM »

This will enter what you want the trick is to use the display:block - images can then use this.

the width can be removed if you want too.

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}
Report to moderator   Logged

The Unknown Webmaster
Pages: [1] Go Up Send this topic Print 
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  CSS Related  |  Topic: HTML 5 Centering with CSS « previous next »
Jump to:  


Login with username, password and session length
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!