Friday, January 7, 2011

ดอกซากุระที่ภูทับเบิก | ถ่ายรูป,ท่องเที่ยว,บอกเล่า,ชีวิต

ดอกซากุระที่ภูทับเบิก | ถ่ายรูป,ท่องเที่ยว,บอกเล่า,ชีวิต

Thursday, December 30, 2010

Fix PNG Transparent on IE6 by CSS.

Eaxmple.
<span style="width:247;height:216px;display:inline-block;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='test.png');">
<img style="filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);" src="test.png" width="247" height="216" border="0" >
</span>


Reference : http://www.memo8.com/toolkits/archives/81

Held in the middle of next Flash Page Vertical.

Example Such as flash high 1,000 px wide 580 px.

Values must be determined by the width / height of the Flash.
- Width equal to the width of the Flash.
- Height equal to the height of the Flash.
- Margin-left half of the width of Flash and then add a minus sign (-) in prefix.
- Margin-top half of the height of the Flash and then add a minus sign (-) in prefix.

CSS
#container_flash{
position: absolute; width: 1000px; height: 580px; left: 50%; margin-left: -500px; top: 50%; margin-top: -290px;
}

HTML
<div id="container_flash"> Flash Here! </div>



Using CSS to set the height of the DIV height: 100%

Try adding overflow: hidden;

Example

.example{
width:500px;
height: 100%;
overflow:hidden;
}

IIS is not installed ,because the files are not found staxmem.dl_.

1. Click Start Menu>> Run>> type cmd.
2.Type the following command, and then tap Enter.
esentutl /p %windir%\security\database\secedit.sdb
3. the warning window comes up, press OK.
4. and then wait until the system is "Repair" finished

Now go back to install IIS again.

Reference: http://www.memo8.com/toolkits/archives/92

ASP.NET Error : The SELECT permission was denied on the object ‘table_name’, database ‘table_name’, schema ‘dbo’.

Error caused by the subject not Add Permission can be modified as follows.

1. Open SQL Server Management Studio.
2. Look at the Object Explorer (left).
3. Select the folder>> Security>> Logins.
4. Select the User to use. Right-click on the shortcut menu, select "Properties".
5. When the window see the Select a page (left side).
6. Select the Server Role to Check "sysadmin" Press Ok.

Wednesday, December 29, 2010

How to open the file of the ASP.NET Master Pages in Dreamweaver 8 Design view.

By the ASP.NET Master Pages is a Dreamweaver extension that master does not know if we will be the Open With Text Design can not be a way to make known Dreamwever master file extension is another way.

1. to go to "C:\Program Files\Macromedia\Dreamweaver 8\Configuration\DocumentTypes" If a Windows 64 bit, it changed its name to the Program Files Program Files (x86).
2. Find a file called "MMDocumentTypes.xml". Open a text editor program to edit the file
3. Once opened, then search for "ASP.NET_VB" and "ASP.NET_CSharp".
4. find the attribute named "winfileextension" notice will contain the value. aspx, ascx, asmx so we can add to the master. winfileextension = "aspx, ascx, asmx, master".
5. Close Dreamweaver and open a new again.

Good luck.



Reference : http://www.memo8.com/toolkits/archives/484