09-16-2008 11:45 AM
Since I am on an anti-adobe tirade, I would also point out a specific problem I have with 2k of whitespace
inserted by cold fusion. This is irrelevant to an html renderer but it doubles the size of my page.
It turns out, AFAIK and I really didn't want to learn the details, that all of the cfm and cfc white
space gets output ( at least that is what I empirically determined by removing source code formating).
I don't know if it is laziness or ignorance but eventually all of these little things add up.
You've probably seen at least a few brower hangs at zero or 100 cpu on an Acrobat/ pdf page too.
Nothing is completely "perfect" by anyone's needs but making at least a token effort to keep
things clean can make a big difference in the final result. FWIW.
03-02-2010 09:12 PM
What am I missing? This should be simple, right?
Thanks in advance for your help.
------------------------ begin HTML source ---------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitiona
</title><meta http-equiv="Expires" content="Tue, 02-Dec-1993 12:34:56 GMT"><meta http-equiv="Cache-Control" content="no-cache, must-revalidate"><meta http-equiv="Pragma" content="no-cache">
<style type="application/vnd.rim.css" src="InternedData0"></style>
<table id="banner" cellspacing="0" cellpadding="2" width="100%" border="0">
<td><img src="/images/major/wd_only_262.jpg" height="56" width="262" alt="wd" border="0"></img>
<span class="SiteNameText pageHeader">SAS</span>
<form method="post" action="404.aspx?404%3bhttp%3a%2f%2fmm7.me%3a80%2f
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTc0NDc0OTYzM2RkrTtQaktjpYpQYbY6Ngp
<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBALw05bVBgKSyOtMAqvYxsIMArbMxh+CCXImqhw
Your IP Address is: <span id="ctl00_cph1_lblIP">126.96.36.199</span>.
Your phone number is: <span id="ctl00_cph1_lblPhone">(404) 786-0113</span>.
It looks like you are using a mobile device to visit this site.
Your device is: <span id="ctl00_cph1_lblDeviceModel">Onyx</span>.
Manufactured by: <span id="ctl00_cph1_lblDeviceManufacturer">RIM</span>.
<button onclick="__doPostBack('ctl00$cph1$btnGo','')" id="ctl00_cph1_btnGo" type="button">Go!</button>
<input type="hidden" name="ctl00$cph1$hdnOpCode" id="ctl00_cph1_hdnOpCode" value="x">
<input type="hidden" name="ctl00$cph1$hdnArg" id="ctl00_cph1_hdnArg" value="axzbv578">
03-03-2010 10:44 AM
Just to clarify my own post, and at the risk of stating the obvious:
1. I embedded CSS to keep my example simple. The reference to the external CSS file was generated by the RIM servers.
Clearly I am missing something! Thanks in advance for pointing me in the right direction.
BTW, I see that there is some sort of "VS2008" add-in for BlackBerry devices. My plan is to simply generate clean (and fairly minimal) HTML so that my pages can be rendered on many devices. The idea of building web pages that are specific to certain devices sounds like a bad idea. Again, what am I missing here?