Unstoppable Domains โ€” Expired Auctions

Always aligns left

SpaceshipSpaceship
Watch

Ferenzcy

Established Member
Impact
13
I am redoing my website and i am going to be using this css trick for fluid images

img {
display: block;
border: 0;
max-width: 100%;
height: auto;
}

It seems to work very well except the images always align to the left after i have added this to css. I have the container set to align center by default.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
This problem is coming because you set max-width to 100%.. Put it to 50%, it will set your image to the center ..
 
2
•••
frank00 is right! Try changing max-width to 50-60% and see the changes entirely.
 
1
•••
CatchedCatched
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomainEasy โ€” Zero Commission
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back