Well it's not a screen...its just a <div> that displays the error messages and allows the user to close it (or drag it around etc.)
The title essential has two components:
- a link that contains a small image followed by the text "Error"
- a button that "closes" the screen
My problem is that when I changed the button into a button (as apposed to the link that I had it before) the text "Error" is squished over next to the image.
When the close button was simply a link it displayed properly:
the image was on the right (floated there), the close link on the left (floated there), and the "Error" text was displayed in the middle.
Is there anything I'm doing wrong?
Expand|Select|Wrap|Line Numbers
- <div id="PNL_ErrorMessages" style="position:absolute;top:20;left:20;width:350px;height:auto;padding:5px 5px 5px 5px;visibility:visible;">
- <div style="background-color:#C00000; color:White; width:100%; border:solid 2px black; border-bottom:none; text-align:center; padding: 3px 0px 3px 0px;">
- <input name="BTN_CloseError" type="button" id="BTN_CloseError" style="float:right; padding-right:3px;" value="x" OnClick="javascript:CloseErrorWindow('PNL_ErrorMessages');" />
- <a onclick="return false;" id="LBTN_Error" href="javascript:__doPostBack('LBTN_Error','')" style="color:White;;">
- <img id="img_colapseError" src="../images/collapse.jpg" style="border-width:0px;float:left; padding-left:3px;" />
- Error</a>
- </div>
- <div id="PNL_ErrorMessageContent" style="background-color:White; border:solid 2px black; width:100%; color:#C00000;">
- <span id="LBL_Error">Error Message:<br />My error Messages</span>
- </div>
- </div>
-LilOlMe