i have a regular combobox and i am listening to the change event and sticking the selected value in an html table. this all works fine but there is one issue. Right now, the user can select the same item more than once (which i dont want to allow).
At the point of where an item is selected, i want to:
Capture the value and stick it ...
So I have a client who does not allow any server side coding, except in rare occurences classic asp, so everything is HTML and javascript.
So basically I need to build a URL from the form and then redirect. Javascript isn't necessarily my thing, but this would take me 5 minutes in asp.net using String.Format.
Is there a String.Forma...
I have a page with 2 divs. The first one is floated. The 2nd one has a "clear: both" CSS declaration and a big top margin. However, when I view the page in Firefox or IE8, I don't see the top margin. It looks like the 2nd div is touching the first div, instead of being separated. Is there any way to make the top margin work properly?
I ...
I know that questions should have definitive answers, but I'm legitimately curious to get some seasoned opinions on this question. I do not have much web development experience under my belt, but I'm building a page at the moment that makes use of a few drop-down lists (html <select>). I don't want the first (default) option to be an act...
I have an HTML page layout - something like this:
<div id='header'>
Header content
</div>
<div id='main_content'>
some content
</div>
The content in the #main_content div may be really long, or, next to nothing (i use it as part of a template across an entire site).
What I want is for it to minimally be the height of the viewport (m...
Hi All
I'm trying to use HTML Agility Pack to get the description text from inside the:
<meta name="description" content="**this is the text i want to extract and store in a string**" />
And someone on Stackoverflow a little while ago suggested I use HTMLAgilityPack. But I don't know how to use it, and the documentation for it that I...
Hello,
I am a newbie. please excuse me if it is a very basic question. I am hiding and showing CSS on window.print(). on IE8 and FF The page execution stops until i respond on print ( either print or cancel) and then it starts again and completes the page load. But on IE6 and IE7 the page load is not waiting until i respond on print d...
I have a main page which contains a simple iframe. Iframe source = a php file.
The PHP have a link the user can click, but whenever clicked, the browser history increases.
I want the iframe to be independent, without affecting history.
Possible? I am not familiar with ajax btw.
PS: Its only 1 link in the iframe which can be clicked.
T...
Hello all,
I have the following CSS:
div#topWrap div#advancedSearchWrap
{
width:738px;
border:solid 1px #dadada;
background-color:#fffcd9;
margin-top:4px;
padding:10px;
display:none;
}
div#topWrap div#advancedSearchWrap ul
{
width:798px;
margin:-20px 0 0 -60px;
float:left;
}
div#topWrap div#advance...
I want to use the PHP Simple HTML DOM Parser to display all my Left4Dead Steam achievements on my website. The achievements list on the steam community website looks something like this:
<img src="…" /><br />
<div class="achieveImgHolder"><img src="…" /></div>
<div class="achieveTxtHolder">
<img src="…" />
<div class="achieveTxt">
<...
I use TinyMCE to allow minimal formatting of text within my site. From the HTML that's produced, I'd like to convert it to plain text for e-mail. I've been using a class called html2text, but it's really lacking in UTF-8 support, among other things. I do, however, like that it maps certain HTML tags to plain text formatting — like puttin...
Is there any way on earth that I could pump some HTML through an RSS feed? I realize I'm bending the laws of science and all, but I'm under some tight circumstances. I have Wordpress set up so I'm posting a bit of HTML/Inline CSS in one end, and on another site, another web team is going to parse the RSS.
Is there any possible way to d...
To make a table scroll with a static header I added the following:
tbody.scrollContent {
height: 300px;
overflow:auto;
}
And the html tbody tag has the class:
<tbody class="scrollContent">
It works well, but it added a horizontal scroll to compensate for the width of the vertical scroll bar. I would like my regualr tabl...
I have a problem with a button in one of my forms, when a user clicks the button, it shows this black dotted border inside it. I would like to remove this, but I don't know how. I haven't set this border in the CSS...
((For those wondering; the caption means "search"))
I searched some time ago, but with "dashed" instead of "dotted"...
I have some content that uses multiple punctuation marks in a row: "...what road?, others are roads..."
WebKit likes to break this between '?' and ','
Is there any way to prevent this?
...
Is it possible to prevent the text popup that happens when you mouseover a link from disappearing after a certain amount of time. I don't wish to create a completely different text popup solution and would only like to have to pass another attribute into the anchor tag or find out if this is browser controlled.
...
When I test my site in Fox it works fine, when i click the Nav bar the pages change is smooth, but when I test it in IE8 the pages seems to struggle. When I click on a page the change takes 3 seconds and it's like it shuts down than reloads. It like it blinks when it reloads so the page is forcing to open, and the back ground changes w...
<form>
<textarea name="test" value="no">
hi
</textarea>
<input type="submit" />
</form>
hi or no,and reason?
I ask this question because I see javascript editors use textarea.value = html; to restore the content when submit,why they do this if value attribute is useless?
...
Consider the following html/css:
<style>
span
{
display:inline-block;
width:5em;
height:5em;
padding:1em;
}
</style>
a
<span style="background-color:blue;">b</span>
<span style="background-color:green;"></span>
<span style="background-color:red;">c</span>
d
The blue and red boxes, plus the text both inside and surrounding the...
HI..
is there any way to convert HTML and its associated images to MHTML in windows mobile...
Thanks
...