whatever the resolution of the screen , how to fix or set the screen resolution for example to 800 by 600 in asp.net

Recommended Answers

All 4 Replies

Member Avatar for rajarajan2017

No need to set the resolution of the screen.

i) Just you need to Put the master table at 100%
ii) place inside everything along with the cells
iii) You can use nested tables.

This will fit to any kind of resolution. Then why need to find the Resolution? Try it!

I hope this will help you, If it is, add to reputation and mark as solved.

no, whatever screen resolution is set by user ,but i want to display same size screen for example display 800 by 600 size screen controls in asp.net


No need to set the resolution of the screen.

i) Just you need to Put the master table at 100%
ii) place inside everything along with the cells
iii) You can use nested tables.

This will fit to any kind of resolution. Then why need to find the Resolution? Try it!

I hope this will help you, If it is, add to reputation and mark as solved.

hi,
use fixed widths for tables and controls instead of % s....

Member Avatar for rajarajan2017

Hi,

Yes, the same, use the table width and height to that resolution

<asp:table id="tbl1" width="800px" height="600px" runat="server">
Comment: all the contents within this table.
</asp:table>

Is it fine?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.