Skip to main content

I just did a design for a customer who uses auctivia and I joined the site to check it out since I dont normally work with auctivia ... anyway I need to know, is CSS supported? I inserted my code and everything looks OK but it seems some of my css is a little off. Please let me know - thanks!
Original Post

Replies sorted oldest to newest

Yep, CSS is good. If your template is very CSS heavy, eBay will sometimes strip it out when a user revises a listing. We have found the way around this is to actually have your styles at the end, after all of the HTML. For an example, view the source on this template. We had also heard that absolute positioning was going to be disallowed in eBay's new listing page, but so far no reports of broken templates (knock on wood).
I have to disagree. Use of the following tags MUST be avoided in a template:

!DOCTYPE...
<html>...</html>
<meta... />
<head>...</head>
<title>...</title>
<style>...</style>
<body>...</body>

Injecting CSS blocks or any of the above in the middle of a page is bad practice. Why? because in CSS blocks, you can define Classes that have the same name as an already declared Class. Doing so, some properties of the original Class may be overwritten which can result in a totally defaced page (by "page" I mean the entire document, not just your ad' section).

I am therefore surprised that eBay tolerates CSS block declarations within the Body of the document and they will change it sooner or later. When they do, you will have to re-write all of your templates. Also, navigators may get tighter on the subject in the future and ignore or disallow CSS block declarations within the Body section.

The only way to write a long-live, eBay-compliant template is to write in-line CSS using <div style="..."> or <span style="...">. This is totally acceptable but the drawback is that it takes for ever to code!

As far as automated (WYSIWYG) eBay template generators are involved, to my knowledge, only http://www.auctiondecorator.com/ does it properly because it generates in-line CSS code only, which makes it fully compatible with eBay rules and regulations.
Last edited by yesbut
Ah, looks like my linking to a template preview could cause some confusion since it puts additional markup for presentation in there. Instead, go to the Listings tab and in the lower right click "Customize an Auctiva Template". Looking at template HTML there should give a clearer idea.

Unfortunately, inline styles could be removed as well if eBay ever chose to go that route. So just try and make such cool looking templates that eBay couldn't bring themselves to do away with them Cool
I was not aiming at your template, even though it has CSS blocks. I was just replying to "oclogos" post. I listed all tags that are inappropriate in auctions listings, because many online or PC based template generators use them in their output.

I don't think that eBay will ever disable inline CSS because their own editor uses it extensively. If they ever decide to put limitations, they will probably start with Javascript. But I doubt.

Add Reply

Copyright © 1999-2018 Auctiva.com. All rights reserved.
×
×
×
×
Link copied to your clipboard.
×