Topic: positioning - I've tried everything..!

http://www.ruthbernard.com/NEWSITE/paintings1.html

The top banner and bottom copyright info float on over to the left when i insert the gallery into the table, and cannot figure out why.

All should be neatly within a table, justified left....maybe not ideal, but have not mastered CSS...

Your help ASAP would be swell!


Thanks so much!!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<title>Ruth Bernard artist and painter</title>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-1" />
<link href="rb.css" rel="stylesheet" type="text/css">
</head><body>
<div align="center">
  <table width="687" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td width="687">&nbsp;</td>
    </tr>
    <tr>
      <td height="19" ><div align="left"><img src="sitepics/bann2.png" alt="Ruth Bernard artist.painter " width="367" height="119" hspace="0" vspace="0" border="0" align="left" /></div>
     </td>
    </tr>
    <tr>
      <td height="19" class="navbox" ><a href="index.html">HOME</a>&nbsp;&nbsp;|&nbsp;<a href="about.html">&nbsp;ABOUT ART</a><a href="index.html">IST </a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="portfolio.html">PORTFOLIO</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="contact.html">CONTACT/EVENTS/LINKS </a></td>
    </tr>
    <tr>
      <td  class="txtMAIN">
    <!--START SIMPLEVIEWER EMBED -->
    <script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
    <script type="text/javascript">
    jQuery(document).ready(function () {
        SV.simpleviewer.load('sv-container', '100%', '100%', 'transparent', true );
    });
    </script>
    <div id="sv-container"></div>
    <!--END SIMPLEVIEWER EMBED --></td>
    </tr>
    <tr>      <td height="10" class="footer">
      <div align="center">
        <h2>&copy;2011 Ruth Bernard artist.painter | Web Design by <a href="http://www.rlsdesigns.com/" target="_blank">RLSdesigns</a></h2>
        </div></td>    
  </tr>  </table>
</div>
</body></html>

Last edited by rlsedsigns (2011-02-24 16:08:01)

Re: positioning - I've tried everything..!

Start by taking a look at your HTML errors, remember to clear your browser's cache after you make the change.

Mike Richards
SimpleViewer Support Team.

Re: positioning - I've tried everything..!

I appreciate your help!!

http://validator.w3.org/check?uri=http% … mp;group=0

It validates now...but still no luck..

Re: positioning - I've tried everything..!

Your logo image and the div it's in are set to align="left", in your CSS your h2 is set to align left, try text-align:center to center

Mike Richards
SimpleViewer Support Team.

Re: positioning - I've tried everything..!

Well, i kind of wanted everything but the gallery justified left within the table. Centering works, but it's not the aesthetic i was desiring...

I also tried a fixed layout, but EVERYtime, it is always to the left of the page as well..i did not see an option to center and div align center does not change the position...

I just want a simple gallery centered with not much space above and below...seems the size and placement changes as well, depending on the size of the the browser..

I LOVE the functionality and look of these but , not sure if i can get what i want....am about to hang up the hat.. hmm

Re: positioning - I've tried everything..!

Try giving SimpleViewer a fixed width and height: http://www.simpleviewer.net/simpleviewe … tml#params

Felix Turner
SimpleViewer Support Team.

Re: positioning - I've tried everything..!

The top banner and bottom copyright info float on over to the left when i insert the gallery into the table, and cannot figure out why.

Well, i kind of wanted everything but the gallery justified left within the table. Centering works, but it's not the aesthetic i was desiring...

Ok, from what you said above it sounded like you were trying to center everything. In Chrome your gallery is centered and every thing else is justified left. What browser are you using?

seems the size and placement changes as well, depending on the size of the the browser..

If you don't want the gallery to resize you need to replace the 100% in the embed code with a static height and width.

Mike Richards
SimpleViewer Support Team.

Re: positioning - I've tried everything..!

THAT DID IT! I changed the width and height into pixels and it did exactly what i was wanting...! smile

http://www.ruthbernard.com/NEWSITE/paintings1.html

I check in 4 different browsers including chrome.

Thanks you so much for your expertise and support!