thepinkrobot25
08-24-2007, 09:55 AM
Hey all,
Im working on this online version of a publication for a friend...and I have uploaded the shell of the book to
industrysi.com/testmag
so you can see the roblem im having...
Id like to have the book center both horz. and vert. in a number of browsers....the horz. center I had down pretty well, but swapped it out for the current div which I read might work (it didn't).
So now I have it in an uneven position thats very annoying...
Heres what the html file looks like:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>magazine</title>
</head>
<style>
body {
background-image: url("cherrywood.jpg");
background-position: center top;
background-repeat: none;
margin: 0;
}
</style>
<body>
<div style="position: relative; width:150px; height:150px;">
<div style="position: absolute; width:100px; height:100px; left: 50%; top: 50%; margin-left: -50px; margin-top: -50px;">
<!--url's used in the movie-->
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="1200" height="800" id="magazine" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="magazine.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="magazine.swf" quality="high" bgcolor="#ffffff" width="1200" height="800" name="magazine" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</div>
</object>
</body>
</html>
Any Help would be super appreciated...
thanks in advance...
Russ
Im working on this online version of a publication for a friend...and I have uploaded the shell of the book to
industrysi.com/testmag
so you can see the roblem im having...
Id like to have the book center both horz. and vert. in a number of browsers....the horz. center I had down pretty well, but swapped it out for the current div which I read might work (it didn't).
So now I have it in an uneven position thats very annoying...
Heres what the html file looks like:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>magazine</title>
</head>
<style>
body {
background-image: url("cherrywood.jpg");
background-position: center top;
background-repeat: none;
margin: 0;
}
</style>
<body>
<div style="position: relative; width:150px; height:150px;">
<div style="position: absolute; width:100px; height:100px; left: 50%; top: 50%; margin-left: -50px; margin-top: -50px;">
<!--url's used in the movie-->
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="1200" height="800" id="magazine" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="magazine.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="magazine.swf" quality="high" bgcolor="#ffffff" width="1200" height="800" name="magazine" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</div>
</object>
</body>
</html>
Any Help would be super appreciated...
thanks in advance...
Russ