where_is_will
Member
Posted 1 year ago #
Just a quick question - I am hacking about the wp-login.php?action=register page to make it fit with the site theme, and need to position the #login_error in a specific place. All is fine except it doesn't float - whatever the css - it stays in place and pushes the form below down. Is there a reason this happens? It's driving me insane!
My css is:
#login_error {width:947px; background-color:#9a0000; color:#fff; font-family:"Century Gothic", Arial, Helvetica, sans-serif; text-transform:uppercase; color:#ccc; font-size:.8em; float:left; margin-left:5px; margin-top:16px; padding:2px }
Any ideas? Cheers!
hedronist
Member
Posted 1 year ago #
Lot of possibilities. Link?
where_is_will
Member
Posted 1 year ago #
http://www.hub-london.com/wp-login.php?action=register - just put in a dodgy email and you'll see what I mean. Site is only half way there, so please don't judge the rest!
hedronist
Member
Posted 1 year ago #
Using Firebug I found that the width of the element is only 10px less than the parent. I turned off the width (easy to do in FB) and things got better but were running into each other. Then I knocked the font size down to 0.5 em and things look like I suspect you wanted (or at least close).