Hello,
I've created a HTML based report that can be variable lengths and number of segments in C# (which is why Crystal Reports wasn't used) and I can't use the wonderful http://www.printfriendly.com/ as the report is Intranet based (boooo, hiss).
I've created a media=print CSS file that is used to make the formatting as paper and ink ...
In reference to an earlier post (http://stackoverflow.com/questions/1980890/pdf-report-generation)
I have decided to use a solution similar to http://www.alistapart.com/articles/boom
For those of you who don't want to read either reference - I'm creating a report and need it as a PDF. I've decided to go the HTML -> PDF route using .NE...
I am working on parsing HTML obtain all the hrefs that match a particular url (let's call it "target url") and then get the anchor text. I have tried LinkExtractor, TokenParser, Mechanize, TreeBuilder modules. For below HTML:
<a href="target_url">
<img src=somepath/nw.gf alt="Open this result in new window">
</a>
all of them give ...
I'm currently finishing up testing a new Ruby on Rails app. Just recently, some of the pages do not seem to finish downloading in IE8. In FireFox, Chrome and Safari, everything works perfectly. The pages all validate successfully using the W3C validator.
When I view the page source in IE8, the page has been chopped off around 75% of the...
What are valid values for the MediaType Property on a HttpWebRequest?
I want to do something like this:
Dim url As String = HttpContext.Current.Request.Url.AbsoluteUri
Dim req As System.Net.HttpWebRequest = DirectCast(System.Net.WebRequest.Create(New Uri(url)), System.Net.HttpWebRequest)
' Add the current authentication cookie to the r...
I have been working on a site for a client and I am about to wrap it up.. but unfortunately IE6 is being a pain in the buttocks.
My main problems are on this page:
http://seaport.bythepixel.com/#storage
The list items dont have bullets
The spacing below the floated items are not being cleared correctly. I applied "clear:both" to my...
Guys,
I have an ASP.NET web application that I am making and I am thinking of making it a tabbed interface using Telerik's RadTabStrip. I am trying to figure out the best way to approach this though. I would need about 10 tabs because I have about 10 different main areas of my application. My question is how is the best way to integrat...
I'm working on a web site with Expression Web. I came across this website http://www.ecodetox.ca and what I really liked was how everything seemed to be in round rectangles. I also noticed the background had a drop shadow. I'm wondering how I could achieve this type of effect in expression web without using loads of images from Photosho...
there is a dropdown with 5 options. Currently,option 2 is selected.The user selects option 4 now.The onchange event gets fired which is caught in a JS function listening for onchange on the select.
In the JS function, I can check easily the index of the option selected by the user using the selectedIndex property.However, I want to also...
I recently read a blog post. In it, the author told readers to wire up all their "onclick" events not inline, but when the DOM's ready, like this (jQuery example):
<script type="text/javascript">
$(document).ready(function() {
$("myElement").click(...
});
</script>
This, for all the elements on the page with events attached to the...
i have seen comments on using table-layout: fixed. I have seen comments on defining col widths upfront and also lots of comments on avoiding table especially nested tables and use some css solution instead of tables.
Is there an agreed documented solution for rendering an html table as fast as possible?
Also, if there is an alternativ...
what is the default behavior of browsers if the columns dont add up to the table width.
...
Am using Custom Google search in my web page
Code:
<div id="cse" style="width: 100%;">Loading</div>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1', {language : 'en'});
google.setOnLoadCallback(function(){
var customSearchControl = new google.s...
So why won't this URL for the Flash source file won't work for embedding in the HTML?
src='http://65.19.134.36/uploader/?uuid=suhFolmJnCL3T_7oJ1rkxyeP4oSQtbzf.swf'
(or as used in the object tag for value="...")
There must be something that Flash doesn't like about it, but I cannot figure it out. I've even made a quick fix to the PHP a...
<form method="post">
<label>
<input type="text" value="" size="18" name="searchtxt" class="box"/>
<input type="submit" value="Search" class="button" name=""/>
</label>
</form>
I pressed submit,but searchtxt is not submitted,why?
...
Hai
i have implemented a js in my Faq page.... Below is the Js Code
var Spry;
if (!Spry) Spry = {};
if (!Spry.Widget) Spry.Widget = {};
Spry.Widget.CollapsiblePanel = function(element, opts)
{
this.init(element);
Spry.Widget.CollapsiblePanel.setOptions(this, opts);
this.attachBehaviors();
};
Spry.Widget.CollapsiblePa...
Hello everyone,
I am confused about XSLT apply-template statement. For example, here in w3school.
http://www.w3schools.com/xsl/xsl_apply_templates.asp
It is mentioned -- "The <xsl:apply-templates> element applies a template to the current element or to the current element's child nodes.", my question is whether it is applied to curren...
<div id="atffc">
<object height="1px" width="1px" id="atff" data="//bin.clearspring.com/at/v/1/button1.6.swf" type="application/x-shockwave-flash">
<param name="wmode" value="transparent"/><param name="allowScriptAccess" value="always"/>
</object>
</div>
It only happens the first time you visit.
And I checked there is ...
Is the following valid HTML? What I am wondering about specifically is the location of the <form> tag.
<table>
<form>
<tr>
<td>
<input id="txt" type="text"></input>
</td>
<td>
<input id="txt" type="text"></input>
</td>
<td>
...
I have a HTML table where I:
Include explicit table width.
Include explicit width on the first <td> row.
I have images in the columns but I include height and width tags on the images so the browser should know in advance the sizing.
Using
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtm...