The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

h1 positioning battle

  • # November 18, 2012 at 1:03 am

    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!

    # November 18, 2012 at 1:35 am

    Are you thinking something like this?

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

    # November 18, 2012 at 1:36 am

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

    # November 18, 2012 at 9:55 am

    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)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed