Jump to content

Recommended Posts

The align tag is deprecated and as such shouldn't be used.

 

To the OP - first, take off the left margin you have set. Next, give the div width that is the width of the video you want to show. Finally set the left and right margins to auto. So your CSS for the div should look like this:

 

width: __px; //set this to the width of the youtube video
margin: 0 auto;

 

This *should* solve your problem, though it may not. I unfortunately don't have IE6 on my home setup, so I can't check it.

 

As a side note, I don't say this to be harsh, but you should really buy a book on CSS. The CSS you are using is, well, its quite a mess. On top of this, you are using it inefficiently by putting it inline in your divs, and you are using some browser specific styles. If you pick up a book on CSS, you will find that problems like the one you have here are quite easy to deal with, and it will improve your site's loading times as well. Good luck!

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.