html

Is this possible with CSS 3

I have two DIVs one inside another. <div class="outside"> <div class="inside"></div> </div> The outside div has padding of 20px. The inside div has a lot of content and is scrollable. Is it possible to use CSS3's gradient(alpha?) feature to make the top and bottom of the inside div fade into the outside div when scrolling? or do I ha...

HTML 5 release date

When can we expect to see HTML 5 support for all the major browsers? ...

Include different javascript file depending on browser?

I want to include a javascript file only if the browser is not IE; is there any way to do this? ...

HTML is displaying oddly when Flash is present

The site I'm making uses a tabbed navigation and MooTools to fade the pages in and out. One of the pages has a Flash player embedded on it, and all of the others consist of pure HTML. The problem occurs on the HTML pages -- somehow the Flash player is causing the HTML pages to display oddly. Vertical borders and text will be jagged in th...

Canvas FPS artificially limited to 100fps?

In this page that counts the number of frames rendered and prints the FPS onto the canvas, we can see that it tops out at 100fps, which seems suspicious at the least. Why is this? <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Canvas FPS artificial limiting</title> </head> <body> <canvas id="c" width="320...

Facebook Like button: is it possible to change the URL of a page you share?

Hi, Can I change the URL of a page shared through the facebook like button? Is there any meta tags for this? ...

Invisible borders in html table not quite invisible?

I have some tables in my asp.net mvc application for layout purposes. Even though I usually use divs for most things, in some cases tables make most sense because they already have exactly the layout I'm after in these cases. The only problem is, as far as I know the borders are supposed to be invisible unless you specify a width and st...

FixedSys & Terminal Fonts

How come the font FixedSys and Terminal ONLY work on FireFox and not on any other major browser? What's the deal? Is it because they are system fonts or am I missing something? Thanks ...

CSS - Specifiying fonts on Safari

OK so since FixedSys won't display in Chrome or Safari I make it switch to Lucida Console. It works for Chrome but for Safari I run into an issue. Unless Lucida Console is by itself, it WILL be to the font I said. If not -- then it won't work. Have a look at this picture: I don't know what font the first Hello world! is but it's weird....

Gmail not executing CSS in html mail (svnspam)

I am trying to setup svnspam. The setup and configuration went fine. But when the mails are sent to my Gmail id, they do not have the coloured diffs. Poking into the original mail through the Gmail view original interface I get to see the CSS like this: <html> <head> <style type="text/css"> body {background-color:#ffffff;} .fi...

pass array as parameter to PHP file

I am trying to create a bunch of static HTML pages from a single PHP template. I want to pass an array (a row in a MySql DB) to the .php template file, so that I can use the contents as variables and get the HTML page back. What's the best way to do this? A POST request? A function? I loop through the MySQL query results in the following...

Find a C# HTML parser find all <script> and give me the line and position info.

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>title</title> </head> <body> <a href="aaa.asp?id=1"> I want to get this text </a> <script> var test=function() {} </script> </body> </html> and the result is: line:7, position :4 content: var test=function() {} ...

How to redirect to a particular link if checkbox is checked using javascript?

How to redirect to a particular link if checkbox is checked using javascript? I am doing this but its not working for me.. <input type="checkbox" name="yousendit" id="yousendit" value="1" onselect="return yousendit();"/> <script type=javascript> function yousendit() { if(document.getElementById('yousendit').checked== "checked"...

how to invoke form submit from javascript?

i am developing a online test website using PHP. i have set time limit for the test and i have used javascript to run the timer. what i want to do is to submit the form with answers when the time runs out. please help me to do it. ...

Customizing asp.net webforms markup

I'm a new comer to the asp.net world. I hear a lot about asp.net mvc and it's advantage over webforms about the ability to customize the markup and css. I also heard that asp.net is much easier to learn than asp.net mvc so I decided to go for asp.net and webforms. My question is: what's the level of customization a web developer/designer...

iphone safari cannot cannot scroll normal webpage to bottom

i have a normal webpage with 960px width and, long height. but iphone safari able to scroll the page but cannot scroll until the end of the bottom of the page. i read that iphone using fixed position scroll. any workaround for a normal website to able to scroll until the bottom of the page? ...

Counting content only in HTML page

Hello Is there anyway I can parse a website by just viewing the content as displayed to the user in his browser? That is, instead of downloading "page.htm"l and starting to parse the whole page with all the HTML/javascript tags, I will be able to retrieve the version as displayed to users in their browsers. I would like to "crawl" websi...

How to center and size a HTML slide

Once again I hit upon my favourite HTML/CSS conundrum and am tearing my hair out all over. So this time I thought I put my conundrum to the experts on SO. Here goes... Imagine you want to present a slide show in a browser. The spec is dead simple: slide content should be shrink-wrapped by a slide frame. the slide frame should be ...

Break out of parent div's

When i have a div with position: absolute, and in it is another div with position: absolute the inner div will position in the frame given through the outer (wrapper) div. Now i want to create a class (css) called error_message that positions itself exactly in the center middle of the site, indifferent from where the it is called, so i n...

How much time should i put into validating my HTML and CSS?

Hi all, I'm making some pages using html, css, javascript and PHP. How much time should i be putting into validating my pages using w3's tools? It seems everything i do works but provides more errors according to the validations. Am i wasting my time using them? If so any other suggestions to make sure i am making valid pages or if ti w...