Mobile app version of vmapp.org
Login or Join
Gretchen104

: How to overcome eBay CSS limits for auctions' pages? 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

@Gretchen104

Posted in: #CrossBrowser #Css #Ebay #InternetExplorer

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...
</style>


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.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Gretchen104

2 Comments

Sorted by latest first Latest Oldest Best

 

@Murphy175

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

inlinestyler.torchboxapps.com/styler/

10% popularity Vote Up Vote Down


 

@Reiling115

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).

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme