Search
Categories
Ad

Posts Tagged ‘html’

overlay contents over flash object

Wednesday, July 1st, 2009

Problem

You want to show some overlay contents (e.g. dropdown menu items) over Flash objects.

Solution

You can enable z-index features of HTML to Flash objects by adding some parameters.

<object ...>
<param name="wmode" value="transparent" /
<embed ... wmode="transparent"/
</object>

HTML Table height

Wednesday, June 10th, 2009

Problem

I want to set the height of table rows in HTML.

Solution

You can set the height attribute in TR tags.

50 not set
not set not set


<tr><td height="50px">50</td><td>not set</td></tr>



[NOTE]  Be careful. You cannot set the height attribute in TR.

Advanced Tables

Tuesday, June 9th, 2009

Problem

I want to merge two or more cells in a HTML Table

Solution

You can use “colspan” or “rowspan” attributes.

merged cell
cell1 cell2 cell3

<tr><th colspan="3">merged cell</th></tr>
<tr><td>cell1</td><td>cell2</td><td>cell3</td></tr>
merged cell2 cell3
cell4 cell5

<tr><td rowspan="2">merged</td><td>cell2</td><td>cell3</td></tr>
<tr><td>cell4</td><td>cell5</td></tr>

More Than One Classname to one HTML Tag

Monday, June 8th, 2009

Problem:

I want to add one more classnames to one HTML tag

Solution:

It is not so hard, just put all the classnames with separated by spaces, like

<div class="class1 class2 class3"> ... </div>