Help, Im really sick of using this lots of nbsps in my results page. Im just a beginner. Can you recommend me some techniques so that I will not be copy pasting this lots of nbsp just to get the space and line breaks I need.
while($row = mysql_fetch_array($result))
{
echo "Patient #:". " ". " ". " ". "&n...
I need to get height of an element that is within a div that is hidden. Right now I show the div, get the height, and hide the parent div. This seems a bit silly. Is there a better way?
I'm using jQuery 1.4.2:
$select.show();
optionHeight = $firstOption.height(); //we can only get height if its visible
$select.hide();
...
I'm trying to style these links:
<a class="sub" href="#">Email Updates</a>
<a class="sub" href="#">RSS Updates</a>
With this CSS:
.sub:link, .sub:visited{height: 50px; width: 308px; background-color: #669900; line-height: 50px; margin: 0 0 0 -15px; font-size: 35px; font-family: "Helvetica", sans-serif; color: #FFFFFF;...
Pleasant day everyone.. i have this java script code in my php file wherein i used this as my validator..for the inputs in different fields in my textbox... my only problem is i don't know how to create a validation that only accepts letters... in my first name and last name field ...looking forward for any assistance thanks have a nice ...
So far I have managed to write some code that should print the source of the page. The problem is, it doesn't. I tried it with another web site, and it printed it out fine, so I used wget on the page "http://www.whitepages.com/carrier_lookup?carrier=other&number_0=2165138899&response=1" which should download the page for me. It g...
Hello guys,
I'm usually a Web technologies enthusiast, and I'm all for the no-tables-design thing, but right now, it's somewhat pissing me off. :/
I'm trying to achieve something that would have been extremely easy with tables, but that seems overly complex/impossible using floating elements. Look at the following:
+-----------------+...
I used this code to print the current page:
<form>
<input type="button" value="Print" onClick="window.print();" />
</form>
but when I view it using universal document converter. It has this url in the upper right corner. How do I get rid of it?
...
I have .txt files which are mostly (truly) html document (they have the header, body, html tags etc.). (I'm working in Windows environment here). I would like any browser to readily read them as html document (html document with normal .html suffix). Right now i have to rename the .txt file to be able to read it in the browser (Ex: myfil...
I'm gonna create two div tags with CSS that appear in the page like below :
Would you please guide me, how I should write the CSS codes?
Thanks.
...
I have this code to verify whether an html text box is empty or not. But I can't figure out what common with admission time and address, that they don't seem to work. The code is not reading them even if I have inputted a data on them:
<html>
<head>
<title>Admission Information Sheet</title>
<meta http-equiv="Content-Type" conte...
So, I wrote a small page:
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script>
function slide() {
$("#d").slideUp("slow");
document.getElementById("d").innerHTML=Math.random();
$("#d").slideDown("slow");
}
</script>
</head>
<b...
In CSS, I want all links to have a border-bottom: 1px solid property. However, if I have a linked image, it gets the border as well. How can I change the a property if and only if it contains an img element?
...
Just now, accidentally, i stumble upon http://www.benekdesign.com/ . Here on mouse wheel scroll it performs horizontal scroll. Truly speaking i didn't like this feature. It was a bit irritating. But still, Please tell me how to achieve the same.
Edited
Okay, firebug says he is using
/* Horizontal Tiny Scrolling - a smooth scrolling...
I have an "Ordered List" which contains about 100 "List Items". This ol makes my page very long and users have to scroll too much.
How can I get the UL to show like this:
1. 6. 11.
2. 7. 12.
3. 8. 13.
4. 9. 14.
5. 10. 15.
...
Here is the code.
I really dont why it is not submitting my information.
<?php
//Includes mass includes containing all the files needed to execute the full script
//Also shows homepage elements without customs
include ("includes/mass.php");
//Grabbing data form POST array and storing in variables plus the date
$username = ($_PO...
html:
<iframe scrolling="yes" src="svgfile.svg"></iframe>
svgfile.svg:
<svg width="2636pt" height="2478pt" viewBox="-1 -1 2635 2477" xmlns="...">
<g id="node1" class="node">....</g>
...
</svg>
This won't show the scrollbar in chrome/ie8...
This was OK in FF...
Other solution not using iframe can be acceptable.
Or ju...
I'm using an SVG object embedded in HTML using the tag. The SVG gets painted with a white background. How can I get rid of it and make the element transparent so that the HTML background shows through.
There is supposed to be a way to do this in IE with Adobe's SVG viewer using the wmode attribute. How do I do this in WebKit or Mozilla...
I have a text file like....
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
I want to convert it to CSV with the help of a little bit PHP, and I want to know also how it can be reversed...ie from CSV to an ordered, or un-ordered list.....kindly help me please :)
...
Hi,
I have a question on how I would go about to show an Ajaxloader .gif until a page is loaded. The trick for me is that;
The page currently is built so that the page loads one time, I have a tab system, so it loads everything, and then go between the divs. Because this site is made so that even users with low bandwidth can enter it, y...
Disclaimer: This is a personal project that I'm doing for fun. I'm not looking to use existing libraries since it would take some of the joy out of learning more about wheels.
That being said, I'm working on a web spider and I've come to the problem of how to represent HTML form elements with a single object.
What I want to do is have ...