ZoomCities IT Community Webmaster Forum

Full Version: javascript causes ie css issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It always happens on IE 6 and 7. I've used this lightbox script for youtube, http://videobox-lb.sourceforge.net/. I found out that the videobox.js is causing my css to mis-align for the footer but i don't understand javascript at all, need some brother or sister here to help me.

Here's a visual explaination:
This is what it is suppose to look for the website


when I have the scripting on the site header. <text/javascript>src="videobox.js</script>, the footer is pushed up leaving a space at the bottom.

Insert a line break? Or if its a space issue, use this and set your margins/padding manually:

Code:
* {
padding: 0;
margin: 0;
}


Or you might be able to get it to work in the body.

Code:
body {
padding: 0;
}

just use another web browser.. hehe Biggrin
Reference URL's