I am reposting this problem, perhaps a different title will make more sense and capture more attention, ie any.
When/if I put embed/object tags into my blog, for music or video, my CSS goes all wacky. Just look and see for yourself, http://itsjustjustin.com/?p=749 It crazy looking.
Then go to http://itsjustjustin.com/?p=756 and see how normal that page looks, well normal to me at least.
maybe i should add that i tried several themes and each theme had the same problem. this started with the upgrading from 1.5
You’ve got some code problems there. Making sure you’re using valid code may help. When checking your CSS for that page here: http://jigsaw.w3.org/css-validator/ I get “The element type “object” must be terminated by the matching end-tag “</object>”.”
You’ve got several problems with your html. Some are very easy to fix, some might take a bit of detective work.
I have the same problem with a flash movie. I have opened and closed the object and my site validates.
Check it out at:
Any ideas please?
I am going to add the “missing” < and > where it say they should be, though I don’t believe they have to be there, never needed them before, also other ppl use my code (meetjustin.com) and have no issues…
Thanks for the reply and ideas. Maybe i was cheap with my HTML but it sure worked before 2.0… hmmmm
Bump on this one just in case people missed my post.
You need to bear in mind that the validator is not intelligent. It’s possible that you have a few real errors in your code that is causing it to think there are other errors that don’t really exist. I would seriously consider fixing some of the errors – you don’t know what other problems they could be causing.
Start by putting the gvisit script reference between
</head>instead of just above
<head profile="http://gmpg.org/xfn/11">as it is now.
I fixed the gvisit and found that almost all the errors were with my music code… though they are’nt actually errors.
Here is a page that has only 18 errors but they are not real errors either. i’m confused
I am so lost now.
Most of the errors you have are real. Just because your browser is doing a good job of guessing what you meant doesn’t mean there aren’t errors there.
I’d recommend you have a look at this page:
You could also use a HTML 4.01 Transitional Doctype, but going the XHTML route will improve the quality of your code.
I’ve had a deeper look at your code on the page with object tags. What it looks like (from looking at the actual page) is that everything from the object tag is “leaking” outside the post div. It’s not like that in your code, but that seems to be how the browser is interpreting it. At the moment I don’t know why that would be.
I had the same problem with embed tags for my videos, but heres the solution!
You just have to turn off the WYSIWYG!
You can turn off WYSIWYG easily enough – go to your profile, and scroll to the bottom. Take the tick out of the “Use the visual rich editor when writing” and click “Update Profile”.
Enjoy WP 2.0!
- The topic ‘embed/object tag compatibility’ is closed to new replies.