Does anyone know how or if its possible for Visual Studio 2008 to highlight the html syntax inside a script block of type "text/html" just like any other markup on an aspx/html page. I'm using the script block to house my templates for client-side templating.
...
I tend the think the answer is no based on this article. There is so much noise with these search terms that I am having problems coming up with a definitive answer.
...
What do you think is the best way to markup a snail mail address? I found some different options such as:
<div class="address">
<span class="name">Mr. Bob</span><br/>
<span class="street">45654 Bob Ln</span><br/>
<span class="city">Imaginery</span>,<span class="state">OH</span><br/>
<span class="postalCode">44321</span>
</div>
I also ...
I've always been interested in writing web software like forums or blogs, things which take a limited markup to rewrite into HTML. But lately, I've noticed more and more that for PHP, try googling "PHP BBCode parser -PEAR" and test a few out, you either get an inefficient mess, or you get poor code with XSS holes here and there.
Taking...
The text could be stored in the database using either markdown, bbcode, html, etc. Should I remove any allowed tags from the search terms? Does your markup parser have any method to assist in that task?
I was going to use like '%searchword%' queries. Does full text search offer any advantages for such a simple text search?
Update: It s...
All the Google results suck.
...
What's the neatest way to caption images on the web using the latest in HTML/CSS? Demo code please.
...
One of the sites I develop has lots of information linked between each other; we have companies, we have products for those companies. The company page links to the page listing the products for that company, and vice versa.
From the HTML spec:
CITE:
Contains a citation or a reference to other sources.
Does this imply that I...
I used to just use p and span elements for this... but I'm always pushing to use the right elements, and this is something I haven't really thought about before with regard to testimonials.
This is what I had in mind
<div class="testimonial">
<blockquote>i love your products</blockquote>
<span>Jim Testimonial-giver</span>
</div>
Do...
Other than submit individual web pages for verification on the W3C site, are there any standalone tools that will do this job.
Ideally this would be a visual studio plugin that could catch errors at design time but one that would just take a wep application url running locally would be good.
Open source suggestions would be preferable...
Hi,
I have the Lucene search extension (http://www.mediawiki.org/wiki/Extension_talk:Lucene-search) integrated with my mediawiki installation. Its all working really well, however- lucene seems to have indexed all the mediawiki /html markup as well and it is showing up in the results.
i.e. searching for "green" will return results with...
I am using a Richtext box control to post some data in one page.
and I am saving the data to my db table with the HTML mark up Ex : This is <b >my bold </b > text
I am displaying the first 50 characters of this column in another page. Now When i am saving, if i save a Sentence (with more than 50 chars )with bold tag applied and in my ot...
I've written a VB.Net page to browse my site. It stores the HttpWebResponse in a string. How can I validate the markup validity of the page in .Net? - something similar to W3's validate by direct input option. I'm looking for something that can identify the DOCTYPE, validate it yes or no, and return a list of failures I can display.
...
I am using [http://validator.w3.org/][1] for markup validation and I continue to get errors that don't make any sense to me. For two below, for example, the validator is telling me that there is an error detected within the closing brackets of the body and html tags. For one page it repeats these errors 5 times and it doesn't make sense ...
Let's say we have the following:
public enum RenderBehaviors
{
A,
B,
C,
}
public class MyControl : Control
{
public List<RenderBehaviors> Behaviors { get; set; }
protected override void Render(HtmlTextWriter writer)
{
// output different markup based on behaviors that are set
}
}
Is it possible to...
What is the syntax for accessing a AppSettings directly from the ASP.NET Markup? I can't remember exactly, but it was something like '<%= $.settingname %>'
...
In MS Word, there's a nice feature called "track changes" that allows the program to track edits. This is useful when collaborating with others because you can enable various visualization modes where it's easy to see what others have changed.
I'm in the process of editing a large amount of documentation written in LaTeX and stored in ...
I have the following markup that is used to produce a pop-up style mega-menu (the .column div is there to allow multiple columns within each popup, though the example below only has a single column)...
<ul id="mainmenu">
<li class="mega">
<h2><a href="/">Menu 1</a></h2>
<div class="submenu col1 leftmenu">
<div class=...
I understand its not a desirable circumstance, however if I NEEDED to have some kind of HTML within JSON tags, e.g.:
{
"node":
{
"list":"<ul><li class="lists">Hello World</li><ul>"
}
}
is this possible to do in Python without requiring to to be escaped beforehand?
It will be a string initially so I was thinking a...
Should book titles be contained in an <em> tag? If not <em> is there more appropriate markup?
...