go41

Re: why is my WP Ecommerce button not centering in my page in IE? :: Reply by Joern

von Joern am 5. Mai. 2010 | Keine Kommentare

there is a css entry in /plugins/wp-e-commerce/themes/iShop/iShop.css,
div.wpsc_loading_animation … float:left;
This makes the button in ff moving right and looking like centered. This loading image is hidden, so IE moves your button image to the left.
I would remove float:left; from iShop.css first, I ‚guess‘ the button will be more left in ff now.
To center it you should not just write center as this is not to understand for many browsers
Now your ordernowbutton image is in a div class="wpsc_buy_button_container"
So add in iShop.css:

div.wpsc_buy_button_container {

/* not really sure what.. */

text-align:center;

margin:0 auto;

}
you might have to assign this styles to the image like this:
div.wpsc_buy_button_container img {

text-align:center;

margin:15px auto;

}
also the empty p /p or br you use above and below the image you do not need, it’s in

margin:15px auto; giving you 15px above and below the image
more is hard to tell because an ajax (java)script modifies the styling on load…
____________________
you find me on Google+, Twitter and Facebook

(von: Joern)

Hier noch 1 weitere Ergebnisse dieses Threads:

why is my WP Ecommerce button not centering in my page in IE?

5. Mai. 2010 (von: omarkhan1)

My site is www. m a a ximum Seduction.com Sorry I had to write it this way, but I don't want the search engines to pick up my site on this board. Anyways, you can visit my ebook page. On…

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: