Skip navigation
blackmuneca
Currently Being Moderated

I see my spry accordian images in the live view but they disappear in the browser view

Apr 21, 2012 12:31 AM

Here is my page code:

 

<!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>Untitled Document</title>

<style type="text/css">

<!--

body {

    font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;

    background: #42413C;

    margin: 0;

    padding: 0;

    color: #000;

    margin-left: 1in;

    margin-top: .5in;

    background-color: #FFFFFF;

    margin-bottom: .5in;

}

 

/* ~~ Element/tag selectors ~~ */

ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */

    padding: 0;

    margin: 0;

}

h1, h2, h3, h4, h5, h6, p {

    margin-top: 0;     /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */

    padding-right: 15px;

    padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */

}

a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */

    border: none;

}

/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */

a:link {

    color: #42413C;

    text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */

}

a:visited {

    color: #6E6C64;

    text-decoration: underline;

}

a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */

    text-decoration: none;

}

 

/* ~~ this fixed width container surrounds the other divs ~~ */

.container {

    width: 1024px;

    background: #FFF; /* the auto value on the sides, coupled with the width, centers the layout */

    height: 768px;

    margin-top: 0;

    margin-right: auto;

    margin-bottom: 0;

    margin-left: auto;

}

 

/* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */

.header {

    background-color: #ADB96E;

    background-image: url(images/KADhomepage2_01.jpg);

    height: 91px;

    width: 1024px;

}

 

/* ~~ This is the layout information. ~~

 

1) Padding is only placed on the top and/or bottom of the div. The elements within this div have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.

 

*/

 

.content {

    background-image: url(images/KADprintport1_02.jpg);

    height: 535px;

    width: 1024px;

    padding-top: 10px;

    padding-right: 0;

    padding-bottom: 10px;

    padding-left: 0;

}

 

/* ~~ The footer ~~ */

.footer {

    background-color: #CCC49F;

    background-image: url(images/KADhomepage2_03.jpg);

    height: 103px;

    width: 1024px;

    padding-top: 10px;

    padding-right: 0;

    padding-bottom: 10px;

    padding-left: 0;

}

 

/* ~~ miscellaneous float/clear classes ~~ */

.fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */

    float: right;

    margin-left: 8px;

}

.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */

    float: left;

    margin-right: 8px;

}

.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */

    clear:both;

    height:0;

    font-size: 1px;

    line-height: 0px;

}

#apDiv1 {

    position:absolute;

    width:644px;

    height:43px;

    z-index:1;

    left: 4.7in;

    top: 81px;

}

-->

</style>

<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>

<script src="/SpryAssets/SpryAccordion.js" type="text/javascript"></script>

<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />

<style type="text/css">

#apDiv2 {

    position:absolute;

    width:672px;

    height:553px;

    z-index:2;

    left: -162px;

    top: 43px;

    overflow: scroll;

}

#apDiv3 {

    position:absolute;

    width:729px;

    height:551px;

    z-index:1;

    left: -170px;

    top: 84px;

    overflow: scroll;

}

#apDiv4 {

    position:absolute;

    width:680px;

    height:520px;

    z-index:2;

    left: 446px;

    top: 172px;

}

</style>

<link href="/SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />

</head>

 

<body>

<div id="apDiv1">

  <ul id="MenuBar1" class="MenuBarHorizontal">

    <li><a href="index.html">HOME</strong></a>    </li>

    <li><a href="KADresume.html">RESUME</strong></a></li>

    <li><a href="KADport.html"><strong>PORTFOLIO</strong></a></li>

    <li><a href="KADprocess.html">PROCESS</a>    </li>

    <li><a href="KADcontact.html">CONTACT</strong></strong></a></li>

  </ul>

</div>

 

<div class="container">

  <div class="header"><!-- end .header --></div>

  <div class="content">

    <div id="apDiv4">

      <div id="Accordion1" class="Accordion" tabindex="0">

<div class="AccordionPanel">

          <div class="AccordionPanelTab">Print</div>

          <div class="AccordionPanelContent">

            <table width="669" height="441" border="0" cellpadding="5" cellspacing="5">

              <tr>

                <th width="146" height="158" align="center" scope="col"><a href="/images/Large/_5515061140.jpg" target="_blank"><img src="/images/Thumb/_5515061140.jpg" width="107" height="129" /></a></th>

                <th width="158" align="center" scope="col"><a href="/images/Large/_6374589227.jpg" target="_blank"><img src="/images/Thumb/_6374589227.jpg" width="129" height="129" /></a></th>

                <th width="145" align="center" scope="col"><a href="/images/Large/_4734055001.jpg" target="_blank"><img src="/images/Thumb/_4734055001.jpg" width="129" height="101" /></a></th>

                <th width="145" align="center" scope="col"><a href="/images/Large/_7292231722.jpg" target="_blank"><img src="/images/Thumb/_7292231722.jpg" width="129" height="103" /></a></th>

              </tr>

              <tr>

                <td height="145" align="center"><a href="/images/Large/_5593210516.jpg" target="_blank"><img src="/images/Thumb/_5593210516.jpg" width="129" height="99" /></a></td>

                <td align="center"><a href="/images/Large/_1467227833.jpg" target="_blank"><img src="/images/Thumb/_1467227833.jpg" width="129" height="103" /></a></td>

                <td align="center"><a href="/images/Large/_6554868794.jpg" target="_blank"><img src="/images/Thumb/_6554868794.jpg" width="129" height="99" /></a></td>

                <td align="center"><a href="/images/Large/_1252352166.jpg" target="_blank"><img src="/images/Thumb/_1252352166.jpg" width="129" height="79" /></a></td>

              </tr>

              <tr>

                <td align="center"><a href="/images/Large/_1771736232.jpg" target="_blank"><img src="/images/Thumb/_1771736232.jpg" width="129" height="91" /></a></td>

                <td align="center"><a href="/images/Large/_1396958091.jpg" target="_blank"><img src="/images/Thumb/_1396958091.jpg" width="129" height="99" /></a></td>

                <td align="center"><a href="/images/Large/_6955454525.jpg" target="_blank"><img src="/images/Thumb/_6955454525.jpg" width="129" height="99" /></a></td>

                <td align="center"><a href="/images/Large/_9231445618.jpg" target="_blank"><img src="/images/Thumb/_9231445618.jpg" width="86" height="129" /></a></td>

              </tr>

              <tr>

                <td align="center"><a href="/images/Large/_2121752674.jpg" target="_blank"><img src="/images/Thumb/_2121752674.jpg" width="99" height="129" /></a></td>

                <td align="center"><a href="/images/Large/_2493972603.jpg" target="_blank"><img src="/images/Thumb/_2493972603.jpg" width="129" height="83" /></a></td>

                <td align="center"><a href="/images/Large/_6370868564.jpg" target="_blank"><img src="/images/Thumb/_6370868564.jpg" width="129" height="83" /></a></td>

                <td align="center"><a href="/images/Large/_9581180847.jpg" target="_blank"><img src="/images/Thumb/_9581180847.jpg" width="129" height="99" /></a></td>

              </tr>

            </table>

          </div>

        </div>

<div class="AccordionPanel">

          <div class="AccordionPanelTab">Web</div>

          <div class="AccordionPanelContent">

            <table width="345" height="170" border="0" cellpadding="5" cellspacing="5">

              <tr>

                <th width="146" scope="col"><a href="/images/Large/_0373638936.jpg" target="_blank"><img src="/images/Thumb/_0373638936.jpg" width="129" height="96" /></a></th>

                <th width="158" scope="col"><a href="/images/Large/_3824118655.jpg" target="_blank"><img src="/images/Thumb/_3824118655.jpg" width="129" height="87" /></a></th>

              </tr>

            </table>

          </div>

        </div>

        <div class="AccordionPanel">

          <div class="AccordionPanelTab">Logo</div>

          <div class="AccordionPanelContent">

            <table width="350" border="0" cellspacing="5" cellpadding="5">

              <tr>

                <th width="146" scope="col"><a href="/images/Large/_0301530214.jpg" target="_blank"><img src="/images/Thumb/_0301530214.jpg" width="99" height="129" /></a></th>

                <th width="152" scope="col"><a href="/images/Large/_0990478412.jpg" target="_blank"><img src="/images/Thumb/_0990478412.jpg" width="129" height="129" /></a></th>

              </tr>

            </table>

          </div>

        </div>

      </div>

    </div>

    <h1> </h1>

  </div>

  <div class="footer">    <!-- end .footer --></div>

<!-- end .container --></div>

<script type="text/javascript">

var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});

var Accordion1 = new Spry.Widget.Accordion("Accordion1");

</script>

</body>

</html>

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points