• Shouldn’t this be working right now?

    #header {
    margin: 0px 0px 0px 31px;
    background-image: url(/thebluntprophet.com/wp-content/themes/terracotta/images/rollingclouds.swf);
    background-position: top left;
    background-repeat: no-repeat;
    width: 581px;
    height: 212px;
    border-style: solid;
    border-color: #30281F;
    border-width: 0px 0px 1px 1px;
    border-left: 1px solid

    ?

    https://www.thebluntprophet.com

Viewing 12 replies - 1 through 12 (of 12 total)
  • No.

    You cannot place an .swf file as the background. Flash files are out of the DOM, and cannot be placed as a background to anything. If you want it as your header, you need to use the correct object/embed src tags (Flash gives you this code when you create a movie), and place it in the HTML document. But it will not work as a background – not in any case.

    a swf is not an image, its an object.

    short answer = no.

    (and for those that don’t know it, the embed tag is obsolete)

    Thread Starter thebluntprophet

    (@thebluntprophet)

    Its for the header image NOT the background? So there is no way of adding this to my site at all?

    once again, a swf is NOT an image. It’s an object.

    https://www.w3schools.com/flash/flash_inhtml.asp

    >>Its for the header image NOT the background?<<

    But you have it set as the background in your stylesheet.

    >>#header {
    margin: 0px 0px 0px 31px;
    background-image: url(/thebluntprophet.com/wp-content/themes/terracotta/images/rollingclouds.swf);
    background-position: top left;
    background-repeat: no-repeat;<<

    Right there it is – set as the background in your CSS. This *will not* work. You *must* hardcode it into your HTML document – it’s not an image, it’s an object. Check out the link whooami posted above.

    Thread Starter thebluntprophet

    (@thebluntprophet)

    Reading now

    yes, read the link. youre missing the part where you have a basic knowledge of (X)HTML.

    and for the record, flash headers are covered extensively on these forums, a search would do you good.

    https://www.ads-software.com/search/swf+header?forums=1

    Thread Starter thebluntprophet

    (@thebluntprophet)

    Got it, thanks a bunch, now to figure out why it pushes the posts etc over to much. thought I had the right demensions

    Thread Starter thebluntprophet

    (@thebluntprophet)

    Anyone have any ideas? Is this a CSS push or did I miss something in the header.php file?

    I don’t see any pushing of the posts…what browser are you viewing in?

    Thread Starter thebluntprophet

    (@thebluntprophet)

    FF and IE – It pushes the posts and the footer over to the right some.

    Check my contact page, I don’t even see the form anymore just the footer in a weird place.

    Thread Starter thebluntprophet

    (@thebluntprophet)

    Hmm FF hasn’t refreshed yet IE looks fine, now to fix my footer that is pushed.

    anyhelp would rock

    THANKS !

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Adding .swf as my header’ is closed to new replies.