Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Problem with alignment of checkboxes in HTML page

Hi,

I have placed several check boxes inside a table element, that show up in a single row,
on a html page. The problem is that when I shrink the web page the check boxes alignment
goes off, that is they start to show up in mutiple rows on the web page. What I want to
achieve is that, how much ever I shrink my web page, the check boxes must maintain there
alignment i.e. they should not split into multiple rows. How can I do that?.Do I have to use any JS script for that?.If so please suggest me.
I have around 8 check boxes, showing up in a single row. Width and Height of the table are
set to 100% and 50 respectively.The check boxes are HTML based.

Thanks,
[707 byte] By [srinivasc_it] at [2007-11-11 11:58:07]
# 1 Re: Problem with alignment of checkboxes in HTML page
Don't use a 100% but a fixed width .. the browser do that to prevent the apparition of horizontal scrollbars ... but for fixed size it will force the scrollbars to appear ...
Amahdy at 2007-11-11 23:34:00 >