html

Strange(?) Opera Floating

I have some strange floating behaviour on opera (IE f's up completely different, but that's for later). I'm floating the i-icons to the right. It works nicely on Fx and WebKit, but opera shifts the icons down a bit. Anyone got an idea how this happenes? CSS: .dataRow { margin: 5px 0; clear:right; } .dataRow label{ display: block;...

Different background-color for left and right half of div

Hi, I have a centered div layout. The left side of the div in the background should be white and the right side should be green. Both should extend to infinity. I think it should be quite simple but I just don't get it right now. Any easy solution? Thank you! ----------------------------------------------------- (div 1) __________...

Remove child not working

Hai I am doing a web page. In that there is a drop down contains some products, when we select an item it will display below with a remove button as dynamically. My problem is that al the products removed correctly but a product that has product id 5 is not removed? What's the problem? Below is my code <script type="text/javascript> fu...

Dynamic Website on static html

I am trying to create a script that will display the contents of a folder, onto a newsticker, and I was wondering if anyone had a script that could run this. I was thinking probably php, but it has no been working for me. Thanks for the help The software I am using is dreamweaver cs4 if ($handle = opendir('$dir_path')) { while (fal...

Creating helpfile in HTML

I am facing the fun task of creating a Help File for a large project. I have discarded CHM files due to the constraints and are now looking into HTML based files but I am still undecided on the format.... There are 3 areas I'm focusing on: Reusability of sections (many pages can refer to one text) Since some sections will be used more ...

Rounded Corner box using CSS with Nifty not Working, help me

Im trying to put a rounded rectangle using Nifty technique. But not working help me. My Code is Below st.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Content-Type" content="text/ht...

div with fixed position

I have a div with style position:fixed and i want it to scroll down the page, but i don't want the div to spill into the page footer. How could i accomplish this? thanks in advance, shawn ...

How can I use forms for pull-down navigation menus?

How can I use forms for pull-down navigation menus? ...

calling fancybox using jquery .click function

I am trying to customise fancybox so that when one of the 4 images displayed on the page is clicked, this is the one that loads up in the fancybox window. To do this I want to use the jquery .attr function to pass the image src (as a variable) to the main image holder. My current jquery code is: jQuery(document).ready(function($) ...

ul hidden by overlapping div

I have a navigation menu using nested ul's. When the top ul is hovered over it uses jquery's .slidedown to display the submenu ul. This part works fine. The problem I run into is when the submenu is displayed the lower portions (bottom li's) are overlapped by a div further down the doc and I am unable to click on those sub menu items. H...

passing GET parameters that look like URI directories

I've seen a lot of URIs that look something like this: www.fakesite.net/stories/1234/man_invents_fire and I was wondering if the /1234/man_invents_fire part of the URI are actually directories or if they are GET parameters (or something else). I've noticed that a lot of times the /man_invents_fire segment is unnecessary (can be remove...

HTML Divs, Columns, Horizontal Scroll Bar

Hi all, I'm trying to display several chunks of data in columns next to each other. I have set the container to display inline, which works great if the columns are relatively thin. As soon as a column exceeds the horizontal screen length, the other columns get appended to the bottom. My question is this: How can display inline c...

Free icons/images of numbers, say 1 through 100?

For prototyping apps, I'd like to have a set of images purely for prototyping. I thought something great would be to just have images of numbers 1 through 100, preferably in various sizes (say, small, medium, large). So then if they were named something like: 001small.jpg 009small.jpg 003medium.jpg 022large.jpg It would be really easy ...

Condense jQuery mouseOver and mouseOut

Imagine i have this HTML snippet 4 times over for four different sections of menu nav <ul class="navigation"> <li class="nav-Mens"><a href="#">Mens</a></li> <li class="nav-Womens"><a href="#">Womens</a></li> <li class="nav-Kids"><a href="#">Kids</a></li> <li class="nav-Gear"><a href="#">Gear</a></li> </ul> <div id="Gear"> <...

jQuery tooltip follow mouse

I've been using this script http://jqueryfordesigners.com/coda-popup-bubbles/ and trying to use this fix to position the bubble according to where the user's mouse is on the page: $([trigger.get(0), info.get(0)]).mouseover(function (e) { if (hideDelayTimer) clearTimeout(hideDelayTimer); if (beingShown || shown) { // don't trigg...

Writing Efficient CSS

Sorry if this is waaayyy to basic of a question to be asked here. But here goes... Ok so in another question something was being discussed, and this link was mentioned: https://developer.mozilla.org/en/Writing_Efficient_CSS In that article, they say some things I didn't know, but before I ask about them, I should ask this... Does that...

Best practices for creating a page that full-page zooms well?

I have a layout of fixed-pixel width (960px) with a navigation bar that has five items in it. The width of the nav div is set to 100%, but its content ends up taking exactly 960px. The navigation is a bit complicated with a set of drop-downs and links. The problem is that zooming the page out at all causes the navigation bar to get cli...

ie7 inserts line break after / before form tag

I'm sure someone has noticed this before but I can't seem to find a solution. In IE7 before and after form tags IE inserts line breaks. This is no good! Sample code below... Solutions? Ideas? <html> <body> <div id="pageContent" style="border:1px solid black; background-color:orange;"> <form> content bad <...

xul-Get selection html

Hello, I have the following function that is supposed to get HTMLs for the user selected area on the web page. This function does not seems to work properly. Sometime, it gets htmls which is not selected also. Can anyone please look into this function? -- Thanks a lot. //----------------------------Get Selected HTML-----------------...

How can I dynamically add input fields to a form?

I'm not much of a web programmer, but I'm creating a simple web app that has a form where the user can enter a series of points (x,y,z) but I don't know how many the user is going to enter. I don't want to guess the probable maximum (100 maybe?) and put 100 fields on the form because it would look ugly. What's the easiest way to add more...