Hi,
I have a control that will return some html to me as a string. Before putting that on screen, I'd like to be able to tell if it'll just show as empty.
For example the control might return <p><br /></p>, which when I test using C# for string.Emtpy obviously it's not - but nothing gets displayed on screen.
Is there a regex function ...
Is it possible to auto-format your code in Dreamweaver like in Visual Studio (ctrl+k+d)
...
Hi, I wonder if there are any possibility to reset css in middle of page? I have main style, but in one area I would like to use style from tinyMCE generated source.
So in tinyMCE source are elements which in editor looks like default browsers style (or like user wants), but in other pages uses style from my main css and from it self in...
I would like to see some code/tutorials on reading an excel spreadsheet (a calender) into VB.NET. I'm pretty much okay from there. I want to convert it to an HTML table and output it into an html file for inclusion on a website.
Where can I find tutorials OR can someone post some code with a desciption to get me startd?
BONUS:
Is the...
Given a URL, I would like to be able to render the returned HTML to know width and height for each div, fonts' size for each piece of text, color of each element, position of each element on screen, etc.
A possible approach could be traversing the DOM tree with Hpricot and checking CSS style by parsing the associated stylesheet using cs...
Hi all,
I need some help to set a link as active as default when the page load the first time.
<style type="text/css">
a{
color:black;
}
a:hover{
color:white;
}
a:active{
color:blue;
}
</style>
<div>
<!--I want this fisrt link to be set as active by default-->
<a href="#"/>
<!--I want this one as normal-->
<a href="#"/>
</div>
I d...
What are the important Validations/Processing which can be done during the http request/response to protect web application from vulnerablities like cross site scripting cross site request forgery and any other security attacks?
...
You've probably seen fancy search boxes before (like the one on the jQuery API) where they have a clickable search icon that appears over the textbox. How can I semantically achieve this effect?
I have seen on some custom Google Search textboxes that it uses a background image on the textbox, and then it receives focus and removes the ...
I have a style assigned for a specific HTML element in my stylesheet file, like this
label {
width: 200px;
color: red;
}
In one special case, I would like to use a label element in the HTML document, but ignore the style specified for the label element (just for one instance in the document). Is there any way to achieve this in ...
Is there a way to track if a user prints a web page?
Thanks,
Graham
...
Does it matter if i name my pictures "test.jpg" or just "test" for the viewers?
<img src="test.jpg" />
<img src="test" />
Both works in all browsers i know but is there any point in using the right file extension?
...
Hi,
I have a small php system i created for myself. This system contains a few .doc and .docx file documents. I want to be able to open them directly from the browser and not downloading them.
I created a link:
<a href="file:///c:/mysite/myfile.docx">myfile</a>
But FireFox does not open the link. While href="http://localhost/myfile....
Embedded via iWeb because I decided to mock it up quickly.
The buttons and/or functions are not responding at all: http://nomosolo.com/preview/Word_On_The_Street.html
Any thoughts?
...
Hello all,
I am about to start a task where I will have a grid of checkboxes which will allow users to select all of the checkboxes, some of them or none of them. I will also add a few conditionals where you can select a checkbox if you have selected the one above it directly and deselect them if the checkbox above has been selected.
B...
So the problem im having is changing my #scroll top:value with the pixel (px) extension.
#container {
height:100px;
overflow:hidden;
}
#scroll {
position:relative;
top:0px;
}
<div id="container">
<p>
<a id="up">Up</a>
</p>
<div id="scroll">up down blah</div>
</div>
$(function(){
$("#up").hover(function(){
var topVal = $(...
Hi there,
im trying to get some background images around a content div. Thing is, the content div should have a flexible width (no problem). The background pics should always be left and right attached to the content div. BUT: the horizontal scrollbar should only be triggered, when the user reduces the window to the width of the content ...
Hi,
I'm wondering if anyone knows of a good library for Java to use to measure HTML equivalence?
For example <td class="one two three" name="goat"> would be equivalent to <td name="goat" class="three two one">. I would like to compare entire many-lined strings of html in this manner using Java.
Any suggestions?
UPDATE:
so I tried t...
Hi All,
Say I have a class name person with foll style in css-
.person {
font: 10px Arial black;
}
now if i want to assign as h1 tag to this class so for any instance of h1 tag in class person i want the some styles to be processed
i tried
.person h1 {
color: red;
}
but its not working.
Iam bit confused with the syntax
...
First time sed'er, so be gentle.
I have the following text file, 'test_file':
<Tag1>not </Tag1><Tag2>working</Tag2>
I want to extract the text in between <Tag2> using sed regex, there may be other occurrences of <Tag2> and I would like to extract those also.
So far I have this sed based regex:
cat test_file | grep -i "Tag2"| sed '...
I have an email script written in .Net that sends html emails. The email uses normal html hyperlinks to insert a link in the email, like this:
<a href="http://www.stackoverflow.com/">StackOverflow</a>
The problem is that in Entourage, a hyperlink like this always shows up for me like this:
StackOverflow < http://www.stackove...