Advertisement
Guest User

HTML and CSS for Favicon Troubles

a guest
Aug 18th, 2014
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 9.89 KB | None | 0 0
  1. HTML
  2. <a>
  3. <!DOCTYPE html>
  4.  
  5. <html>
  6. <head>
  7.  
  8. <link rel="shortcut icon" href="http://static.adzerk.net/Advertisers/60abb4b317034aa2af0bc697e6f02963.png" />
  9.  
  10. <script type="text/javascript">
  11. var image1 = new Image()
  12. image1.src = "6.png"
  13. var image2 = new Image()
  14. image2.src = "7.png"
  15. var image3 = new Image()
  16. image3.src = "8.png"
  17. </script>
  18.  
  19. <link rel="stylesheet" type="text/css" href="style.css" />
  20. <title>ShrekagePvP - Cheap GFX & Packs!</title>
  21. <meta name="keywords" content="p, v, p, shrekage, pvp, pv, vp, vip, brian, awesome, mine, craft, minecraft, i, ip, vi, killing, fighting, mining, crafting, sky, ground, earth, skins, resource packs, packs, resource, skilled, free, epic, creepers, skeletons, spiders, hunger games, hunger, games, minecraft hunger games, minecraft hunger, minecraft health, trolling, mc, sword, bow, arrow, and, bow and arrow, bow and, and arrow, texture, youtube, playlists, videos, updates, wood, stone, iron, gold, diamond, leather, potions, effects, soup, stew, mushroom soup, mushroom stew, regen, soup stew, regeneration, speed, run, speed run, 2, 0, 1, 4, 20, 21, 24, 01, 04, 14, 201, 014, 2014, started in 2014, started, in, rage, uploaded, upload, GUI, g, u, i, abcdefghijklmnopqrstuvwxyz" />
  22.  
  23. </head>
  24.  
  25. <body background="bg.jpg" class="whole" id="body">
  26.  
  27. <noscript><p>Your broswer does not support Javascript which is used on this webpage.
  28. <br />
  29. FIX IT!!! Javascript is extremely useful.</p></noscript>
  30.  
  31. <a>
  32.  
  33. <div id="navigation" class="" style="width:100%; margin:0 auto; float:left;" align="center">
  34.     <a href="http://goo.gl/jsvbRw" style="float:left"><img src="twitter.png" /></a>
  35.     <a href="http://goo.gl/ebWgWU" style="float:right"><img src="youtube.png" /></a>
  36.     <center>
  37.     <table cellspacing="0" cellpadding="0">
  38.     <tr>
  39.     <td align="center" width="300" height="40" bgcolor="#000091" style="-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; color: #ffffff; display: block;">
  40.     <a href="https://www.youtube.com/channel/UC888cXbjhXlm7_amnSYQYWw?sub_confirmation=1" style="font-size:16px; font-weight: bold; font-family: Helvetica, Arial, sans-serif; text-decoration: none; line-height:40px; width:100%; display:inline-block"><span style="color: #FFFFFF">Subscribe!</span></a>
  41.     </td>
  42.     </tr>
  43.     </table>
  44.     </center>
  45. </div>
  46.  
  47. <br />
  48. <br />
  49. <br />
  50. <br />
  51. <br />
  52. <br />
  53. <br />
  54. <br />
  55. <br />
  56.  
  57. </a>
  58.  
  59. <div id="contentBox" class="" style="width:99%; float:center;">
  60.     <div style="float:left; width:20%;" class="subContentBox" id="sid">
  61.         <div style="width:100%; background-color:rgba(45,50,50,0.8)" class="contentCells" id="subSid1">
  62.        
  63.         <center>
  64.         <a href="index.html"><div class="link" id=""><h1><font face="impact, serif" color="#A9A9A9">Home</font></h1></div></a>
  65.         <a href="forum.html"><div class="link" id=""><h1><font face="impact, serif" color="black">Forum</font></h1></div></a>
  66.         <a href="buy.html"><div class="link" id=""><h1><font face="impact, serif" color="black">Buy</font></h1></div></a>
  67.         <a href="contact.html"><div class="link" id=""><h1><font face="impact, serif" color="black">Contact</font></h1></div></a>
  68.         </center>
  69.        
  70.         </div>
  71.         <div style="width:100%; background-color:rgba(45,50,50,0.8)" class="contentCells" id="subSid2">
  72.        
  73.         <center>
  74.         <a href="partypage.html"><div class="link" id=""><h1><font face="impact, serif" color="black">Party Page</font></h1></div></a>
  75.         </center>
  76.        
  77.         </div>
  78.     </div>
  79.     <div style="float:right; width:78%; background-color:rgba(45,50,50,0.8)" class="subContentBox" id="mainContent">
  80.         <div id="mainContentFlat" class="contentCells" style="width:100%; float:center;">
  81.             <div align="center" style="width:90%; float:center;" id="bubbleFlat" class="contentBubble">
  82.                
  83.                 <div class="contentPiece" id="contentPieceTitle">
  84.                 <center>
  85.                 <img src="4.png" width="80%" height="" />
  86.                 </center>
  87.                 </div>
  88.                
  89.             </div>
  90.         </div>
  91.         <div id="mainContentRight" class="contentCells" style="width:50%; float:right;">
  92.             <div align="center" style="width:90%; float:center;" id="bubbleRight" class="contentBubble">
  93.                
  94.                 <div id="contentPieceWorkTitle" class="contentPiece">
  95.                
  96.                 <h3><font color="blue">My Work.</font></h3>
  97.                
  98.                 </div>
  99.                 <div id="contentPieceWork" class="contentPiece" style="background-color:rgba(200,200,200,0.1); width:100%">
  100.                
  101.                     <div class="subContentPiece" id="subContentPieceWorkA">
  102.                    
  103.                     <center>
  104.                     <br />
  105.                     <p><img width="95%" height="" name="slide" /></p>
  106.                     <script type="text/javascript">
  107.                     var step=1;
  108.                     function slideit()
  109.                     {
  110.                         document.images.slide.src = eval("image"+step+".src");
  111.                         if(step<3)
  112.                             step++;
  113.                         else
  114.                             step=1;
  115.                         setTimeout("slideit()",2500);
  116.                     }
  117.                     slideit();
  118.                     </script>
  119.                     </center>
  120.                    
  121.                     </div>
  122.                     <div class="subContentPiece" id="subContentPieceWorkB">
  123.                    
  124.                     <center>
  125.                     <a href="https://www.youtube.com/user/xxpowerfulnoobxx"><img src="1.png" width="95%" /></a>
  126.                     <a href="https://www.youtube.com/channel/UCBuMUZTbEqYwCKIXH-gACpA"><img src="2.png" width="95%" /></a>
  127.                     <a><img src="3.png" width="95%" /></a>
  128.                     <br />
  129.                     </center>
  130.                    
  131.                    
  132.                     </div>
  133.                 </div>
  134.            
  135.             </div>
  136.         </div>
  137.         <div id="mainContentLeft" class="contentCells" style="width:50%; float:left;">
  138.             <div align="center" style="width:90%; float:center;" id="bubbleLeft" class="contentBubble">
  139.                
  140.                 <center id="latestVids">
  141.                
  142.                 <div class="contentPiece" id="contentPieceLatestVidsTitle">
  143.                
  144.                 <h3><font color="blue">Latest Vids.</font></h3>
  145.                
  146.                 </div>
  147.                 <div class="contentPiece" id="contentPieceLatestVids">
  148.                
  149.                 <iframe src="http://www.youtube.com/embed/videoseries?list=UU888cXbjhXlm7_amnSYQYWw"
  150.                 width="100%" height="300" frameborder="0"></iframe>
  151.                
  152.                 </div>
  153.                
  154.                 </center>
  155.                
  156.                 <a>
  157.                 <br />
  158.                 <br />
  159.                 <br />
  160.                 </a>
  161.                
  162.                 <div class="contentPiece" style="background-color:rgba(200,200,200,0.1)"id="contentPiecePurchaseGfx">
  163.                
  164.                 <center>
  165.                
  166.                 <span title="Click to Purchase GFX">
  167.                     <table cellspacing="0" cellpadding="0">
  168.                     <tr>
  169.                     <td align="center" width="300" height="40" bgcolor="#000091" style="-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; color: #ffffff; display: block;">
  170.                     <a href="buy.html" style="font-size:16px; font-weight: bold; font-family: Helvetica, Arial, sans-serif; text-decoration: none; line-height:40px; width:100%; display:inline-block"><span style="color: #FFFFFF">Purchase GFX!</span></a>
  171.                     </td>
  172.                     </tr>
  173.                     </table>
  174.                 </span>
  175.                
  176.                 </center>
  177.                
  178.                 </div>
  179.                
  180.                
  181.                 <div class="contentPiece" id="contentPieceTwitter">
  182.                
  183.                 <center>
  184.                
  185.                 <br />
  186.                 <br />
  187.                 <a class="twitter-timeline" href="https://twitter.com/ShrekagePvP" data-widget-id="488029063680778241">Tweets by @ShrekagePvP</a>
  188.                 <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
  189.                
  190.                 <br />
  191.                
  192.                 </center>
  193.                
  194.                 </div>
  195.                
  196.             </div>
  197.         </div>
  198.     </div>
  199. </div>
  200.  
  201. <br />
  202. <br />
  203. <br />
  204. <br />
  205.  
  206. <br />
  207. <div style="background-color:gray; width:278px; float:right" id="credit"><p align="center"><font size="2" color="white">This website was a production of <a style="text-decoration:none" href="mailto:[email protected]"><span title="Free website production, email to apply."><font size="2" color="orange">Thomas O'Dea.</font></span></a></font></p></div>
  208.  
  209. </body>
  210. </html>
  211. </a>
  212. CSS
  213. /* CSS Document */
  214.  
  215. @import url(http://fonts.googleapis.com/css?family=Bree+Serif);
  216.  
  217. body {
  218.  
  219.    
  220.  
  221. }
  222.  
  223. #accordion p {
  224.     margin:0;
  225.     padding:0;
  226. }
  227.  
  228. #accordion h1{
  229.     font-size:60px;
  230.     margin:40px auto;
  231.     font-family: 'Bree Serif', 'serif';
  232.     text-align:center;
  233. }
  234.  
  235.  
  236. #accordion {
  237.     margin:100px auto;
  238.     padding:0;
  239.     width:75%;
  240.    
  241.     }  
  242.    
  243. #accordion li {
  244.     list-style:none;
  245.     width:100%;
  246. }
  247.    
  248. #accordion  li label {
  249.     padding:10px;
  250.     display:block;
  251.     font-family: 'Bree Serif', 'serif';
  252.     font-size:30px;
  253.     line-height:30px;
  254.     color:#FFFFFF;
  255.     background-color:#3498db;
  256.     border-bottom: solid 8px #2980b9;
  257.     }  
  258.    
  259. /* Hide the radio buttons */
  260. #accordion label + input[type='radio'] {
  261.     display: none;
  262. }  
  263.    
  264. /* hide content by default */
  265. #accordion .radioContent {
  266.     display:none;
  267.     padding:10px;
  268.     font-family:Constantia, "Lucida Bright", "DejaVu Serif", Georgia, serif;
  269.     font-size:19px;
  270.     line-height:26px;
  271.     background-color:#2ecc71;
  272. }
  273.  
  274. /* Show content boxes when the radio buttons are checked */
  275. #accordion label + input[type='radio']:checked + .radioContent {
  276.     display:block;
  277. }
  278.  
  279. div{
  280.     -moz-border-radius:15px;  /* for Firefox */
  281.     -webkit-border-radius:15px; /* for Webkit-Browsers */
  282.     border-radius:15px; /* regular */
  283. }
  284.  
  285. .chat {
  286.  
  287.     background-color: rgba(35, 35, 35, 0.8);
  288.  
  289. }
  290.  
  291. #flat {
  292.    
  293.    
  294.    
  295. }
  296.  
  297. .contentBubble {
  298.    
  299.     margin: 0 auto;
  300.     clear:both;
  301.    
  302. }
  303.  
  304. #navigation {
  305. margin-left: auto;
  306. margin-right: auto;
  307. -moz-border-radius:5px;  /* for Firefox */
  308. -webkit-border-radius:5px; /* for Webkit-Browsers */
  309. border-radius:5px; /* regular */
  310. position: fixed;
  311. top: 0;
  312. width: 100%;
  313. margin:0;
  314. color: #ffffff;
  315. height: 90px;
  316. text-align: center;
  317. padding-top: 15px;
  318. /* Adds shadow to the bottom of the bar */
  319. -webkit-box-shadow: 0px 0px 8px 0px #000000;
  320. -moz-box-shadow: 0px 0px 8px 0px #000000;
  321. box-shadow: 0px 0px 8px 0px #000000;
  322. /* Adds the transparent background */
  323. background-color: rgba(1, 1, 1, 0.8);
  324. color: rgba(1, 1, 1, 0.8);
  325. }
  326.  
  327. #navigation a {
  328. font-size: 14px;
  329. padding-left: 15px;
  330. padding-right: 15px;
  331. color: white;
  332. text-decoration: none;
  333. }
  334.  
  335. #credit {
  336.  
  337.     clear: both;
  338.     padding: 0px;
  339.     margin: 0px;
  340.     opacity:0.3;
  341.     filter:alpha(opacity=30);
  342.  
  343. }
  344.  
  345. #credit p:hover {
  346.  
  347.     background-color:black
  348.  
  349. }
  350.  
  351. #credit:hover {
  352.  
  353.     opacity:0.5;
  354.     filter:alpha(opacity=50);
  355.  
  356. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement