< Return to the latest blog posts

How to use CSS and Javascript in eBay – eBay Design DOs and DON’Ts

Brian Petti, Cleveland Website Designer
BRIAN PETTI

I recently have had requests for eBay custom stores and custom product descriptions.  This post is more of a reference area for me to refer back to should the time come again and I thought it might be useful to others as well. eBay store design not something I heavily promote as part of my web design services, but it is something I’ve learned recently that I can do very easily should the request come again. So, when advanced eBay store designs are needed, I can just come back to my eBay list of design DOs and DON’Ts.

1. No HTML, HEAD or BODY tags.

2. Referencing external stylesheets are okay.
3. Place the CSS at the top of the HTML code.
4. Be sure to use ID and Class names that are uncommon so they will not interfere with eBays CSS.
5. DO NOT USE ABSOLUTE POSITIONING position: absolute;. Use position: relative; when needed.
6. Some Javascript is allowed on eBay. I recommend just pasting the JS in <script> locally under the CSS links. You can get external javascript to work, but I dont recommend it.
7. jQuery will not work.
8. Cookies are not permitted.
9. Use eBays Turbo lister to test out on a Windows computer. On Mac, just create a new item in eBay and use the “Preview” link to test.
10. The use of browser specific code is permitted. <!–[if IE]><![endif]–>
Here is the link to eBays HTML and Javascript Policy.