?
Solved

how to give html table minimum width in asp.net

Posted on 2009-07-14
3
Medium Priority
?
364 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 500 total points
ID: 24852459
well, better
<table style="min-width: 780px;max-width:100%">
0

Featured Post

WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
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?
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

765 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