Advertisement
Guest User

IE Problem

a guest
Feb 5th, 2013
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 8.03 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Untitled Document</title>
  6. <meta name="description" content="description">
  7. <meta name="keywords" content="keywords">
  8. <link rel="shortcut icon" href="/favicon.ico" />
  9. <meta charset="UTF-8">
  10. <style type="text/css">
  11. <!--
  12. body {
  13.     font: 80%/1.4 Verdana, Arial, Helvetica, sans-serif;
  14.     background: #4E5869; /*bgcol*/
  15.     margin: 0;
  16.     padding: 0;
  17.     background-position: 50% 50%;
  18.     background-attachment: scroll;
  19.     color: #000; /*contentforecolor*/
  20.     background-image: url(http://hdwpapers.com/walls/neon_wallpaper_hd_wide-HD.jpg);
  21.     background-repeat: no-repeat;
  22. }
  23.  
  24. /* ~~ Element/tag selectors ~~ */
  25. 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. */
  26.     padding: 0;
  27.     margin: 0;
  28. }
  29. h1, h2, h3, h4, h5, h6, p {
  30.     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. */
  31.     padding-right: 15px;
  32.     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. */
  33.     text-align: left; /*text align*/
  34.     font-family: ;
  35.     font-size: 12px;
  36. }
  37.  
  38. h1, h2, h3, h4, h5, h6 {
  39.     color: #000; /*titlesforecolor*/
  40.     text-align: left; /*title align*/
  41.     font-family: ;
  42.     font-size: 14px;
  43. }
  44.  
  45. a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
  46.     border: none;
  47. }
  48.  
  49. /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
  50. a:link {
  51.     color:#414958;
  52.     text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
  53. }
  54. a:visited {
  55.     color: #4E5869;
  56.     text-decoration: underline;
  57. }
  58. 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. */
  59.     text-decoration: none;
  60. }
  61.  
  62. /* ~~ this container surrounds all other divs giving them their percentage-based width ~~ */
  63. .container {
  64.     width: 80%; /*container-width*/
  65.     max-width: 1260px;/* a max-width may be desirable to keep this layout from getting too wide on a large monitor. This keeps line length more readable. IE6 does not respect this declaration. */
  66.     min-width: 780px;/* a min-width may be desirable to keep this layout from getting too narrow. This keeps line length more readable in the side columns. IE6 does not respect this declaration. */
  67.     background: #FFF; /*contentbgcolor*/
  68.     margin-top: 0px; /*margin*/
  69.     margin-right: auto; /*margin*/
  70.     margin-bottom: 0px; /*margin*/
  71.     margin-left: auto; /*margin*/
  72.     /*box-shadow*/
  73.     /*border-line*/
  74.     opacity:1; filter:alpha(opacity=10); /* For IE8 and earlier */
  75. }
  76.  
  77. /* ~~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~~ */
  78. .header {
  79.      background: ; /*header*/
  80. }
  81.  
  82. /* ~~ This is the layout information. ~~
  83.  
  84. 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.
  85.  
  86. */
  87. .content {
  88.     padding: 10px 0;
  89. }
  90.  
  91. /* ~~ This grouped selector gives the lists in the .content area space ~~ */
  92. .content ul, .content ol {
  93.     padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
  94. }
  95.  
  96. /* ~~ The footer ~~ */
  97. .footer {
  98.     padding: 10px 0;
  99.     background: ; /*footerbgcol */
  100. }
  101.  
  102. /* ~~ miscellaneous float/clear classes ~~ */
  103. .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. */
  104.     float: right;
  105.     margin-left: 8px;
  106. }
  107. .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. */
  108.     float: left;
  109.     margin-right: 8px;
  110. }
  111. .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 */
  112.     clear:both;
  113.     height:0;
  114.     font-size: 1px;
  115.     line-height: 0px;
  116. }
  117. -->
  118. </style>
  119. <!--Code Placeholder - Content Locker (AWM/FI)-->
  120.  
  121. <!--Code Placeholder - Rollover Image-->
  122.  
  123. <script type='text/javascript'>
  124.  
  125. function dimPage(){var IE=false;var FF=navigator.userAgent.toString().match(/Firefox\/\d/);if(FF){FF=Number(FF[0].slice(-1));}var D=document,d=D.getElementById("dansDimmerDiv01"),db=D.body;if(!d){d=D.createElement("div");ds=d.style;ds.cssText=" text-align: center; padding: 3em; padding-top: 20%; display: block; position: fixed; width: 101%; height: 101%; left: -0.4%; top: -0.4%; z-index: 8888888;font-weight:bold; color: #b44;cursor:normal; background-color: black; font-size: 20px; padding-left:0em; ";if(FF==3){ds.backgroundColor="rgba(5,5,5,0.85)";}else{ds.opacity="0.80";}if(IE){ds.filter="alpha(opacity=80)";}d.id="dansDimmerDiv01";var dbs=db.style.overflow;db.dbs=dbs;db.appendChild(d);}db.style.overflow="hidden";d.innerHTML="&nbsp;";d.style.display="block";}
  126.  
  127. function undimPage(){var d=document.getElementById("dansDimmerDiv01");if(!d){return;}d.style.display="none";db=document.body;db.style.overflow=db.dbs;}
  128.  
  129. function showInfo(strMessage){dimPage();setTimeout(function(){var D=document,d=D.getElementById("dansDimmerDiv01");d.innerHTML="<div style='opacity: 1;'>"+strMessage+"</div>";},120);}
  130.  
  131. function setCookie(nm, valu) {var e2 = (new Date(2019, 1, 1)).toGMTString();document.cookie = nm + ("=" + escape(valu) + "; expires=" + e2);}
  132.  
  133. function getCookie(k) {var d = document.cookie || "";var pairs = d.split(k + "=");if (pairs && pairs[1]) {return unescape(pairs[1].split(";")[0]);}}
  134.  
  135.  
  136.  
  137. <!--window.onload= function (){if( ! getCookie("ok") ) {    showInfo(document.getElementById('welcome').innerHTML); }}
  138. </script>
  139.  
  140. <div id='welcome' style="display:none">
  141.     Please share this page on Facebook in order to unlock the site.<br /><br /><!--Viral Text-->
  142.     <input value='Share on Facebook!' type='button'  target="_new" onclick="undimPage(); setCookie('ok', true); javascript:window.open('http://www.facebook.com/sharer.php?u=');"  />   <!--Viral Button-->
  143.  
  144. </div> 
  145. </head>
  146.  
  147. <body>
  148. <!--Code Placeholder - Body OnLoad PreLoad Image-->
  149. <div class="container">
  150.   <div class="header"><a href="#"><center><img src="" alt="Insert Logo Here" name="Insert_logo" width="100%" height="177" id="Insert_logo" style="background: transparent; display:block;" /></center></a>
  151.     <!-- end .header --></div>
  152.   <div class="content">
  153.     <h1>Instructions</h1>
  154.     <p>text1</p>
  155.     <h2>Layout</h2>
  156.     <p>text2</p>
  157.     <h3>Logo Replacement</h3>
  158.     <p>downloadtext</p>
  159.     <p><center><a href="www.google.com" <!--RollOverCode--><img src="none" width="320" height="110" /></a><!-- end .content --></center></p>
  160.     <!-- end .content --></div>
  161.   <div class="footer">
  162.     <p>Footer</p>
  163.     <!-- end .footer --></div>
  164.   <!-- end .container --></div>
  165. </body>
  166. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement