Creating simple splash page.

Discussion in 'HTML & Website Design' started by lolage, May 21, 2008.

  1. #1
    Ive made a nice 300x300 image saying "powerkiting.tv coming soon" but im not sure how to code it in the fact that it is central and how i make the background the same colour as my 300x300 image so it looks like its one big image.

    Any help? :p

    Thanks.
     
    lolage, May 21, 2008 IP
  2. KnuTz

    KnuTz Well-Known Member

    Messages:
    169
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    130
    Digital Goods:
    1
    #2
    can you post here the image?
     
    KnuTz, May 21, 2008 IP
  3. lolage

    lolage Active Member

    Messages:
    1,129
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    78
  4. KnuTz

    KnuTz Well-Known Member

    Messages:
    169
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    130
    Digital Goods:
    1
    #4
    i dont know what the background color the image has if you have photoshop installed you can get the background color of the image using the dropper tool
    <!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 profile="http://gmpg.org/xfn/11">
    
    <style type="text/css">
    body
    {
        margin:0;
        padding:0;
        <!--background: i dont know what the the backround color of the image is -->
    }
    #splash-container
    {
        width:300px;
        height:300px;
        margin:10px auto;
       
    }
    </style>
    </head>
    <body>
         <div id="splash-container">
    	 <img src="powerkiting.jpg" /><!-- the path of the image -->
    	 </div>
    	
    </body>
    </html>
    HTML:
     
    KnuTz, May 21, 2008 IP
    lolage likes this.
  5. lolage

    lolage Active Member

    Messages:
    1,129
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    78
    #5
    Thanks man! +rep
     
    lolage, May 21, 2008 IP