1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Ive got a problem...and i can't figure it out!

Discussion in 'HTML & Website Design' started by ayork2413, Dec 28, 2008.

  1. #1
    Ok, so i build my website template from photoshop and made splices where I wanted to put my text, images (basically all of my content).

    Only problem is, after i put my text (in replacement of where my stand-in images were), it stays in the center...o boy this might be hard to explain, ok look:

    X=other splices
    C=area i spliced to put the text

    XXXXXXXXXXXX
    XXXXXXXXXXXX
    XXXCCCCCCXXX <--where i want the text/content to start
    XXXCTEXTCXXX <--my problem is that when i place the text in (using an html
    XXXCCCCCCXXX editor), it starts out in the middle). I want it to start on top.
    XXXXXXXXXXXX
    XXXXXXXXXXXX

    How can i get the content that i insert in replace of the spliced image on top?

    thanks ahead!
     
    ayork2413, Dec 28, 2008 IP
  2. fairuz.ismail

    fairuz.ismail Peon

    Messages:
    232
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    a print screen would be helpful?
     
    fairuz.ismail, Dec 29, 2008 IP
  3. ayork2413

    ayork2413 Peon

    Messages:
    89
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ok, here it is: [​IMG]
    (click on the thumbnail, then click on the image on the right hand side to see it blown up)
     
    ayork2413, Dec 29, 2008 IP
  4. fairuz.ismail

    fairuz.ismail Peon

    Messages:
    232
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #4
    try to reset your padding or margin..

    the text is in a <p> tags, is that correct?
     
    fairuz.ismail, Dec 29, 2008 IP
  5. ayork2413

    ayork2413 Peon

    Messages:
    89
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    no, the text is in <h1> tags, how exactly do i reset padding or margin?
     
    ayork2413, Dec 29, 2008 IP
  6. fairuz.ismail

    fairuz.ismail Peon

    Messages:
    232
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #6
    try
    * { padding : 0; margin : 0; }

    in your css file
     
    fairuz.ismail, Jan 1, 2009 IP
    ayork2413 likes this.
  7. numeric303

    numeric303 Peon

    Messages:
    23
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    0
    #7
    if its a html then you should define the valign="top"
    for example
    <TD COLSPAN=3 background="images/kimkard_a05.jpg" WIDTH=818 ALT="" valign="top">
    you text come here

    </TD>
    by default the valign is center so you just need to define the valign to top
    its shud work
     
    numeric303, Jan 1, 2009 IP
    ayork2413 likes this.
  8. ayork2413

    ayork2413 Peon

    Messages:
    89
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    thanks guys! i did it and it worked. rep added!
     
    ayork2413, Jan 2, 2009 IP