on โ09-09-2023 04:26 PM
So its my first time creating a template for my item descriptions. I used VS code to write my HTML CSS and Java. After finishing and reading some posts on the subject I changed my code to style my css in-line HTML. I removed my <head> and <body> tags. When I preview my item, the description shows my HTML content without any style. I have also tried removing the Java without any luck.
Any help will be much appreciated.
I would like to show my code but its quite long.
on โ10-09-2023 12:27 PM
Try placing a hard element ahead of the stylesheet, designating the stylesheet as a body element. eg
<br style="display:none" />
<style>CSS Stylesheet</style><div>....</div>
eBay sets up the page with its own headers hence no <body>, <head>
Javascript isn't allowed, you see eBays policy against it in help.
on โ12-09-2023 09:32 AM
I tried using the hard element at the beginning as you said without any luck. I removed any code that might interfere with eBays own code like styling p elements without assigning a class also removed the universal * style. Not sure where to go from here.
on โ12-09-2023 06:34 PM
go to HELP at top of page and conduct a 'live chat'
on โ13-09-2023 10:25 AM
Possibly a semantics issues with the HTML but without seeing what you have written its hard to pick. A couple of other suggestions are
Is the CSS stylesheet hosted on a server? If so it needs to be secure same as for hosting images, also remove doctype declaration if you have it.