Help: Added Transparency Div, now site won't center properly...

Good evening, i'm having some issues here on my bro's adult site i'm in charge of.  In the "element div" is the instructions how the give the page a 50% transparency.  The "content div" contains all my text/photos. For whatever reason that i cannott diagnos, my page is shifted to the left. the content fits over top of the element div so that the it doesn't dim that text.
In the screenshot provided, the site is so far pushed to left of the background image (1600 pixels) that you can't even see the 4th girl.  My entire site is only 1100 px, so in theory, if centered properly, you should see a good amount of both of the end girls. The back bar is blocking out the obvious nudity.  The 4th girl is so far out of the frame to the right, you can't even see her.  Is my page just too wide. It seems that no matter what, the testers can still see the end of the bacground image on larger tvs used as monitors. So any advice on that would be cool as well.
Thanking you guys in advance for your asssitance.
-most of the relevan css below-
h1, h2, h3 {
          margin: 0;
          padding: 0;
          font-weight: normal;
          color: #FFF;
h1 {
          font-size: 3em;
          text-align: center;
          padding-bottom: 10px;
          font-weight: bold;
h2 {
          font-size: 2.4em;
h3 {
          font-size: 1.6em;
p, ul, ol {
          margin-top: 0;
          line-height: 180%;
ul, ol {
a {
          text-decoration: none;
          color: #4486C7;
#wrapper {
          width: 1100px;
          margin: 0px;
          height: 750px;
          position: fixed;
#element1 {
          position: relative;
          z-index: 1;
          background-color: #000;
          height: 1550px;
          width: 1100px;
          /**50% opacity**/
          background: #000000;
          /**for pre-IE8**/
          filter: alpha(opacity=50);
          /**for IE8 only**/
          -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
          /**for non-IE browsers**/
          opacity: 0.5;
          border: thin solid #999;
#content {
          z-index: 2;
          position: relative;
          top: -1550px;
          width: 1000px;
          color: #FFF;
          text-align: left;
          margin: 0px auto;

That code makes little sense to me - it's very messy. First, I would set the wrapper div to margin: 0 auto; to center it. Next, the background image would work best in the body tag with a background-position: center top;
And remove the fixed position on the wrapper. And the height. Work with the document flow, not against it.

Similar Messages

  • What's wrong with my div tag / site won't center....

    Hi,
    I am re-designing a website and I cannot get it to center.  I created a div tag and id it "wrapper" and created a css rule.  I am sure its a simple mistake, but I cannot figure it out.....
    Here is the CSS rules...
    @charset "UTF-8";
    /* CSS Document */
    div, h1, h2, h3, h4, h5, h6, p, pre, address, blockquote, span, ul, ol, li, dl, dd, dt, ing {
              margin: 0px;
              padding: 0px;
    #wrapper{
              margin: 0, auto;
              background-color: #9B9E6B;
    ul {
              list-style: none;
    table#content1{
              background-color: #00C;
              background-image: url(_images/content_bgrnd.png);
              background-repeat: no-repeat;
              font-family: "Arial Black", Gadget, sans-serif;
              font-size: 20px;
              text-align: center;
              padding: 8px;
    Here is the code for the site......
    <!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Kiahuna 104</title>
    <script type="text/javascript">
    <!--
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    <link href="104.css" rel="stylesheet" type="text/css" />
    </head>
    <body onload="MM_preloadImages('_images/buttinside1.jpg','_images/buttproperty1.jpg','_images/b uttactivities1.jpg','_images/buttdining1.jpg','_images/buttcontacts1.jpg','_images/home_lg 1.png','_images/home_lg2.png','_images/home_lg3.png','_images/home_lg4.png','_images/home_ lg5.png','_images/home_lg6.png','_images/home_lg7.png','_images/home_lg8.png')">
    <div id="wrapper">
    <!--Header-->
    <table id="header">
      <div class="header"><img src="_images/newLOGO.jpg" alt="Kiahuna 104" width="1000"/>
    </div>
    <!--Navigation table-->
    <table width="1000" bgcolor="000">
      <tr>
        <td width="40"> </td>
        <td width="150"><a href="inside.htm"><img src="_images/butthome1.jpg" alt="home1" name="home1"  id="home1" /></a></td>
        <td width="150"><img src="_images/buttinside2.jpg" alt="inside2" name="inside2" id="inside2" onmouseover="MM_swapImage('inside2','','_images/buttinside1.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></td>
        <td width="150"><a href="property.htm"><img src="_images/buttproperty2.jpg" alt="property2" name="property2" id="property2" onmouseover="MM_swapImage('property2','','_images/buttproperty1.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></td>
        <td width="150"><a href="activities.htm"><img src="_images/buttactivities2.jpg" alt="activities2" name="act2" id="act2" onmouseover="MM_swapImage('act2','','_images/buttactivities1.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></td>
        <td width="150"><a href="dining.htm"><img src="_images/buttdining2.jpg" alt="dining2" name="dining2" id="dining2" onmouseover="MM_swapImage('dining2','','_images/buttdining1.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></td>
        <td width="150"><a href="contact.htm"><img src="_images/buttcontacts2.jpg" alt="contact2" name="contact2" id="contact2" onmouseover="MM_swapImage('contact2','','_images/buttcontacts1.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></td>
      </tr>
    </table>
    <!--Start of content1 table- height = 371-->
    <table id="content1" table width="1000" height="371">
      <tr>
        <td width="34"> </td>
        <td width="897"><p>blah blah blah.</p>
          <p class="center2">NEW: IN-CONDO WASHER & DRYER - COMPLETELY NEW FURNITURE</p></td>
        <td width="53"> </td>
      </tr>
    </table>
    </body>
    </html>

    I tried to assign a width in both the page and CSS and it still doesn't center.  Here is a link to the site and the CSS....
    http://taffyproductions.com/test/
    @charset "UTF-8";
    /* CSS Document */
    div, h1, h2, h3, h4, h5, h6, p, pre, address, blockquote, span, ul, ol, li, dl, dd, dt, ing {
              margin: 0px;
              padding: 0px;
    #wrapper{
              margin: 0, auto;
              background-color: #000;
    ul {
              list-style: none;
    table#content1{
              background-color: #00C;
              background-image: url(_images/content_bgrnd.png);
              background-repeat: no-repeat;
    font-size: 16px;
              font-family: Papyrus, Arial, "Helvetica Bold", serif;
              font-size: 22px;
              text-align: center;
              padding: 8px;
    table#imagegallery{
              background-image: url(_images/imageGallery_bckgrnd.png);
              background-repeat: no-repeat;
    #imagegallery a img{
        padding: 0px;
        margin: 2px;
        border: 2px solid #000;
    #imagegallery a:hover img {
              border: 2px solid #C00;
    table#footer{
              background-image: url(_images/footer_bckgrnd.png);
              background-repeat: no-repeat;

  • Updated OS to 10.5.7, now computer won't start properly...

    Updated to OS 10.5.7 three days ago. After installation, system prompted restart (as usual). I clicked "restart", system properly shut down, then began to restart, then was stuck in restart mode for 3 hours! Gray screen with apple icon appeared, along with circling lines indicating it was "thinking" (I guess), then finally it just shut off. Now, it won't restart at all, just goes to gray screen for a few minutes, then goes black. Tried restarting from the system disk (10.5) which came with the computer, but I then get an alert saying it can't restore software because it can't find 10.4 or newer on the system. It shows my computer, with 10.5.7 on the startup disk menu, but selecting it and restarting throws me back into the gray screen/shut down loop.

    Try starting in a different account or Safe Mode. Other issues have been related to font problems. You can test for this if things work in Safe Mode. A different account will check if it is something specific to your account.
    [Mac OS X: Starting up in Safe Mode|http://docs.info.apple.com/article.html?artnum=107393]
    [What is Safe Boot, Safe Mode? (Mac OS X)|http://support.apple.com/kb/HT1564]
    [Safe Boot takes longer than normal startup|http://docs.info.apple.com/article.html?artnum=107394]
    [Mac OS X 10.4, 10.5- Computer shuts down during Safe Boot|http://support.apple.com/kb/TA24054]
    Safe boot mode runs a directory check command similar to that used by Disk Utility's repair. In Tiger it ignores some stored information (cache) that is normally read that speeds up the boot process, and it moves some other caches to the trash. It also uses only System fonts and disables all Startup Items, third party items, and any Login Items.
    By the way, did you repair permissions with Disk Utility before and after doing hte update?

  • I added a printer a month or so ago and now it does not show up. Now site won't recognize my email

    I have tried to logon to find my other printer but the email address will not be accepted.  If I try to add it the site tells me the address is used and when I try to logon it tells me it is invalid.
    I can get to one printer by logging in thru Yahoo.
    I have the printer emails for both printers.

    Hi cueball819,
    Thanks for using Apple Support Communities.  This article has steps to try if your iPods aren't recognized by iTunes or Windows:
    iPod not recognized in My Computer and in iTunes for Windows
    http://support.apple.com/kb/TS1369
    Cheers,
    - Ari

  • Changed the name of "home" now site won't work

    hi. I changed my home page. What i did was make a duplicate, then deleted the original home folder, then renamed the duplicate to 'home'. (it won't allow me to use a cap "H" though)
    I had the site masked and forwarded via Godaddy, and now my domain will not work. If i publish and visit, the site is fine, here it is http://web.me.com/coutroulis/Nikos_site/home.html
    and the linked domain, is www.coutroulis.com
    (which doesn't work)
    any help would be great
    thanks

    never mind, seems to have magically fixed itself
    thanks

  • Need help adding video to a site

    Hi Everyone:
    I really need some help please. The owner of a site I am
    working on sent me a DVD with video's he has taken and wants them
    put on his site.
    The files are VIDEO_TS and are MPEG files. How can I add the
    video's to the site so that when I user clicks on the link, they
    are able to either view the site or download the video to watch
    later. I have other video's added to the site but I was able to
    copy them and safe them the way there were added. The owner sells
    products from the site I copied them from.
    The site I am working on is www.buggyworld.net. Most of the
    individual pages for the vehilces have videos on them and I am
    trying to add these new ones the same way. I have never done this
    before so really not sure how to. The videos that are already added
    at Windows Media Audio/Video Files and that is how I would like to
    convert this video to.
    Any help would be so greatly appreciated.. thank you
    Linda

    Best bet would be to make Flash video so that everyone who
    wants to (and has
    the Flash Player plugin) can see them. Do you have Flash?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Frank Branker" <[email protected]> wrote in
    message
    news:f4ph73$rcd$[email protected]..
    > What?s the size of your MPG file?
    >
    > It?s better if you convert your file to a wmv file
    format because it?s
    > important to keep your file size under 6 Megs. Do you
    have the software to
    > do
    > this?
    > Windows Movie maker might be able to do this you can
    find it in your
    > program
    > files on your computer.
    >
    > If not we will have to work with what you have and do a
    quick and dirty
    > but I
    > don?t advise that.
    >
    > Below is a list of tools you may want to consider
    owning.
    >
    > Ripping Software
    > This software will rip from a dvd to just about any
    format including WMV
    >
    http://www.imtoo.com/dvd-ripper.html
    >
    > Compressing software
    > Sorenson Squeeze Suite 4.5 is the industry-leading video
    encoding tool
    >
    http://www.sorensonmedia.com/pages/?pageID=2
    >
    >
    >

  • Added RAM and now Applications won't open

    I just added RAM (8GB)to my computer and now my InDesign will not open.
    I did the OptApple+PR reset.
    Do I need to do something after upgrading RAM so things run smooth?

    Will the computer start up normally? If not, is the led on the front blinking? If it does start up normally how much RAM does it think it has?
    Have you tried going back to the original RAM?

  • Added new memory, now computer won't boot at all

    Hello
    I added a new pair of 2*8GB Coursair memory along with my old memory which was 2*2GB, for a total of 20GB Ram. It was working fine for a day (except one random restart), but got steadily worse. Yesterday iMac was shutting and restarting more frequently. I decided to remove the old pair thinking the   different brands may be causing a disturbance. I did, but the restarting didn't stop. I removed them again to try put it back more firmly or something, that was the last time my iMac booted. It will show the apple logo, then some short loading bar will come up, then it would promprtly shut down.
    I tried putting back my original RAM and it still wouldn't boot. Tried them individually, new old, different slots, nothing worked.
    So I guess I damaged my memory slots or all my RAM modules stopped working. Any ideas what to do next? I've already requested a replacement for the new RAM.
    Some extra info:
    -Old ram was running at 1333Hz and new one was 1666Hz, I tried them together .
    -First time I tried to remove RAM, I tried to pluck them out with my hands by leveraging the sides with a small screw driver. Realised I had to pull the black thing later on. Don't think I applied too much force though.

    Well, you should not mix different specs RAM. And, it's best to purchase RAM for the very finicky Macs from either OWC (macsales.com) or Crucial which guarantee the RAM to be Mac compatible and offer a lifetime warranty.
    I would guess that the new incorrect spec RAM is the problem. Additionally, you might have damaged the slots inadvertantly.
    You might need to take it to your nearest Genius Bar for a free evaluation. Additionally, I would return the RAM as not being compatible.

  • Help!  used filevault now OS won't respond

    I have a macbook pro with OS 10.6 and used filevault to encrypt my files.  After rebooting and logging in, the descktop screen comes up with all the programs, but when I try to open a program I get the timeout (swirling rainbow circle) and cannot even access the apple icon to forcequit or restart. I restarted a second time and this time clicked on the apple icon to try to force chrome to quit (it keeps trying to open chrome since I had to close the computer by pressing down on the start button, so each time I start it up it tries to open the program that it was trying to open the first time).  What can I do?  Thanks!

    Nevermind - problem solved; CHrome seems to have been the problem.  On the third reboot I clicked on the apple BEFORE it had done booting everything up and was able to force chrome to quit.  After that it's working fine.

  • Site won't load properly in IE

    I've created a site that works perfectly in Firefox and
    Safari, but not in IE. I'm not sure why, but some of the pages
    aren't downloading properly (some won't load at all). I used
    Dreamweaver to create a drop down menu, but don't know if that
    would cause the problem.
    I'd be grateful if anybody could help. The site is at
    http://www.lucyohara.talktalk.net/test/
    Thanks

    Looks fine here in IE6. You may want to compress your images
    better as the
    page is quite heavy:
    http://www.websiteoptimization.com/services/analyze/wso.php?url=http://www.lucyohara.talkt alk.net/test/test.html
    Walt
    "Lucy4" <[email protected]> wrote in message
    news:frdu86$c2$[email protected]..
    >I did that for this page:
    http://www.lucyohara.talktalk.net/test/test.html
    >but it's still not working in IE6

  • I've been using VMWare Fusion for my Macbookbook Pro (OS Lion) and it froze the other day. It couldn't force quit any program so I needed to do a hard reset by pressing the power button. Now VMWare won't restart properly. How do I fix this?

    The Mac side works fine but now the VMWare won't even open windows. After restarting it did an automatic StartUp Repair but after another reboot, it was just a black screen.

    Have you rebooted the Mac. Give that a try.
    If that doesn't work you could reinstall Fusion but if Fusion opens and you can get to the Library windows of Fusion I think your VM OS is toast.
    I make a habbit of copying the VM to another internal, yes I have 2 internal drives in my MBP, and to an external drive. I do this about once a week. That way if the Mac screws something up I have a backup I can use to overwrite the one that does not work correctly.
    Good Luck. Hope you get it working.

  • A Web site won't load properly in Firefox, but will in other browsers, and most other sites load normally in Firefox.

    I have intermittent problems with a Web site not loading properly (rather than a gray background with pictures and clickable captions linking to news stories, a page consisting only of text and hyperlinks loads). The page loads normally in Internet Explorer. The problem with Firefox seems to be limited to this one site. I've previously reported it by clicking Help | Report broken Web sites. Thanks for any suggestions

    I had this problem. I fixed it by right clicking on the website page and found I had inadvertently ticked "block images from this website". Uncheck this and it's fine!

  • GoDaddy site won't display properly

    I have been working with a client's Dreamweaver site; however, when I went to upload it to GoDaddy, the pages and images don't display properly.  How can I fix this?
    Will I need to change the links for every missing graphic, so that they come directly from the root?  Is there an easier way?
    This particular site has multiple level and sub-folders, etc.
    Please HELP!!!!

    Thank you so much!  I hadn't thought about that.  Since it's a one-time fix, I'll go through and change any absolutes to relative.
    Thanks again.
    Sincerely,
    Lynn

  • Mac crashed, now mail won't work properly

    I had a big crash last night and after several hours manged to get up and running. The problem now is that when I try to launch mail I get the "Welcome to mail in Tiger" and it attempts to import my messages (which I didn't attempt to move in the first place). When I hit continue it seems to atempt to start the import saying their are over 2600 messages to import, but then immediately stops and shuts mail down. What am I doing wrong here? Everything was working fine before the crash.
    G4 Powerbook   Mac OS X (10.4.6)  

    Reinstalling won't restore your data, regardless of whether you reinstall the whole system or just the Mail application. If you have no backup and the contents of HOME/Library/Mail/ have really vanished, there is nothing you can do to restore your mail data. What I don't understand is why Mail crashes upon start up if there is nothing in the Mail folder...
    Did you repair the disk after the crash? I'm not talking about repairing permissions here, but rather about repairing the disk itself. If you did, and Mail still crashes after moving the com.apple.mail.plist file out of the HOME/Library/Preferences/ folder, post the relevant part of the crash report here, so I can try to figure out why Mail is crashing.
    In order to do that, open /Applications/Utilities/Console, choose View > Show Log List, expand ~/Library/Logs, then CrashReporter, and select Mail.crash.log. The latest crash report should appear at the bottom of that file. Look for a line that begins with "Date/Time:" as close to the bottom as possible, and another that says "Thread N Crashed:", where N is a number. Select everything from the "Date/Time:" line to the lines immediately following "Thread N Crashed:". Copy that text and paste it here. Do not post the whole crash log, just the relevant lines. See the following two threads for examples of what a crash report looks like (the second has extra unnecessary information):
    http://discussions.apple.com/thread.jspa?threadID=439295
    http://discussions.apple.com/thread.jspa?threadID=441465

  • Changed phone number, now phone won't work properly

    After weeks of calls for the former phone owner the last @4AM, I initiated a number change. As soon as I hung up, the phone began to work differently. Bad signal, voice calls say dialing, but never go through. IE browsing doesn't work. A tech yesterday had me switch from Global mode to CDMA, which made things work better, but not like the phone used to be. My wife bought the same phone same time and hers still has the right number of bars and 3G on. Mine now goes to 1X or 3G one bar. It is a little disconcerting to think something as simple as a number change could make a nice phone all but a paperweight...obviously if the phone was great before, then not working right afterwards, there is an issue. Tech went through all the settings on the phone. *228 etc. Suggestion was to leave in CDMA mode...yet again, phone didn't need this before and it didn't restore signal and speed that was present proof to number change.
    Help please!

    While I unfortunately have no idea how to fix it, I just wanted to let you know I feel your pain. I am in college, and last year I was living in the same apartment complex I lived in the year before, just a different apartment. I had the exact same phone both years, the original Droid. Yet for some reason, last year there was a 2 block radius around my apartment where I had absolutely no service whatsoever. I had to buy a network extender, and this only worked half the time. I went through EIGHT Droids, before they finally gave me a Droid 2. This Droid 2 worked with the network extender, but it made no sense to me why this was even an issue. My roommate had the HTC Incredible with Verizon, and his phone worked just fine. I went through so many tech support guys at Verizon, made it to level 3 numerous times, and they never could figure out why in the world this was happening. Go figure. They suggested changing phone numbers, but I did not do this, because I didn't want to and it made no sense why this would fix the issue. Heck, they only said it might fix the problem anyway.
    Now I have the HTC Trophy and I am living in a different apartment complex. It works fine here and I ventured over that way just to test it out and it worked fine there. Makes absolutely no sense. But yeah, I feel your pain and I hope you solve your issue.

Maybe you are looking for