Jump to content

IE problem


Demonic

Recommended Posts

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 :).

Link to comment
https://forums.phpfreaks.com/topic/78720-ie-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.