Po wysłaniu posta słonko w lewym górnym rogu forum.
Sposób użycia BBCode’a:
- Code: Select all
[lato][/lato]
Kod HTML:
- Code: Select all
<div id="png">
</div>
<style type="text/css">
#png{
position: absolute;
top: 0px;
left: 0px;
background:url(images/slonko.png) top left no-repeat;
width:250px;
height:250px;
}
*html #png{
background-image: none;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/png.png",sizingMethod="crop");
}
</style>
Linia informacyjna:
- Code: Select all
umieść w poście kod [lato][/lato]
Przykład:
- Code: Select all
[lato][/lato]
Demo: demo
- Uwagi:
- Plik slonko.png należy umieścić w folderze: root/images/
- (Dla poprawnego wyświetlania w IE użyłem:
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=”images/png.png”, sizingMethod=”crop”); – ...

News of BBCodes