Results 1 to 2 of 2

Thread: another noob question about text over a image

  1. #1
    Join Date
    Jun 2008
    Posts
    5

    Cool another noob question about text over a image

    Hi,

    I made a website, almost entirely in photoshop:

    http://www.kingslynnwasteoil.co.uk/

    I dont think my site is being indexed by google because none of my sites actually contain any text.

    How would I go about making the writing in the white box, actual text?

    Would I have to insert a white box and then write over it?

    If so how do I do this?

    Thanks
    John

  2. #2
    Join Date
    Jun 2008
    Posts
    73
    Yes, pretty much.
    If you want to use that box as an image, you can set it as a background image and type over the top.
    This will mean that you cant use that font though as people that visit the site will see the text in fonts that are installed on their own computers. Your font will not be widely supported so i dont reccommend trying to use it.

    basically you will need a div with a header and paragraph inside. You can then style it all with your css.
    eg:

    <div id="textbox">
    <h1>Welcome!</h1>
    <p>rest of text...<p>
    </div>

    CSS:

    #textbox {
    text-align:center;
    padding:15px;
    margin:10px auto;
    background:url(path/to/image.jpg) no-repeat;
    width:set to width of image eg 250px;
    height:set to height of image eg 350px;
    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •