I have an app that lets the user search over a number of fields for a string, When they view the detail record, they would like all occurrences of the string to be highlighted.
The detail form is made up of Labels and ListViews, most of which live inside of TabPanels (from the AJAX Control Toolkit). I'd like to avoid the use of brute fo...
I need to achieve the following when opening an HTML in Excel (Response.contentType="application/vnd.ms-excel") :
force Excel to consider content of td cells as numbers
make the above so that any subsequent user-entered formulas work on these cells (when the spreadsheet is opened)
So far I was successful with adding style="vnd.ms-exc...
I am currently learning html/css, and have noticed a common technique is to place a generic container div in the root of the body tag:
<html>
<head>
...
</head>
<body>
<div id="container">
...
</div>
</body>
</html>
Is there a valid reason for doing this? Why can't the css just reference the body tag?
...
The (web based) software I am working on needs a way for users to be able to customize an email template.
I'm familiar with TinyMCE et al. web based wysiwyg editors. However they strive to produce valid (x)html markup, with heavy use of style sheets. All of which won't render nicely in email clients (yes, I'm looking at you.. outlook 20...
I'm working on a website with a em-based layout (so it can stretch and compress gracefully when users increase or decrease font size). This site has a header that should be displayed across all pages. I have a "header" div in all pages, and the site-wide css file includes the code:
#header
{
width: 50em;
height: 6em;
margi...
This is very interesting to me... This image displays perfectly well in Safari, but not at all in Firefox! Here's the relevant code:
<div id="ad">
<p>Advertisment</p>
<img src="/ADS/fakead1.gif" />
</div>
With CSS:
#ad{color: #666;}
#ad p{
font-size: .5em;
text-align: center;
padding: 0;
margin: 0;
}
#ad img...
I have an INPUT element that is defaulting to "width: 100%". This causes it to push other elements next to it down onto the next line. To fix this temporarily I added an inline style attribute on the element like this:
<input style="width: auto" ...>
which worked just fine. Now I'm going back to clean up the temporary fixes and I'm...
I would like to know how I can refer to a list item object if I had for example the following html list
<div id="subdiv_2">
<div id="subdiv_3">
<ul>
<li><a href="">Item1</a></li>
<li><a href="">Item2</a></li>
<li><a href="">Item3</a></li>
</ul>
</div>
</div>
How is it possible to register an onclick ...
Please let me know why there is lot of white space below the page content and also why horizontal scroll bar is displayed. Attaching link to zip folder below. Unzip and open index.html.
link text
...
Hi!
I would like to create a cache for my php pages on my site. I did find too many solutions but what I want is a script which can generate an HTML page from my database ex:
I have a page for categories which grabs all the categories from the DB, so the script should be able to generate an HTML page of the sort: my-categories.html. the...
Hello,
I have the following UTF-8 file exported from a microsoft access file
http://www.yousendit.com/download/TTZtT214SU84Q1FLSkE9PQ
I have ensured my mysql database is utf8 with the status; command for both client and server. I insert the above file into my database with the following command:
LOAD DATA LOCAL INFILE 'tblAuction1.tx...
I'm looking for a simple way to put up musical "tunes" on a website.
So here's an analogy to explain my question:
Let's say I want to put up a couple of big triangles as a picture on my web page. I can either draw a bitmap and save as GIF/JPG/PNG, put it up somewhere on the internet, and link to it with an element. That works but the ...
I've been playing around with RegExBuddy for over an hour trying to figure out what I thought would be a trivial RegEx. I am looking for a RegEx statement that will let me extract the HTML content from just between the body tags from a XHTML document.
The XHTML that I need to parse will be very simple files, I do not have to worry about...
Hi,
I'm importing some data from another test/bug tracking tool into tfs, and I would like to convert it's description, which is in simple HTML, so a plain string, where the 'layout' of the HTML is preserved.
For example:
<body>
<ol>
<li>Log on with user Acme & Co.</li>
<li>Navigate to the details tab</li>
<li>Check ...
I have a small form inside a table. POSTing that form creates a new entity. I then want users to see that new entity, but it should open in a new window so that the original view isn't lost.
(How) can I open the result of the form submission in a new window?
...
I have been using the ASP.NET AJAX UpdatePanel control a lot lately for some intranet apps I've been working on, and for the most part, I have been using it to dynamically refresh data or hide and show controls on a form based on the user's actions.
There is one place where I have been having a bit of trouble, and I'm wondering if anyon...
OK, if anyone could help me with this I'd be much appreciative. If you copy and paste the following and open up in IE or Firefox
<div style="border: solid 1px navy; float: left;">
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
<li>Item 5</li>
</ul>
</div>
<div style="background-color: blue;"><p>...
I think the question is pretty self explanatory. Anyone done this before?
UPDATE: Clarification on why I need to do this. We have a single swf behemoth of an AS1 - AS2 site with a large video gallery section. The client wants to update the video section as the AS2 code cannot handle their more recent, much larger, video files. The clien...
I have a page that renders slowly. The trip across the net is quick. The initial load of the page is quick. You can actually see (if your machine is slow enough), the initial layout of the html components. Then some javascript stuff runs, making some of those components all ajaxy. Then finally the css gets applied.
I can't do anyth...
I have a javascript heavy app which has widgets like autocomplete dropdowns and tabs and so forth. Sometimes when dropdowns appear and disappear, or when you switch between tabs, it changes the height of the document. This can cause annoyances if the scrollbar appears and disappears rapidly, because it shifts the page. I would like to de...