Align center of the screen when the container is positioned absolute:
In order to align your container to the center of the screen, you need is the following code.
margin: auto; left:0; right:0; top:0; bottom:0;
01 април 2011, петък
02 ноември 2010, вторник
Negative Margin Bug fix in ie6
Developers move a blog from its actual position to higher position using negative margin. (margin-top:-10px;) This renders properly in all the browser except internet explorer 6. When you give negative margin, the position of the block is comeing over the existing block.
Example
.div1 {
width:100px;
float:left;
}
.div2 {
margin-top:-100px;
}
In the above example, .div2 block will be over the .bc block. But in ie6 .div1 block will be over than the .div2 block and .div2 block will get hidden. Here is a simple hack to display the block on top.
How to use:
.div2 {
margin-top:-100px;
position:relative;
}
Add position relative to the style of the div with negative margin. This will work in all the browsers.
Example
.div1 {
width:100px;
float:left;
}
.div2 {
margin-top:-100px;
}
In the above example, .div2 block will be over the .bc block. But in ie6 .div1 block will be over than the .div2 block and .div2 block will get hidden. Here is a simple hack to display the block on top.
How to use:
.div2 {
margin-top:-100px;
position:relative;
}
Add position relative to the style of the div with negative margin. This will work in all the browsers.
Етикети:
CSS,
css hack,
IE6,
Internet Explorer 6,
margin,
margin minus,
margin-top:-
23 април 2010, петък
Web Services
Web services are typically application programming interfaces (API) or web APIs that can be accessed over a network, such as the Internet, and executed on a remote system hosting the requested services clients and servers that communicate over the Hypertext Transfer Protocol (HTTP) protocol used on the web. Such services tend to fall into one of two camps: Big Web Services and RESTful Web Services.
Source: Wikipedia
http://en.wikipedia.org/wiki/Web_service
Source: Wikipedia
http://en.wikipedia.org/wiki/Web_service
12 октомври 2009, понеделник
ASP.NET
ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language.
Source: Wikipedia
http://en.wikipedia.org/wiki/ASP.NET
Source: Wikipedia
http://en.wikipedia.org/wiki/ASP.NET
Абонамент за:
Публикации (Atom)