Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Aperture

macrumors 68000
Original poster
Mar 19, 2006
1,876
0
PA
Hi. I just used SimpleViewer to make this page. I'd like to display an image directly to the left of the thumbnails yet keep the whole thing, as if the image & flash were one, centered.

Thanks
 
try something like this

Code:
<div id="wrapper">
   <div id="leftpicture">This is where your left picture goes </div>
   <div id="simpleviewer>
      //simpleviewer code goes here
   </div>
</div>

and the css:
Code:
wrapper {margin:0 auto;}
leftpicture, simpleviewer, wrapper {float:left; display:inline;}
 
try something like this

Code:
<div id="wrapper">
   <div id="leftpicture">This is where your left picture goes </div>
   <div id="simpleviewer>
      //simpleviewer code goes here
   </div>
</div>

and the css:
Code:
wrapper {margin:0 auto;}
leftpicture, simpleviewer, wrapper {float:left; display:inline;}

Thanks for the help but I'm still having some trouble.

I uploaded my file using your code here. I'm not too experienced and I wasn't quite sure where to put the CSS. Should it have gone in the <Style> tags in the HTML file? That is where I put it.

For some reason it is telling me I don't have Flash installed. All I did was I put the code for SimpleViewer into the code you gave me.
 
rajfantastic

there is a quote missing in the line <div id="simpleviewier"> which is messing up the syntax... also, you might have to put <div id="flashcontent"> inside <div id="simpleviewer"> and before the javascript, just like your original example.
 
there is a quote missing in the line <div id="simpleviewier"> which is messing up the syntax... also, you might have to put <div id="flashcontent"> inside <div id="simpleviewer"> and before the javascript, just like your original example.

Thank you so much for all your help, I do appreciate it.

After making your suggested changes, this is where I am. Still acting a little funky, but it is progress. :)
 
you have two divs with id=flashcontent. delete the second one, but make sure to include the macromedia link in the other div. also, its a basic html rule that an id can only be used once, so make sure to validate your code.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.