Thread: [Please help] I don't understand -.-

Results 1 to 9 of 9
  1. #1 [Please help] I don't understand -.- 
    Krator || OSRSTM || Modeler

    Jordan Belfort's Avatar
    Join Date
    Dec 2012
    Posts
    1,019
    Thanks given
    505
    Thanks received
    464
    Rep Power
    1116
    Hi,

    This is my first ever time trying to make a .php webpage, and I don't understand what I'm doing wrong.

    I've tried countless combinations and tries, and I've googled it so much I don't even have to delete my porn history.

    I'm trying to make it so I can put text over an image, but every time I try, it puts the text beside, below, on top of, or just nowhere near. I need it ON the image, and I don't understand why it isn't working. Here's the images I'm using and my .html code ._. I deleted the tryhard text I had on there because it failed. If someone can help me AND explain how to do it, that'd be amazing.

    Thanks.

    [SPOIL]

    [Only registered and activated users can see links. ]
    [/SPOIL]
    Last edited by Jordan Belfort; 01-01-2013 at 03:39 PM. Reason: grammar
    Reply With Quote  
     

  2. #2 Just use photoshop? 
    Registered Member
    Join Date
    Nov 2012
    Posts
    17
    Thanks given
    2
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Purple Java View Post
    Hi,

    This is my first ever time trying to make a .php webpage, and I don't understand what I'm doing wrong.

    I've tried countless combinations and tries, and I've googled it so much I don't even have to delete my porn history.

    I'm trying to make it so I can put text over an image, but every time I try, it puts the text beside, below, on top of, or just nowhere near. I need it ON the image, and I don't understand why it isn't working. Here's the images I'm using and my .html code ._. I deleted the tryhard text I had on there because it failed. If someone can help me AND explain how to do it, that'd be amazing.

    Thanks.

    [SPOIL]

    [Only registered and activated users can see links. ]
    [/SPOIL]
    Do it all in photoshop so its just 1 image...
    Reply With Quote  
     

  3. #3  
    Krator || OSRSTM || Modeler

    Jordan Belfort's Avatar
    Join Date
    Dec 2012
    Posts
    1,019
    Thanks given
    505
    Thanks received
    464
    Rep Power
    1116
    Quote Originally Posted by DesireX View Post
    Do it all in photoshop so its just 1 image...

    What if I want to change it later on? Please don't reply unless you're helping in the sense that I ask. Thanks.
    Reply With Quote  
     

  4. #4  
    https://podcaster.one


    Join Date
    Nov 2012
    Posts
    523
    Thanks given
    193
    Thanks received
    83
    Rep Power
    97
    I don't believe this is done with PHP. I'm sure it can be done with CSS. Learn positioning images/text with css.

    I can't help properly as I'm on my phone.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Anthony`'s Avatar
    Join Date
    Sep 2008
    Age
    26
    Posts
    765
    Thanks given
    75
    Thanks received
    164
    Discord
    View profile
    Rep Power
    204
    Quote Originally Posted by DharmeshPHP View Post
    I don't believe this is done with PHP. I'm sure it can be done with CSS. Learn positioning images/text with css.

    I can't help properly as I'm on my phone.
    You can actually have PHP draw text on images using the GD library.

    This can also be done with HTML/CSS though.
    Reply With Quote  
     

  6. #6  
    https://podcaster.one


    Join Date
    Nov 2012
    Posts
    523
    Thanks given
    193
    Thanks received
    83
    Rep Power
    97
    Quote Originally Posted by Anthony` View Post
    You can actually have PHP draw text on images using the GD library.

    This can also be done with HTML/CSS though.
    But that is more of a complex way wouldn't you say? It can easily be done with 3-4 lines of CSS code.
    Reply With Quote  
     

  7. #7  
    Krator || OSRSTM || Modeler

    Jordan Belfort's Avatar
    Join Date
    Dec 2012
    Posts
    1,019
    Thanks given
    505
    Thanks received
    464
    Rep Power
    1116
    Are you guys going to have a conversation on my thread? xD

    Hah, so can anyone please help or explain D:?
    Reply With Quote  
     

  8. #8  
    Adobe

    Dreamweaver's Avatar
    Join Date
    Jan 2010
    Posts
    1,067
    Thanks given
    38
    Thanks received
    149
    Rep Power
    246
    Quote Originally Posted by Purple Java View Post
    Are you guys going to have a conversation on my thread? xD

    Hah, so can anyone please help or explain D:?
    If you read their posts you would have already gotten your answer...

    Anyways I'll say it again in more detail.

    So you're wanting an image, then text over it, correct?

    So, you're going to want a container that contains the image you wish to have as the background, then set that as a background using CSS (Lookup background-image) once you've got that, you'll want another element inside that with your text in it. (The reason you'll want another one instead of just putting the text inside the original container is you'll want some padding and/or margins to position the text better.)

    Hope that helped, if not just pm me and I'll give you the basic code to do it and you can edit it, but first have a go with it so you learn.

    (Done using HTML/CSS for the easiest and quickest way.)
    Reply With Quote  
     

  9. Thankful users:


  10. #9  
    Krator || OSRSTM || Modeler

    Jordan Belfort's Avatar
    Join Date
    Dec 2012
    Posts
    1,019
    Thanks given
    505
    Thanks received
    464
    Rep Power
    1116
    Quote Originally Posted by Dreamweaver View Post
    If you read their posts you would have already gotten your answer...

    Anyways I'll say it again in more detail.

    So you're wanting an image, then text over it, correct?

    So, you're going to want a container that contains the image you wish to have as the background, then set that as a background using CSS (Lookup background-image) once you've got that, you'll want another element inside that with your text in it. (The reason you'll want another one instead of just putting the text inside the original container is you'll want some padding and/or margins to position the text better.)

    Hope that helped, if not just pm me and I'll give you the basic code to do it and you can edit it, but first have a go with it so you learn.

    (Done using HTML/CSS for the easiest and quickest way.)
    Cool thanks I'll try it until I fall asleep.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 0
    Last Post: 01-02-2011, 08:47 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •