Alex Rivera | Logout

Use of width and min-width

Asked 2012-02-27T21:33:13.383
14

When writing a webpage in html, can you use two different quantitative measures for width and min_width?

For example can you use:

width: 90%
min-width: 600px

Do they both have to be the same unit of measurement (px or %) or does it not matter? I'm trying this in a webpage but it is not working. I am using this to minimally size a jqGrid table, but I wouldn't think that would matter.

Edit
Report

1 Answer

2

You don't described exactly how you allow the user to change the grid size. If you use gridResize then you can add additional options like

$("#list").jqGrid('gridResize', {minWidth: 450, minHeight: 100});
answered 2012-02-27T22:04:57.573

Your Answer