creativeforces
04-03-2006, 10:41 AM
I am making a website with a jpeg that repeats on the x-axis and then putting an SWF over the top of it. Everything works great except for the fact that my SWF is one pixel lower than my background jpeg, so they don't line up and it looks like crap. Can anyone help me line these up?
here is the html for the site. Thanks for the help
<TITLE>Index</TITLE><style type="text/css">body {margin:0;}</style>
<script language="JavaScript">
// This is only needed for Netscape browsers.
function flashGetHref() { return location.href; }
function flashPutHref(href) { location.href = href; }
function flashGetTitle() { return document.title; }
function flashPutTitle(title) { document.title = title; }
</script>
</HEAD>
<BODY bgcolor="#F3F3F3">
<center>
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<!--Loading
contactdocumentingload trackingtechnologyemploymenthistoryabout-->
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="850" HEIGHT="1050" align="top">
<PARAM NAME=movie VALUE="http://www.XXXXXXXXXXXX/index1.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=noscale> <PARAM NAME=bgcolor VALUE=#F3F3F3> <EMBED src="index1.swf" WIDTH="850" HEIGHT="1050" quality=high scale=noscale bgcolor=#F3F3F3 swLiveConnect=true
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
<!-- Bookmarks used in the movie-->
<A NAME=about></A>
<A NAME=services></A>
<A NAME=history></A>
<A NAME=employment></A>
<A NAME=technology></A>
<A NAME=loadtracking></A>
<A NAME=documenting></A>
<A NAME=contact></A>
</center>
<style type="text/css">
<!--
body {
padding: 0px;
margin: 0px;
background: url(http://www.XXXXXXXXXXXXXXX/repeat.jpg); /*the path to your image*/
background-position:center center;
background-repeat:repeat-x;
background-attachment:scroll;
}
</style>
</BODY>
here is the html for the site. Thanks for the help
<TITLE>Index</TITLE><style type="text/css">body {margin:0;}</style>
<script language="JavaScript">
// This is only needed for Netscape browsers.
function flashGetHref() { return location.href; }
function flashPutHref(href) { location.href = href; }
function flashGetTitle() { return document.title; }
function flashPutTitle(title) { document.title = title; }
</script>
</HEAD>
<BODY bgcolor="#F3F3F3">
<center>
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<!--Loading
contactdocumentingload trackingtechnologyemploymenthistoryabout-->
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="850" HEIGHT="1050" align="top">
<PARAM NAME=movie VALUE="http://www.XXXXXXXXXXXX/index1.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=noscale> <PARAM NAME=bgcolor VALUE=#F3F3F3> <EMBED src="index1.swf" WIDTH="850" HEIGHT="1050" quality=high scale=noscale bgcolor=#F3F3F3 swLiveConnect=true
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
<!-- Bookmarks used in the movie-->
<A NAME=about></A>
<A NAME=services></A>
<A NAME=history></A>
<A NAME=employment></A>
<A NAME=technology></A>
<A NAME=loadtracking></A>
<A NAME=documenting></A>
<A NAME=contact></A>
</center>
<style type="text/css">
<!--
body {
padding: 0px;
margin: 0px;
background: url(http://www.XXXXXXXXXXXXXXX/repeat.jpg); /*the path to your image*/
background-position:center center;
background-repeat:repeat-x;
background-attachment:scroll;
}
</style>
</BODY>