473,748 Members | 2,625 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

diffrence between max-height and height based on occupied space

64 New Member
May i ask ,What is real diffrence between max-height and height property based on occupied space? I test both of them but i didn't find any diffrence between them in action?(and between width and max-width too.)

thanks alot for your help.
May 28 '11 #1
1 898
MusoFreak200
96 New Member
the main difference between the width and max-width is not the actual px size itself.
the actual difference is that the width can be extended if necessary whereas the maximum width or maximum height cannot widen or heighten itself, only reduce itself if nessessary
Jun 9 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
16213
by: §Þ¦w | last post by:
How can i get the table height by Javascript
27
20063
by: Aurangzeb M. Agha | last post by:
I'm running Postgres 7.1.3, and just started having a problem where my dynamic site is going down (read-only DB, with no writes happening to the DB) regularly (every other day). I have no idea whay this is happening, and my search of the FAQ's and mail list don't bring up anything. i've attached the error from the log file, at the end of this message. Here's an output of the disk usage from within the DB dir $ du -k . 1716 ...
2
4704
by: Steve Chatham | last post by:
I have a number of selections in a listbox that would be adjusted based on a user's login info. For instance, if a sales rep logs in, he'll see items A, B, C, D, and E. However, if it's a customer, he'll only see items A & B. Is there a way to specify listbox.height based on how many rows are in it, and have it "fit"? I'm coding in asp.net. Thanks,
2
3397
by: Tor Inge Rislaa | last post by:
How to change row height in a DataGrid I have DataGrid that is filled with data from a table in a DataSet. The content of the cells is text of more than one line (as a note field). What I want is to set the height of the row based on the number of lines in it. The row height of each row in the table may be different from each other. Is there a way to do this?
2
13098
by: bemodica | last post by:
Hello I have a problem with mysql. Using the tables of type INNODB, mysql it has created the archives (ibdata1) whose dimensions exceed the 3G. I have cancelled all the database but the occupied space is remained the same one. How I can make in order to compattare this space? Thanks
1
1352
by: Johanna | last post by:
I am a real php newbie, I am having to learn as I go along - no time for tutorials or books! Background to my problem: I am working on a Wordpress theme for my personal blog -http://www.vikingprincess.net The layout is a centre column and two sidebars. I just decided I want a fourth sidebar at the very right, floating at the right of the rest of the content.
1
5803
by: JesenkoS | last post by:
I have absolutely positioned, fixed size div (mainDiv) on a page, inside which a header(headerDiv) , a div containing data (dataDiv) and a footer(footerDiv) should be displayed. Scrollbars should be shown if there is too much data to fit inside containing div. The problem is that headerDiv has variable height, so dataDiv can't have fixed height defined, but should take all available height that remains in mainDiv <style> #mainDiv{...
3
1689
by: angelicdevil | last post by:
i cud get it to resize based on width and height by setting them 100%...but now when i reduce the height even then it alters the size of the site... wat i want to do it based on width of the screen the height to be calculated and even if i reduce the height of the browser it should not deform...how can i get tht?
9
6057
Samishii23
by: Samishii23 | last post by:
So I have a custom tool tip in my program. Its a Panel control that has a few Label controls. I have set my Panel to AutoSize based on content. I tried to use the AutoSize property on one of the Labels, as this one holds the largest content, but that just extends its width. I would like to have it just expand height wise. The content I have ranges from a small sentence to a full paragraph. I haven't been able to find anything in searches. So...
0
1468
by: eihabisaac | last post by:
Hi, i have a asp button that i want to set its height from C# Code: <asp:Button ID="DCs_Green" runat="server" > </asp:Button> the CSS is as following: #DCs_Green { width:70px;
0
8995
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9561
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
9381
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...
0
9254
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...
0
8252
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6799
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
6078
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();...
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2217
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.