• # January 17, 2013 at 3:22 pm

    I wanted a cancel <a> link and a form submit button to be EXACTLY the same height. I spent a long time racking my brain over this, trying so many things. I could get it right in one browser, for the other to be a couple pixels too tall or short.

    Anyway, I finally did it. Now this seems like a lot of code, so it could probably be condensed, but if anyone else has had the same problem; [here it is]( “sdgdf”)

    My actual code differs slightly, but this is it in essence.

    # January 18, 2013 at 5:48 am

    Instead of setting the elements as Blocks and floating, why not use display:inline-block.

    # January 18, 2013 at 6:06 am

    Dude you’ve got quite a lot of unnecessary code in there, I’ve updated and stripped it down to exactly what is needed.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.