I've inherited a project that stores basic HTML formatting (i.e. - <b>, <i> tags) in a database and writes it out to a Word document. This is my first Word automation assignment, so be gentle!
Currently, there is a complicated function that runs after the document is complete that searches and replaces these tags. However, as this is ...
I've got an XHTML 1.0 Transitional document. Most of the content is in English, hence this is what I've got at the top:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
Some elements are in d...
Duplicate:
What is the best way to create rounded corners
How to make a cross browser, W3C valid, semantic, non-javascript ROUND corner?
What techniques (That are standards compliant) are there for putting rounded corners on display elements in an HTML page?
I put HTML CSS and javascript on the tag list below because I believe they are...
Hi,
I am using asp.net and i would like to create a table which allows the user to enter multiple rows. some of the rows are to be dropdownlists. I dont know how to do this :S
can someone help me please?
Thank you
...
Is there any way to configure IIS or Web app to automatically open a new window when a hyper link is clicked? My issue isn't as trivial as it sounds, let me explain... I understand you can use javascript or target="_blank" in the anchor tag, but I don't always know when an anchor tag might be listed on the page...
Reason is that its ...
I am looking for a command line tool, or a library (preferably in Perl) to download an HTML page and all its components: external CSS, external JavaScript, images, flash or other objects, etc.
I have not found a tool to do that. I could download the HTML page, and parse the HTML to find all the external links. But I'd rather not re-inve...
You're creating an HTML layout. Let's assume that you don't need the benefits of multiple stylesheets, that a small increase in HTML size is not a concern, and that you have a style which will only be used once. I'm often in favour of using an inline style here, as I view the repetition of your CSS class name or ID as the cost of an abs...
Hi,
I have a MVC app and using JQuery.
I have anchor that I setup like this
<a href="#" id="addcomment">Add Comment</a>
then when the anchor is clicked I do this
$('#addcomment').click(function() {
$('#divComments').slideDown(2000);
});
Problem is when the anchor is clicked
the browser scrolls to top of window
immediately th...
Hi,
I can do most things I need to with mshtml, but I'm a bit stuck with how to set a checkbox input element to "checked". Here's the situation...
IHTMLElementCollection inputElements = (IHTMLElementCollection)doc.all.tags("input");
foreach (IHTMLElement el in inputElements)
{
string elementHtml = el.outerHTML;
string termsOfSe...
I need to do some HTML parsing with python. After some research lxml seems to be my best choice but I am having a hard time finding examples that help me with what I am trying to do. this is why i am hear. I need to scrape a page for all of its viewable text.. strip out all tags and javascript.. I need it to leave me with what text is vi...
Instead of tediously search for workarounds for each type of attribute and event when using the following syntax:
elem = document.createElement("div");
elem.id = 'myID';
elem.innerHTML = ' my Text '
document.body.insertBefore(elem,document.body.childNodes[0]);
Is there a way where I can just declare the entire HTML element...
Hey
I have a silverlight page and I have a html page with my layout. How can I add the silverlight page to part of my html page? Thank you!
...
Am using JQuery Autocomplete on my templete, but as i get the results the Autocomplete only displays one item despite that the results that are fetched have more that one item. It only shows the first item on the list!
Example:
if i have a result list with ('python', 'pythonism', 'pythodus')
and on the autocomplete i type 'pyt' it onl...
Hi,
I am asking about using javascript to add a script to a html tab in firefox. I'd like to avoid using greasemonkey. Is there a way to do this?
Thank you
...
Hi,
I hestitate to post this question as it's surely a pretty simple one, but it's the first time for me to use radio buttons with mshtml and I can't figure out why it's not working. Here's the code I'm using:
IHTMLElementCollection inputElements = (IHTMLElementCollection)doc.all.tags("input");
foreach (IHTMLElement el in inputElements...
Does the IFRAME's onload event fire when the HTML has fully downloaded, or only when all dependent elements load as well? (css/js/img)
...
Sorry if this is a dup; I haven't found any questions that pose quite this same problem.
The issue is illustrated by this screenshot, ironically taken from a CSS blog site (it's immediately below the text "In order to set a positioning context".) I've been hitting the same issue in my own code.
About halfway down this image, there's a...
The other day my friend asked me how to fix the indentation of his huge html files which was all messed up.
I tried the usual "gg=G" command, which is what I use to fix the indentation of code files. However, it didn't seem to work right on HTML files. It simply removed all the formatting.
I also tried setting :filetype = xml, to see...
Hi,
I am trying to create text in html, that once clicked, the the value of a textbox residing near it, changes its value to be equal to that of the text clicked.
Is there anyway I can do that?
In other words I want the functionality of a button (the onClick event) for a link/text.
Thank you
For example: What's wrong with this?
<td...
what are some of the tools that I should know?
This is one of my question to get a quick round up from the community and get up-to-speed about the latest.
I know the basic definition that is
"The Document Object Model is an API for HTML and XML documents. It provides a structural representation of the document, enabling you to modify...