Anyone Handy with HTML? (FOUC problem) (1 Viewer)

gray

Senior Member
Moderator
Apr 22, 2003
30,260
#1
Hey guys,

I'm in the process of building a website for a business that I'm starting up.

I've created some pages and used linked CSS stylesheets for the formatting, and the pages look fine when I host them on my own webspace.

Code:
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <link rel="STYLESHEET" type="text/css" href="http://url/style.css" />
    <title>title</title>
  </head>
However, when I paste the same code into an ebay page, there is a "Flash of Unformatted Content", because my code gets nested beneath ebay's own header, so it takes a second for my CSS to kick in.

It's not a fatal error, but it looks crappy when all my text shows up purple for a second.

Can anyone suggest a workaround for this?

If you'd like to see the link, let me know and I'll PM it to you.
 

Buy on AliExpress.com

swag

L'autista
Administrator
Sep 23, 2003
84,749
#3
OK, seriously, I did see something that if you add a <script> element in the HTML HEAD, even an empty one will do, it might help you...
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)