@mrjyn
May 20, 2011
Country Roads made me cry
Super OBSCURE HTML '%%' Length Units
HTMLayout %% length units
Strange and wonderful dance Strange and wonderful dance
- Strange
- and dance
- wonderful
- wonderful
- strange_dance.mp4 Watch on Posterous
Strange and wonderful dance Strange and wonderful dance Strange and dance wonderful strange_dance.mp4 Watch on Posterous ...»See Ya
In short, %% units are "percentage from free space". They also known as flex units or relative length units.
The engine supports two forms of flex units: "spring coil" notation - 100%% and star notation - 1* and these forms are related as:
100%% = 1*
%% units are applicable to border, padding, margin, width and height CSS attributes only. HTMLayout will effectively compute them for all blocks in 'normal' flow. Thus width:100%% of floated block will not be interpreted at all (will be treated as undefined).
Formal definition of %% length units computation:
When allotting space among element attributes competing for space along axis, HTMLayout engine allot all values for attributes having other than %% lengths first, then divide up remaining available space among %% lengths. Each %% length receives a portion of the available free space that computed as a percentage from total sum of all %% units along axis. If total sum of all %% lengths along axis is less then 100 then 100%% value is used as a total sum of all %% units. Thus, if 100 pixels of space are available after the user agent allots pixel and percentage space, and the competing relative lengths are 10%%, 20%%, and 70%%, the 10%% will be alloted to 10 pixels, the 20%% will be alloted 20 pixels, and the 70%% will be alloted 70 pixels. If 100 pixels of space are available, and the competing relative lengths are 10%%, 20%%, and 30%%, the 10%% will be alloted to 10 pixels, the 20%% will be alloted 20 pixels, the 30%% will be alloted 30 pixels, and remaining 40 pixels will be left undistributed.Example:
In the example below I am using HTML table to model layout which could be done by %% units without need to use tables. Some %% use cases cannot be reproduced even by HTML tables.
Imagine that four blocks below declared in CSS as:
width:100px
width:30%% width:70%% width:150px
Below is the same layout but with %% units use. Could be viewed properly only in HTMLayout engine so far:
width:100pxwidth:30%%width:70%%width:150pxTwo "tables" above have same structure and dimensions of "cells" in HTMLayout engine.
And following example is just one DIV having left and right border set to 30%% and 70%% respectively.
border-left:solid tan 30%%; border-right:solid tan 70%%; border-top:solid tan 4px; border-bottom:solid tan 4px; width:50%; background: goldDIV above takes all available width of its container in HTMLayout engine.
To see examples of %% units alive download HTMLayoutDemo.zip - HTMLayout engine and its demo application with samples.
HTMLayout %% length units Strange and wonderful dance Strange and wonderful dance Strange and dance wonderful wonderful wonderful strange_dance.mp4 Watch on Posterous Strange and wonderful dance Strange and wonderful dance Strange and dance wonderful strange_dance.mp4 Watch on Posterous ...» See Y ...»See Ya
Blink and You'd Miss it! Don't use “custom DTDs”!
Don't use “custom DTDs”!
What's with the <blink>?
The W3C Style page contains a <blink> element. <blink> is not an HTML element and yet the page is valid according to some HTML validators. What's the trick?
In fact, the page is syntactically valid, because the element is declared in the document. As long as elements are properly declared, the page is valid in the SGML/XML sense.
But the page is not semantically valid. It is an SGML document, but it is not an HTML document. There is no official standard that defines what <blink> means.
The W3C Style page uses a non-standard element as a joke. If you know the history of CSS you may remember that one of the reasons for CSS was precisely to avoid that every browser invented its own non-standard elements, such as <blink>.
Don't use “custom DTDs”! What's with the
Hint.
via microsoft.com ...»See Ya
Strange and wonderful dance
Strange and wonderful dance Strange and wonderful dance
- Strange
- and dance
- wonderful
Strange and wonderful dance Strange and wonderful dance Strange and dance wonderful strange_dance.mp4 Watch on Posterous ...»See Ya
Ever gone broke in a big way Ever done the opposite of what the experts say
Bob
Tell
|
Ever gone broke in a big way Ever done the opposite of what the experts say
Me
Dylan
ell me Tell me Are you lookin' at me and thinking of somebody else Can you feel the heat and the beat of my pulse Do you have any secrets That will only come out in time Do you lay in bed and stare at the stars Is your main friend someone who's an old acquaintance of ours --I've got to know An has it died out and melted like the snow
T
ell meTell me Tell me--
T
ell me--T
ell me Tell me Tell me--T
ell me -CLARK HAIRLINE
T ell me Tell me Are you lookin' at me and thinking of somebody else Can you feel the heat and the beat of my pulse Do you have any secrets That will only come out in time Do you lay in bed and stare at the stars Is your main friend someone who's an old acquaintance of ours
--I've got to know
T
Does that flame still burn, Does that fire still glow Or has it died out and melted like the snow
T ell me Tell me Tell me--
T
ell me--T ell me Tell me Tell me--what's in back of them pretty brown eyes Tell me--behind what door your treasure lies Ever gone broke in a big way Ever done the opposite of what the experts say Tell me
T
ell me
T ell
ME
-
is my name in your book Tell me--will you go back and take another look
Tell meZwei Boxkämpfer jagen Eva quer durch Sylt.Bob
Tell
|
Me
Dylan
MORE Dogmeat »
TYPE DESIGN
CUSTOM TYPE
ABOUT
SORRY, BOB!-
Get more discussion results
Bob Tell | Ever gone broke in a big way Ever done the opposite of what the experts say Me Dylan TELL ME LYRICS Will it lead to glory. Or lead me to disgrace? . , is that name in your book ? , you go back and take another look ? ... music.?... tell - me ... name = Tell %20Me%20Lyrics me Mm, me / me , ...»See Ya
Swaggart Camp Meeting Medley
Jimmy Swaggart Camp Meeting >ME--dley
what are you focused upon will it come to me after you're gone Tell me quick with a glance on the side Shall I hold you close or shall I let you go by Is it some kind of game that you're playin' with me Am I imagining something that never can be Do you have any morals Do you have any point of view Is that a smile I see on your face Will it take you to glory or to disgrace Tell me Tell me Tell me-- is my name in your book Tell me--will you go back and take another look Tell me the truth, tell me no lies Are you someone whom anyone prays for or criesTell meZwei Boxkämpfer jagen Eva quer durch Sylt.
Jimmy Swaggart Camp Meeting >ME--dley what are you focused upon will it come to me after you're gone Tell me quick with a glance on the side Shall I hold you close or shall I let you go by Is it some kind of game that you're playin' with me Am I imagining something that never can be Do you have any ...»See Ya
BOB DYLAN "A Complete UNKNOWN" JOHN LENNON BUS TOUR
Bob Dylan remained unknown on a £16 bus tour of John Lennon's childhood house
Monterrey, Nuevo León México
Or lead me to disgrace? Tell me. Mm, tell me. Tell me, is that my name in your book? Tell me, will you go back and take another look? ...
la7oon.com/lyrics/lyrics/v/1B54B08D55 - CachedBob Dylan remained unknown as he joined tourists on a £16 bus tour of John Lennon's childhood house.
The 67-year-old legend was not recognised as he joined tourists at the house in Liverpool, where he is currently based as part of his tour, and looked over the memorabilia.
A spokeswoman for the National Trust, which owns and looks after the house, said to British newspaper the Daily Mirror: "We couldn't believe it when his agent rang us and asked if we could get Bob on one of our tours to see John's house."
The spokeswoman added: "He spent ages going through photo albums and was thrilled at all the memorabilia. He's definitely the biggest celebrity we've ever had on our tours."
The spokeswoman added: "But incredibly no one else recognised him."
BOB DYLAN - TELL ME LYRICS
Will it lead to glory. Or lead me to disgrace? Tell me. Mm, tell me. Tell me, is that my name in your book? Tell me, will you go back and take another look? ... music.kngine.com/lyrics.ashx?...tell-me...name=Tell%20Me%20Lyrics SORRY, BOB!- TELL ME LYRICSGet more discussion results
MORE Dogmeat »
Bob
Tell
|
Me
Dylan
Bob Dylan remained unknown on a £16 bus tour of John Lennon's childhood house Monterrey , Nuevo León México Tell Me Lyrics By bob dylan Or lead me to disgrace? Tell me . Mm, tell me . Tell me , is that my name in your book ? Tell me , will you go back and take another look ? ... la7oon.com/lyrics/ly ...»See Ya
If *Dylan were a font (*described myself as 'serif' today)
-
Or lead me to disgrace? Tell me. Mm, tell me. Tell me, is that my name in your book? Tell me, will you go back and take another look? ...
la7oon.com/lyrics/lyrics/v/1B54B08D55 - Cached -
BOB DYLAN - TELL ME LYRICS
Will it lead to glory. Or lead me to disgrace? Tell me. Mm, tell me. Tell me, is that my name in your book? Tell me, will you go back and take another look? ... music.kngine.com/lyrics.ashx?...tell-me...name=Tell%20Me%20Lyrics -
SORRY, BOB!- TELL ME LYRICS
Get more discussion results
MORE Dogmeat »
Bob
Tell
|
Me
Dylan
TYPE DESIGN
CUSTOM TYPE
CLARK HAIRLINE
T ell me Tell me Are you lookin' at me and thinking of somebody else Can you feel the heat and the beat of my pulse Do you have any secrets That will only come out in time Do you lay in bed and stare at the stars Is your main friend someone who's an old acquaintance of ours
--I've got to know
T
Does that flame still burn, Does that fire still glow Or has it died out and melted like the snow
T ell me Tell me Tell me--
T
ell me--T ell me Tell me Tell me--what's in back of them pretty brown eyes Tell me--behind what door your treasure lies Ever gone broke in a big way Ever done the opposite of what the experts say Tell me
T
ell meT ell
ME
-is my name in your book Tell me--will you go back and take another look
Tell meZwei Boxkämpfer jagen Eva quer durch Sylt.
Bob
Tell
|
Me
Dylan
TYPE DESIGN
CUSTOM TYPE
ABOUT
-
Or lead me to disgrace? Tell me. Mm, tell me. Tell me, is that my name in your book? Tell me, will you go back and take another look? ...
la7oon.com/lyrics/lyrics/v/1B54B08D55 - Cached -
BOB DYLAN - TELL ME LYRICS
Will it lead to glory. Or lead me to disgrace? Tell me. Mm, tell me. Tell me, is that my name in your book? Tell me, will you go back and take another look? ... music.kngine.com/lyrics.ashx?...tell-me...name=Tell%20Me%20Lyrics -
SORRY, BOB!- TELL ME LYRICS
Get more discussion results
MORE Dogmeat »
Bob
Tell
|
Me
Dylan
TYPE DESIGN
CUSTOM TYPE
ABOUT
ABOUT
-
Or lead me to disgrace? Tell me. Mm, tell me. Tell me, is that my name in your book? Tell me, will you go back and take another look? ...
la7oon.com/lyrics/lyrics/v/1B54B08D55 - Cached -
BOB DYLAN - TELL ME LYRICS
Will it lead to glory. Or lead me to disgrace? Tell me. Mm, tell me. Tell me, is that my name in your book? Tell me, will you go back and take another look? ... music.kngine.com/lyrics.ashx?...tell-me...name=Tell%20Me%20Lyrics -
SORRY, BOB!- TELL ME LYRICS
Get more discussion results
MORE Dogmeat »Typemade is a small digital foundry & information design studio based in Monterrey Mexico
-
Or lead me to disgrace? Tell me. Mm, tell me. Tell me, is that my name in your book? Tell me, will you go back and take another look? ...
la7oon.com/lyrics/lyrics/v/1B54B08D55 - Cached -
BOB DYLAN - TELL ME LYRICS
Will it lead to glory. Or lead me to disgrace? Tell me. Mm, tell me. Tell me, is that my name in your book? Tell me, will you go back and take another look? ... music.kngine.com/lyrics.ashx?...tell-me...name=Tell%20Me%20Lyrics -
SORRY, BOB!- TELL ME LYRICS
Get more discussion results