Hi, in CSS when you set something's width or height to 100% it really only sets it to 100% of the browser window. Is there any way to make it 100% of the whole page?
Let me rephrase: I want this element (a dic) to take up the ENTIRE page, no matter how much you scroll. Having parent elements with 100% size and 100% width doesn't work be...
Yeah sorry I actually asked this question already except I dont think anyone understood what I was asking.
I am asking how to produce an html list which is styled as in this picture below:
http://iforce.co.nz/i/dafjj52d.png
where by there is a custom background/button for the actual list dropdown action.
I've seen this done using a jQ...
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourdomain.com/index.html">
Does the count start from full page load or as soon as the page is loading.
Having tested it, it looks to me it starts counting after full page load?
I appreciate a confirm before I continue with this solution. I didn't like Javascripts timeout.
Wil...
I have a div (#main) that has been centred to the middle of the body element. body has a horizontally repeating background image and colour, aligned to the top-left of the element. #main has a fixed width, flexible height, and its own background image and colour.
What I'm trying to accomplish, as illustrated below, is to have the backgr...
Hi,
is there any way you can get a browser to compress a file before uploading it?
ie from an <input type="file">
Thanks, Jamie
...
I remember watching a jquery demo by John Resig. He had a browser application that reloaded live while he was coding. I think he did not even have to save his code changes for this to happen ( see 3:40 in the video ).
This is the video: http://vimeo.com/116991
I find this really cool and think this can be really useful and fun while...
why w3c has the conventions of different Doc-types .. ? Instead they could have recommended only one Doc-type (say loose type.. as it would prone to less number of SILLY errors) and would have standardized it to all browsers (including the ones in mob and PDAs) ..I haven't got any satisfying answer in any tutorial yet .. I have been read...
Given the following sample code:
$(document).ready(function(){
$(":input").blur(function(){
alert("The input type is:" ); //How would this look??????
})
});
How can I detemine whether this is an input, select, text, etc?
This is not a real-world example but should suffice for the purposes of this question
...
I have a website (using PHP). The main background is of green color and content area is of white. While switching to one page to another (as it takes a few milliseconds) the background color gives a flash before the white takes it over. I think its because of the way the dom element being drawn/created. I tried using ob_start(); and ob_f...
When you name several file input fields with the same name and an array index like so:
<input type='file' name='thefile[0]'>
<input type='file' name='thefile[1]'>
Then in the form submission you get this:
$_FILES['thefile']['name'][0]
$_FILES['thefile']['name'][1]
And so on with the other fields.
I find this annoying because it preve...
Hi I'm having problems with toggling/searching with my text input, here is a function which I use:
function toggleSearch(obj) {
var el = document.getElementById(obj);
el.value = (el.value != '' ? '' : 'Search' );
}
I call this function in focus/blur of text input and it works like a charm when I'm submitting my for...
Hi everyone
I need to validate a web application in html 4.01 transitional. In my project im working on skeletons/head.jsp to add meta tags. The problem is that i want to add tags like:
<meta name="robots" content="follow">
without the enclosing tag. And the document type is defined on skeleton.xml as HTML 4.01 Transitional. But when ...
Is it possible to record video through Flash's "Webcam" facility and receive encoded video on server side without any further processing (i.e. just saving the stream to a file)? Or is server side software always needed to encode the input?
If server side software is necessary, are there free / Open Source solutions available?
...
Hi all
I am working on http://www.qxl.dk/ and I am experiencing a problem. If you compare the spacing between the leftmost column and the center column to the spacing between the center and the rightmost column, you'll see that they are different by at least 10 pixels.
The spacing has been done by using a table layout with a 10px wide ...
Hello everyone,
I am developing an html page on Windows platform. I find when the resolution (or size, in pixels) of browser (display) is larger than the page size, the page will be aligned to the left of the browser, and I want to align the page to the center (middle) of the browser when the page size is smaller than browser.
Any idea...
Hello everybody, I have a .php file which has several queries in it. I want the output file as a .html file...
Is there any way to do this. I am currently doing this by saving, using my browser, that executed PHP file, as an .html file. But when I launch my product that should not be the case of the client.
Please suggest a way, thanks...
I am trying to send notification emails(which is working fine) but have added the html headers to try to send links etc...for some reason nothing is showing up at all, just blank space where the desired links are supposed to be. Here is my code:
if(isset($_POST['commentBlogSubmit']) && $auth) {
$query = "SELECT `Email` FROM `Users`...
Hi,
I'm having an issue with a simple PHP mailer. I've had this script working, but it now doesn't work and I can't see for the life of me why not. It's instead spitting out the raw HTML rather than the rendered template.
If someone could have a browse and get back to me then that would be great. Thanks in advance.
<?php
if (isset($_P...
how can i submit a form on enter pressed while i amm typing in textarea........if i hit enter it only breaks a line but not submits the form.
...
I wrote a javascript method to display an image dynamically depending on whether or not a plugin is installed or not. Depending on the page, the url might be deep into sub paths and i wanted to see if i can get a path back to the image without all the marky-mark.
Example
myImage src location = {root}/Content/Images/myImage.png
Now cal...