Many email clients don't like linked CSS stylesheets, or even the embedded <style> tag, but rather want the CSS to appear inline as style attributes on all your markup.
BAD: <link rel=stylesheet type="text/css" href="/style.css">
BAD: <style type="text/css">...</style>
WORKS: <h1 style="margin: 0">...</h1>
However this inline style a...
I'm using the jQuery plugin Validation to validate a form. I have a select list looking like this:
<select id="select">
<option value="">Choose an option</option>
<option value="option1">Option1</option>
<option value="option2">Option2</option>
<option value="option3">Option3</option>
</select>
Now, I want to make sure that the user s...
When i put a dropshadowfilter on a dynamic textfield with html-content, the links (a href) stop working.The textfields rotate in flash 3D space so they have a transformmatrix applied to them. Could this be the reason? Anybody had problems with html-links and dropshadowfilter applied to the textfield? it makes no difference if you put the...
I need to put a Confirm button and a cancel button in a page.
I chose to create to forms with different actions, but the 2 buttons (forms) are not displayed side-to-side.
How do we do it without a table?
Thank you!
...
I have a ModalPopupExtender that allows a customer to apply payment info. It has been working great. Then the customer asked to see the total due on the ModalPopup. This did not seem like a big deal to just take the total due from the parent control and pass it into the ModalPopup control. It seems like there is no easy way do to this.
...
I am trying to use Lightbox with an area map. I have gotten it to work fine with Firefox, but in Internet Explorer, it simply opens a new window. I tried using Slimbox, but it doesn't seem to support area maps at all.
Suggestions? Here is the HTML code:
<div align="center"><img src="images/background-temporary.jpg" width="667" height="...
so after a few weeks, i have got my head around asp.net mvc and have converted two webforms sites over. In addition to just the port, did some refactoring to have clean seperate of model, controller and view code.
One pattern that i see that i think still needs improvement is the following and i would like advice or feedback on these ...
I use the <pre> tag in my blog to post code. I know I have to change < to < and > to >. Are any other characters I need to escape for correct html?
...
Hey I'm trying to fire a new event I created for when a button is set to disabled state (By another method etc...) how can I achieve this? i want to listen for when the disabled state changes.
...
I'm working on login page written as a JSP. It's pretty simple but behaves differently in IE8 and Firefox (big surprise there). I have not tested this is other browsers yet.
I could probably hack a fix in with some Javascript but I was looking for more information about the behavior, before I just implement a workaround, with hopes of a...
Hello everyone,
I have a website with a top panel and a body part. The top panel can be toggled between hidden and shown.
The body part should contain the actual content of the website.
As I don't want to hard-code every single site, I would like to stay with the panel and only reload the content.
This seems to can be done using AHA...
I have a element on my form that looks like this:
<div style="overflow-y:auto;overflow-x:hidden;height:100%;width:100%">
In IE7 when the page first renders, there are no scrollbars. However, if I resize the page (even just 1 pixel) the scroll bars appear properly.
Is there something I can do so that the scrollbars show properly whe...
Is there a way to construct a link to a URL that forces the browser to ignore any cache it might have for that URL?
We have some websites that have recently changed after literally years of static content. Users click shortcuts, favorites, or type URL's to these sites and get old, cached content. I would like to have a page with a link ...
While parsing some html files with libxml the function xmlParseFile() returns that the code includes non UTF-8 characters How can i modify the default charset of the library to ISO-8859-1 ? Is there any other way to solve this ?
PS: The entire development is based on libxml and works in most cases so I can't switch to another library.
...
I was looking around the web at the way different sites put their favicon into the site. Whenever I try to do it myself I end up "hacking" until it just suddenly decides to work.
I suppose I have 2 questions in one here.
How is this site adding it's favicon? - http://www.fbd.ie
I can't find favicon.ico in it's page source.
Apart from...
I'm looking for a way to get all the form inputs and respective values from a page given a specific URL and form name.
function GetForm($url, $name)
{
return array
(
'field_name_1' => 'value_1',
'field_name_2' => 'value_2',
'select_field_name' => array('option_1', 'option_2', 'option_3'),
);
}
GetForm('http:/...
How can you display a video (mpeg or avi) with controls (play, stop, fullscreen) in both internet explorer 7 and up and firefox 3.0 and up. A lot of the examples online only works for one of the other. And I can't seem to find one that does it all.
Constraints :
I dont want a solution which needs me to export my videos to youtube or ...
This is something of a follow-up question to my question here. You can find the HTML source in a text file here.
When I load that page in IE8, I get the "Done, but with errors on page." message in my status bar. The detail view shows
Expected identifier
sms Line: 147
Code: 0 ...
I have a three row, one column site design and I'd like to have the center content div resize to fit the remainder of the column (height of screen - (hardcoded footerheight + hardcoded header height)). Is there a cute way to do this with CSS? If not, how can I accomplish this with javascript?
Thanks,
Tom
#container {
background-colo...
Hey Guys,
The validation code that i have on my page is:
function validateForm() {
with (document.contactform) {
var alertMsg = "The following REQUIRED fields\nhave been left empty:\n";
if (name.value == "") alertMsg += "\nName";
if (email.value == "") alertMsg += "\nEmail";
if (message.value == "") ...