Haven't looked at the files but try giving the button a class or id and applying this to it:
Edit: Won't work.Code:id/classOfYourChoice{ margin:0 auto; }
Hi,
I have just completed an exercise to create a CSS spec site. It works save for an e-mail button that won't do what I want.
It is under the command of its 'container' to align left but I want to break it free to center it without affecting the rest of the container.
I have tried various CSS commands, div's, classes to no avail. All the files are available on Index of /tea
Guidance as to why the button won't/can't break free would be appreciated.
Ted
Haven't looked at the files but try giving the button a class or id and applying this to it:
Edit: Won't work.Code:id/classOfYourChoice{ margin:0 auto; }
place a div around it and apply
to it.text-align:center;
Thank you both for your responses and for bartoszdesign, a perfect solution. It works.
Ted
Check the forum often for the latest design announcements. Everything from graphic design and web design, to films and music. Estetica is a great place for people to get together and help each other out.
Bookmarks