I have an MVC application view that is generating quite a large HTML table of values (>20MB).
I am compressing the view in the controller using a compression filter
internal class CompressFilter : ActionFilterAttribute
{
public override void OnActionExecuting(ActionExecutingContext filterContext)
{
HttpRequestBase ...
I have an input form with two textareas allowing a user to type in words separated by commas in each.
<form action="http://www.example.com/output.php" method="post">
<table border="0">
<tr>
<td>
<h3 class="title">Prefix</h3>
<textarea cols="34" rows="8" name="cat[]"></textarea></td>
<td>
<h3 class="title">Suffix</h3>
<textarea cols="34"...
I need to let users of an application open a folder by clicking a link inside a web page. The path of the folder is on the network and can be accessed from everywhere. I'm probably sure there is no easy way to do this, but maybe I'm mistaken?
...
How do I make a textarea have the same font as everything else on the webpage?
Currently I have my code:
test.html:
<html>
<head>
<link rel="stylesheet" href="test.css">
</head>
<body>
<div id="testarea">
<textarea></textarea>
</div>
</body>
</html>
test.css:
body { ...
so i heard that XHTML is not supported by IE and so it is treated as HTML 4.01 any way, but still many people still use it... is that true?
one example is that
<div id="contentForAjax" />
in XHTML, it is self closing, but IE will treat it as not closing, and mess up later layout.
...
I have an existing website that has only static HTML pages. I have one page where someone can email their information, but would like to code this page using .NET.
I've never mixed both before and thought if I published the pages needed from .NET and put it in the root of the existing website that is all I needed, but I am receiving ...
I have to have a page submit to an external website. Not a problem.
Problem is the external website displays a successful message, not good, I need to get the site it was submitted from to be redirected to something more user friendly. The external website won't redirect, which I think might be the easiest, if I pass it a redirectto p...
Hi everyone,
I need to shrink the image that was kept in div background-image using javascript.for that image four's side having rounded corner.
Is it possible in javascript?
any suggestions ?
Thanks & Regards
Ravi Kumar
...
If you check the following demo HTML, you will see there is an unexpected orange border at the top of the page in all browers (I checked).
If the <p> tag is replaced by a <div> tag, everything works like expected.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmln...
i have jsp file in which most of tha struts tag now for some field i have to use simple html tag
but when i put html tag the format of page is chaged.
if i use only struts tag then each strut tag are written in new row so. how can i show two different struts tag in single row.
...
I think it is not allowed to have embedded fieldsets (fieldset
inside another fieldset) - but I would like to confirm that.
...
Hello
I have been asked to write an app which screen scrapes info from an intranet web page and presents the certain info from it in a nice easy to view format. The web page is a real mess and requires the user to click on half a dozen icons to discover if an ordered item has arrived or has been receipted. As you can imagine users find...
I am trying to print a page using javascript, it works fine but the issue comes with a page havign form inside it. If we print the form values being printed are fine but what we get is html controls (like input ,dropdown) are also being printed.
Can some one have any other idea except server side processing
...
it seems that a loose definition of PCDATA and CDATA is that
1) PCDATA is character data, but is to be parsed.
2) CDATA is character data, and is not to be parsed.
but then someone told me that CDATA is actually parsed or PCDATA is actually not parsed... so it is a bit of a confusion. Does anyone know the real deal is?
Update: I act...
Does anybody know of a freely available .NET HTML DOM Parser?
...
I have outer div and inner div. I need to place inner div at the bottom of the outer one.
Outer div is elastic (width: 70% for example). I also need to center inner block.
Simple model of described make-up is shown on the picture below:
...
Disclaimer: As it says in the title, this is targeted at Internet Explorer only. That's a perk of doing internal development - it makes life a little easier when dealing with stuff like this.
Disclaimer 2: I can reproduce this in IE7 and IE6. I have not tried IE8, as this is not available for us in our corporate environment.
My goal is...
I have a rich text editor that passes HTML to the server. That HTML is then displayed to other users. I want to make sure there is no JavaScript in that HTML. Is there any way to do this?
Also, I'm using ASP.NET if that helps.
...
What does a zipped html file using zlib (deflate) look like sitting on the server? Does it have a different extension than .html?
...
I have an html form in a view that needs to be reset from time to time. Problem is, fields enable/disable based on input. Therefore, the only way to truly reset the form is to reload the view (I would prefer that the entire page is reloaded). Due to several scenarios, simply refreshing does not work. I need the equivalent to Response...