Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On eBay you can code the content of a <div> on the auction's page. The problem is that you can't edit the <head> content.

I tried using inside the <div> something like this:

<style type="text/css"> 
      my styles...

It works on Chrome and Firefox but it doesn't work on Internet Explorer. Do you have any hint other than manually write all the style="..." attribute in each element? *

I'm not looking for W3C validation, eBay pages are already broken. I just need it to work cross browser.

* Unless there is some automatic way to do it.

PS: I don't have enough reputation to create the eBay tag yet.

share|improve this question
up vote 2 down vote accepted

you can use a tool to convert your external style to inline stylesheets, such as used for email-marketing and other areas where inlinestyling is the only option

share|improve this answer

Browsers shouldn't honour <link rel="stylesheet"> outside of the header, but many do. Please check the terms and conditions as I'm sure eBay would try to stop this (you could override their page styles for instance). Alternatives may include an iframe back to your site (unless that is forbidden too).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.