Results 1 to 1 of 1
  1. #1
    Justux204's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Location
    Lithuania
    Posts
    47
    Reputation
    10
    Thanks
    0
    My Mood
    Relaxed

    Css/html size problem and tabble need some adjustments

    Hello, i just started HTML and i need some help, its probobly easy to fix i just dont know how yet...

    1st https://prntscr.com/dg2m0b some how i need to remove that yellow color i need to stretch table somehow... i tried removing border did not help
    https://prntscr.com/dg2n04
    2nd when i change my screen rez there is some problem, it changes size https://prntscr.com/dg2nra https://prntscr.com/dg2pu1 i tryed changing width and height to auto it kinda helps but it dont... https://prntscr.com/dg2opw when i try to change rez https://prntscr.com/dg2p3b
    3rd i need to fix text size https://prntscr.com/dg2qdv https://prntscr.com/dg2r3j so it will be same no matter what
     

    Code:
    <!DOCTYPE html>
    <html>
    <head>
    <link rel="stylesheet" type="text/css" href="style.css">
    
    <title>Kompiuterių komponentai!</title>
    
    <meta charset="utf-8">
    
    </head>
    <body>
    <div align="center">
    <table width="100%"  border="1" cellspacing="0" cellpadding="0"> 
    
    <tr>
    
    <td class="i" valign="middle" align="center" ><a href="#index.html" > <img src="https://i.imgur.com/RJ7xScQ.png" width="100%" height="100%" >     
    	<h2><span>Graphic card</span></h2>
    </td>
    
    <td class="i" valign="middle" align="center" ><a href="#index.html" > <img  src="https://i.imgur.com/NDk56lE.png" width="100%" height="100%">
    	<h2><span>Mother board</span></h2>
    </td>
    
    <td class="i" valign="middle" align="center" ><a href="#index.html" > <img  src="https://i.imgur.com/WIXxYSK.png" width="100%" height="100%">
    	<h2><span>Power supply</span></h2>
    </td>
    
    <td class="i" valign="middle" align="center" ><a href="#index.html" > <img  src="https://i.imgur.com/EmpYwIx.png" width="100%" height="100%">
    	<h2><span>Processor</span></h2>
    </td>
    
    </tr>
    </div>
    
    </body>
    </html>


     
    Code:
    html { 
      background: url(https://i.imgur.com/pD6FoXj.png) no-repeat center center fixed; 
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
    }
    img {
        opacity: 0.1;
        filter: alpha(opacity=80); /* For IE8 and earlier */
    }
    
    img:hover {
        opacity: 1.0;
        filter: alpha(opacity=100); /* For IE8 and earlier */
    }
    td.i {
      position: relative;
      height: 100vh;
      overflow: hidden;
      
    }
    
    
    h2 { 
       position: absolute; 
       top: 50%; 
       left: 0; 
       width: 100%;
    
    }
    h2 span { 
       color: white; 
       font: bold 24px/45px Helvetica, Sans-Serif; 
       letter-spacing: -1px;  
       background: rgb(0, 0, 0); /* fallback color */
       background: rgba(0, 0, 0, 0.7);
       padding: 10px; 
    }


    I would really appreciate any help
    Last edited by Justux204; 12-06-2016 at 08:44 AM.

Similar Threads

  1. I am doing a little swf digging and i need some help.
    By Luke6.5 in forum Social Game Hacks & Trainers
    Replies: 4
    Last Post: 04-07-2010, 07:59 AM
  2. problem and i hope some one help me
    By -=SOLO=- in forum CrossFire Hacks & Cheats
    Replies: 10
    Last Post: 10-19-2009, 10:45 AM
  3. Ello Im obamas nigga! and I need some help
    By ghostsbow in forum Combat Arms Help
    Replies: 4
    Last Post: 09-10-2009, 03:40 PM
  4. hey, i'm back and i need some help.
    By alimarin in forum Combat Arms Hacks & Cheats
    Replies: 0
    Last Post: 12-23-2008, 11:12 AM
  5. im God of Life and i need some hacks
    By God of Life in forum WarRock - International Hacks
    Replies: 1
    Last Post: 06-09-2008, 05:54 PM