html

How to know the dimension of swf file without Flash ?

I've a swf file and i want to embed this file into HTML page but i don't know the exact dimension of swf . Windows XP file properties doesn't show the dimension and I don't have Adobe Flash software. Then how can i know the Dimension. ...

Firefox back button works only the first time, not the second time

Hi, I have a website where you can search on stuff with dates and more. When I post the form I get to a result-page, when I hit the back button I go back to my search-page and will refill the values. This works in IE and FF. however, whatever I do, when I search and go back again the second time, the values are lost in Firefox, while I...

what is the best cross browser html WYSIWYG editor ?

Hello all im looking for cross browse WYSIWYG css/html web editor ( freeware please ) that is desktop , can you recommend me on which should i use ? ...

How can I make the browser scroll to the top after submitting a form in a frame.

I have a page with an iframe. In the iframe is a form targeting that frame. The submit button is down near the bottom but the results page is short and appears at the top. So when the user hits submit, the form disappears but they don't see the results because they are scrolled down too far. Instead of just putting a bunch of whitespace...

Calling window.open opens a window, but then it suddently gets minimized

Hi, I make a call to window.open which opens up the desired URL, but then the window suddenly gets minimized w/o my interaction. Why is this? Update The window was being opened on a onclick event (asp.net) and I then injected the HTML. A linkbutton control was used, now when I converted it to a asp:button it is not minimizing. wierd...

Get "Title" attribute from html link using Regex

I have the following Regex to match all link tags on a page generated from our custom cms <a\s+((?:(?:\w+\s*=\s*)(?:\w+|"[^"]*"|'[^']*'))*?\s*href\s*=\s*(?<url>\w+|"[^"]*"|'[^']*')(?:(?:\s+\w+\s*=\s*)(?:\w+|"[^"]*"|'[^']*'))*?)>.+?</a> We are using c# to loop through all matches of this and add an onclick event to each link (for track...

Need recommendations for an ASP.Net compatible HTML->PDF library

I am looking for a library to convert HTML to PDF, including styles. I would prefer it be able to accept a URL as an option, but if required, HTML can be passed in as a stream/byte array with all styles in a single file/buffer. I am using C# / ASP.Net 3.5. I have complete control of the server machine ( I can run as a service, etc... ...

HTML login form return error

I was tasked with cleaning up some errors on a site my company built quite a few years ago. I want to preface the code I post here with the caveat that I didn't write it, and I know it is not a very secure login system, but I have only been assigned to fix the bug at hand. PROBLEM: When users go to login, after they submit the form the...

jQuery / Javascript replace <space> in anchor link with %20

I'm new to jQuery and i'm trying to write some code to go through the page and rewrite anchor links href attribute so that spaces are removed and replaced with %20. so far i have: $(".row a").each(function(){ $(this).attr("href").replace(/\s/g,"%20"); }); I've tried a few variations of this with no luck. ...

No space between bottom of div and div it is within

I have a div within a div, and when viewing the web page in IE6, it does not display spacing between the bottom of div class="video-tour" and the bottom of div class="content-body" Here is what it looks like in IE6: http://i42.tinypic.com/20zs7s7.png Here is what it looks like displaying correctly in Safari: http://i44.tinypic.com/2h69...

how to convert this from table tag to div tag

I have a very simple table that I would like to convert to div for example purposes. I am having no luck with this. Here is my page: http://jsbin.com/equfo Basically I want to convert it to div because I'm tired of having tables like these where I want the button to show in the middle of the table at hand. but since I am using tag...

Air applications using HTML don't pick up alt and title tags

Hey, I'm building a HTML application to run in an Adobe AIR container, but the alt tag for the img element and the title tag for the a element doesn't do a tool tip like a browser would handle. Is there anyway to enable this, or display it another way? Thanks ...

PHP $_POST not working

I set up this test page up on my server. Please tell me why the $_POST array does not contain anything even when I submit the form. I have tried this in three different browsers and nothing happens. <?php print_r($_POST);?> <form method="post"> <p><label>Email: </label> <input type="text" id="login_email" /> </p> <p><label>Password: ...

Making overlay <div> that stays in position after zoom-resize using HTML-CSS only

Hello! I my working on the site that will have image gallery. Designer idea was to make buttons that switch photos be above the photos a bit. Like this Currently I've made a javascript solution to this - it gets position of photo and applies absolute positioning to the button divs. There are some drawbacks - it works unstable in Ope...

Calling website with anchor breaks design

When I access the site with an anchor set (...#xxx) the image on top is shifted outside the viewport. Normal behaviour: http://soc.org/index.php?id=4 Corrupted design: http://soc.org/index.php?id=4#c272 The top image is positioned absolute. There are some blank lines directly after the google-analytics code. If I delete them, it works....

CSS Problem: How to make the images in a <table> made of images touch vertically?

In the page Toggle Squares , I have a table made out of an <img /> in every cell generated by JavaScript. I applied the following CSS: .game, .game td, .game tr, .game img { border: none; border-spacing: 0; padding: 0; margin: 0; } In order to remove all spacing. However, now I'm getting a thin background line of spacing bet...

firefox cannot load HTML and tells to save "untyped binary data"

In our website,a media file is being played in the HTML when it loads with the help of flash. We encounter a problem in firefox when autoplay is enabled. It seems that when the HTML loads some binary data from streaming corrupts the HTML header and hence is not able to detect the MIME-TYPE and so asks to save UNTYPED-BINARY data. How d...

How to design in pure css similar to the big sites

What is the best practice/methodology for creating a web page that is browser compatible and purely in CSS, except for of course the content. I notice that big name websites like yahoo.com use CSS exclusively for layout, which renders the content pretty well in hand held devices. Being that I have an opportunity to redesign the external ...

Submit button has bevel I cant get rid of

I am trying to get rid of the default bevel and border that most browsers/OS have set as the default on Submit buttons. When I use CSS to add a background image it just displays the image in the background of the button but the bevel is still there. Is there a way to make the button just display just my image? Is the only way to do th...

Can Javascript access the DOM of an Ajax text/html response?

I'm trying to use Ajax to fetch an HTML page and then pull out a div by it's ID, and insert that DIV into the current page. So the current page loads (via Ajax) a second page, pulls the div out of the Ajax response and inserts into the current page. However I am at a loss as unless the response is text/xml, I cannot use any DOM functions...