Solved

how to give html table minimum width in asp.net

Posted on 2009-07-14
3
359 Views
Last Modified: 2013-11-19
I am designing one web page which contains an HTML table.

what i want to do is some how make the html table to take the full available width if the user views this page on a higher resolution.
and if he views this page on a lower resolution then i want to fix width to a fixed number so that it does not shrink after that.

is it possible to achieve?
0
Comment
Question by:ziorrinfotech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 19

Expert Comment

by:erikTsomik
ID: 24852418
use percentage rather than px.

So something like this
<table width="50%"
0
 
LVL 10

Expert Comment

by:jfromanski
ID: 24852431
use css, something like:
<table style="min-width: 780px">...
0
 
LVL 10

Accepted Solution

by:
jfromanski earned 125 total points
ID: 24852459
well, better
<table style="min-width: 780px;max-width:100%">
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question