tags:

views:

26

answers:

3

I have three buttons inside a td element. Now all the buttons are being aligned vertically. How can I align them horizontally without using nested table.

+1  A: 

Try using unordered list (UL) of list elements (LI) with horizontal alignment.

Here is an example: http://css.maxdesign.com.au/listamatic/horizontal01.htm

MarcAndreson
+1  A: 

Use CSS:

float:left for every button clear: both in the end

narcisradu
+1  A: 

use div with property float left

<div style="float:left">
  button1
</div>

<div style="float:left">
  button2
</div>

<div style="float:left">
  button3
</div>
Salil