Demonic Posted November 24, 2007 Share Posted November 24, 2007 I got this DIV right <div id='alert'> <span></span><br /><input type='button' onclick='ok();' value='OK' /> <div class='clear'></div> </div> In IE the input box doesn't want to show up, why is that? div#alert { position: absolute; border: 2px solid #32332D; background: #1B1B19; width: 200px; left: -50%; margin-left: -100px; color: orange; } div.clear { clear: both; } Kinda sucks Note -left:50%, im using javascript to make it left: 50% so don't worry . Quote Link to comment https://forums.phpfreaks.com/topic/78720-ie-problem/ Share on other sites More sharing options...
moberemk Posted November 25, 2007 Share Posted November 25, 2007 This is one of those questions where samples just don't help that much. Inheritance properties can make everything so much more muddled that it can screw things up very far down the line. Maybe the margin-left property is pulling it off the page? Quote Link to comment https://forums.phpfreaks.com/topic/78720-ie-problem/#findComment-398420 Share on other sites More sharing options...
ToonMariner Posted November 25, 2007 Share Posted November 25, 2007 when you say its not showing up... if you held the mouse button down can you select the stuff??? if so its the 'hasLayOut problem - this page will help with that - http://www.satzansatz.de/cssd/onhavinglayout.html Quote Link to comment https://forums.phpfreaks.com/topic/78720-ie-problem/#findComment-398496 Share on other sites More sharing options...
Demonic Posted November 27, 2007 Author Share Posted November 27, 2007 its just the input button wont display I have to alternative to a image which I dont want but must. Quote Link to comment https://forums.phpfreaks.com/topic/78720-ie-problem/#findComment-400399 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.