Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS h1 positioning battle

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #40854
    mdrd88
    Participant

    Hello everyone! I am trying to get my h1 element to be 100% of the #one image. however, it is 100% of the whole window. Can anyone help me please? thank you!

    http://jsfiddle.net/CyMn3/1/

    #114639
    lhoezee
    Member

    Are you thinking something like this?
    http://jsfiddle.net/khTnX/

    I put the 10px of padding on a span within the h1 element so the 50% would not be overlapping the #one div.

    #114640
    lhoezee
    Member

    Note: This only works for #one.. it will not work for the others.. do you want it to work for all boxes?

    #114644
    mdrd88
    Participant

    Great! Awesome. Now I hate to ask one more question, but how do I get the span to go to the bottom of the #one?

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.