The asp.net login control in IE8 doesn't look great. The spacing between the username and password boxes is no existant. Two ways of sorting it:
1. Convert it to a template and insert your own css
2. Using the following in the code behind
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
CType(aspnet_login.FindControl("UserName"), TextBox).Attributes.Add("style", "margin-bottom: 6px; margin-left: 2px;")
CType(aspnet_login.FindControl("Password"), TextBox).Attributes.Add("style", "margin-left: 2px;")
End Sub
Alternatively Microsoft could update the .net framework?!?
Thursday, 7 January 2010
Wednesday, 6 January 2010
'cannot create file' download error in safari on MAC
When you download in safari on the MAC you can get an error message 'cannot create file'. Many posts mention permissions on the folder you are downloading to but the problem I had was that the harddrive didn't have enough space for the file being downloaded. When I made some space the error went away and the file downloaded. Good error message Apple!
Labels:
cannot create file,
download,
MAC,
safari
Subscribe to:
Posts (Atom)