Flash Videos ( You tube) ok in IE, off center in Firefox, Safari
I am having a problem with html coding. In the Internet Explorer browser, you tube videos are displaying in the right pixel locations when I set the values (i.e <div class="nav" position: "absolute" left: "445px" top: 350px".....etc). However, in Safari and Firefox browsers, the video is off center. It is not lining up with the graphic in the background. How do I fix this issue? Please assist, I am working on a large project.
Thank you in advance
If you really want to use in line styles instead of doing it the proper way (css), you have to define that is in fact a style.
<div class="nav" style="position:absolute;left:445px;top:350px">
Originally Posted by TJ111
Oh ok. So will scripting the html page in css fix the problem all together? Will the videos and other content position itself consistently on all browsers?
Thank you so much for the prompt response,
All browser's behave slightly differently. IE will have you pulling your hair out. But defining every item in CSS and using classes or id's to each object make it much easier to fix. It also makes writing your HTML much easier, and reading it significantly cleaner. Do this:
In your CSS:
Then on your page all you need is this:
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)