Archive for the ‘HTML/CSS’ Category

CSS Transparency code

This item was filled under [ HTML/CSS ]

Found a piece of code that supports IE, Opera, Firefox, Safari - almost all browsers
.transparent_class {
filter:alpha(opacity=50);
-moz-opacity:0.5;
-khtml-opacity: 0.5;
opacity: 0.5;
}

Continue reading...

100% Table height

This item was filled under [ HTML/CSS ]

To set your table’s height 100% in HTML, you can try out the following code:
<html>
<body>

<table height="100%" width="100%" border=2>
<tr>
<td><img src="spacer.gif" width=1 height=90></td>
</tr>
<tr>
<td height="100%"> </td>
</tr>
<tr>
<td><img src="spacer.gif" width=1 height=90></td>
</tr>
</table>

</body>
</html>

Continue reading...