473,378 Members | 1,377 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Sizing

I see lacks in the CSS specification regarding size which I believe should
be discussed for CSS3:
<- a ->
Absolute sizes of generated content are defined as the generated content's
size itself whereas relative sizes are interpreted as being relative to the
containing block's calculated size. With the current specification it's not
possible to scale images in DHTML by applying CSS attributes (given you
don't/can't use DOM properties to retrieve the original size of generated
content).

A new rule should be introduced for generated content to determine relative
sizes as being relative to the generated content's intrinsic size.
<- b ->
There is no way to scale a document, e. g. for printing.

What is rendered on screen always varies depending on the screen resolution.
Units like "pt" are never displayed in their correct sizes. Similar for
printing: "px" unit rules are never printed in the printer's resolution.

I suggest to introduce a scaling rule to CSS to be able to determine the
scaling of elements. Given this rule all the intrinsic quirks currently
implemented into browsers can be replaced by corresponding rules and unveil
the computing. It would also be possible to give separate rules for
printing.

The new "scaling" rule should only allow percentage values. Descending
scaling rules should recognize existing scaling factors to determine a
computed scaling:

<html>
<body style="scaling: 50%;">

<p>
This paragraph is rendered with a scaling of 50 %.
The following image is rendered with 50 % of the browser's
intrinsic scaling:<img href="..."/>
</p>

<p style="scaling: 70%;">
This paragraph is rendered with a scaling of 35 %.
The following image is rendered with 35 % of the browser's
intrinsic scaling:<img href="..."/>
</p>

<p style="scaling: 200%;">
This paragraph is rendered with a scaling of 100 %.
The following image is rendered with 100 % of the browser's
intrinsic scaling:<img href="..."/>
</p>

</body>
</html>

RFC,
Axel Dahmen
Sep 10 '06 #1
0 1010

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

Similar topics

2
by: Vissu | last post by:
Hi All, Thank you for your feedback on # of tablespaces. Can anyone share some experiences on sizing the data block ?. Assuming that the biggest row I would have takes up about 2K, what...
0
by: Andy Ginn | last post by:
Hi, I am involved in planning the roll-out of Microsoft Content Management Server 2002, and am looking for database server sizing (data, logs, tempdb, etc) for a set of "typical" sizings, but...
3
by: Ragu | last post by:
Hi I joined a project where 100,000 rows were added everyday. Now due to additional customers the expectation is 2 million reocrds/day ie 10 GB worth of textfiles. We have to estimate the hard...
2
by: sujith | last post by:
It will be great if any one helps me in sizing fonts in browser!!! I tried this code it worked in Konqueror but not in Mozilla I need a solution that will work in IE,Netscape,Mozilla etc.... ...
2
by: Brian Vallelunga | last post by:
Greetings, I'm attempting to create a tabbed box with CSS and Javascript and am having some problems. I have three tabs and three tab content areas. When the page is loaded, two of the three...
2
by: bugbear | last post by:
Is there a current "best practice" for text sizing? My goal is a have a web page (web application actually) which looks the same (more or less) on Mac IE5, PC IE6, Mozilla, Konqueror and Safari....
11
by: N. Graves | last post by:
I have checked the "Alignment and Sizing" toolbar but when I want to use in on aligning several form object the toolbar buttons stay grayed out. What am I missing. Thanks! N. Graves
2
by: Logu Krishnan | last post by:
Hi, I'm looking out info on how to perform System Sizing and Capacity Planning for a product built using ASP.NET... is there any specifics ? any pointers to these will be highly appreciated. ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.