Solved

how to give html table minimum width in asp.net

Posted on 2009-07-14
3
356 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

734 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