473,804 Members | 3,049 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Setting min-width to table cell td/th

How do i set/specify minimum width (min-width)
and minimum height (min-height) to the table cell (td/th)?

No, I dont want explicit width setting.

No, I dont want spacer GIF's.
Can I do it in CSS?

No?
Why? Why not?

What justification is there to the fact, that i can
achive my goal with spacer GIFs but not with CSS?
Jul 21 '05 #1
2 55478
in comp.infosystem s.www.authoring.stylesheets, =?ISO-8859-
1?Q?Marek_M=E4n d?= wrote:
How do i set/specify minimum width (min-width)
and minimum height (min-height) to the table cell (td/th)?
You can't specify min-width, but if you use width, it acts usually
exactly as if it was min-width.

You can't specify max-width for table elements.

http://www.w3.org/TR/CSS21/visudet.html#min-max-widths

If you can think good, somewhat simple algorithm for min and max width
for table cell, you should state it in www-style list. But you should
have understanding of CSS before doing that.
Can I do it in CSS?
Max-width does not apply to table elements, so you need to wrap your
content to something to get max width working, but that is almost always
bad approach.
What justification is there to the fact, that i can
achive my goal with spacer GIFs but not with CSS?


You have misunderstood things.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Utrecht, NL.
Jul 21 '05 #2
Marek Mänd wrote:
How do i set/specify minimum width (min-width)
and minimum height (min-height) to the table cell (td/th)?

No, I dont want explicit width setting.

No, I dont want spacer GIF's.
Can I do it in CSS?

google 'min-width' and be lucky.

No?
Why? Why not?

What justification is there to the fact, that i can
achive my goal with spacer GIFs but not with CSS?


justification ??? you think software developpers have to justify their
code somehow ?? maybe you should install the new 'software-inquisition'
and have all developpers that publish software that do not comply with
the holy-software-standards to be burned at once.
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1441
by: Lee Harr | last post by:
I am just starting to use properties, and wonder what you might think of this ... class RNumber(object): def __init__(self, n, nmin, nmax): self.nmin = nmin self.nmax = nmax self.n = n
4
13016
by: Frank Esser | last post by:
I am using SQL 8 Personal edition with sp2 applied. I set the max server memory to 32MB and leave the min server memory at 0. When my application starts hitting the database hard the memory usage reported through task manager peaks between 41-42MB. I've stopped and restarted the MSSQLserver service and checked that the running values are what I set them to be. Does anybody have any ideas as to why the sqlservr.exe would be utilizing more...
3
1670
by: Claudio Grondi | last post by:
Trying to understand the outcome of the recent thread (called later reference thread): "Speed quirk: redundant line gives six-fold speedup" I have put following piece of Python code together: class PythonObject_class: pass PythonObject_class_instanceA = PythonObject_class()
3
6738
by: Ker | last post by:
I have a query that works great. It gives me the min for multiple fields. Within this query, I also need to get the max of some fields too. I currently have output of Date Name Min Start 9/1/03 Walker Rhines 7:00AM I also need Max such as Max End 3:00PM
14
2564
by: Crirus | last post by:
This is more a logical problem than a VB. I have this situation: A timer that need to tick at each 10 minutes starting on minute 15 of curent hour. But I want to calculate the next tick time whenever I want to start the timer.
2
1628
by: Meena | last post by:
Hi all, I want my application to log out the user after a specified amount of time set by the user, for example: If a user sets the time to 15 min, after logging in and 15 min have passed the user will be logged out and redirected to the login page again. Any Ideas??
4
3523
by: jaip26 | last post by:
All, I came across a strange situation in my query. Basically here is the result of my query. col1 col2 col3 col4 col5 col6 col7 -------------------------------------------------------------------------------------------------- Jay 4.5 NULL 4.5 NULL 3.9 'AD' Jay 3.9 'AD' 5.9 'D' 4.5 NULL
11
5036
by: lovecreatesbea... | last post by:
#define MIN(x, y) ((x)<(y) ? (x):(y)) Can a version without conditional operator of MIN macro be written?
4
3599
by: Mistton | last post by:
have a several PCs running WinXP SP2 and W2k SP2 latest patches. all have AMD or Intel chips with at least 1 gig ram. have Java applet that at times requires ~250 meg of ram. on some boxes it runs in less than 1 min on other takes over 30 mins. on ones with 30 mins i notice mem never goes over 150 meg ram usage in task manager even when box has 600 meg free. on boxes with 1 min time it goes to 250 megs and finishes.
19
29265
by: Eugeny Myunster | last post by:
I know, only simple one: #include <stdio.h> int main() { int min=0,max=0,i,arr; for(i=0;i<12;i++) arr=rand()%31-10; for(i=0;i<12;i++)
0
9572
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10562
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10319
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10303
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10070
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7608
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6845
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4282
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.