centering button |
centering button |
MindyT |
Aug 24 2016, 01:49 PM
Post
#1
|
Advanced Member Group: Members Posts: 165 Joined: 12-November 13 Member No.: 19,963 |
Hi, can someone help me understand why the quote button isn't centered on http://www.mediaservicesunlimited.com/bixl...l-insurance.php
CODE #quoteBtn { height:34px; width:195px; margin-left:auto; margin-right: auto; } |
pandy |
Aug 24 2016, 03:26 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Several reasons. Neither A or the IMG has the id quoteBtn or any other id. And even if one of them did, equal margins center block level elements, not inline elements.
|
Lo-Fi Version | Time is now: 23rd April 2024 - 09:15 AM |