Below is my HTML and CSS. I want to use javascript to determine when one of the LIs is overflown. I then want to put that item into a popup menu, similar to Win32 toolbars. I need to know when an LI is overflown and which LIs are overflow.
I'm fine if this only works in modern browsers and I don't want to use a framework like JQuery.
<...
I have two <select> elements. The first one contains countries (e.g. USA, Canada, England, Russia, Poland...) and the second one is hidden, containing cities from only USA and Canada (e.g. New York, Los Angeles, Chicago... OR Ottawa, Vancouver, Surrey...)
If the user selects Canada or USA from the first <select>, the second should show ...
Hi,
I am looking for a solution just to show in a html page the name of each song when played from a mp3 player.
I just have a .txt file outputted from a software that fetches in real time each song artist and name from the mp3 tag, when a new song is being played, with this format inside (the .txt file is also autoupdated each time, l...
Possible Duplicates:
How to get string from HTML with regex?
RegEx match open tags except XHTML self-contained tags
Hey there.
So i have some HTML code that i need to parse. I was wondering what the regex would look like to do this?
Basically the HTML is a large HTML document.
The structure looks something like this.
//Ra...
I have a html table with css. Currently all the cells have a white border around them, I am having trouble removing the column borders for each cell so the rows are divided by a white line. A similar table to what i'm trying to achive can be seen at http://www.smashingmagazine.com/2008/08/13/top-10-css-table-designs/, look at example 3 (...
I have an image in my page and I don't want it to pick up mouse clicks (as in the browsers inherent drag and drop or the drag select where it highlights the image in the browser.)
Is there something I can do to the img or its parent dom element or the page to make the browser not do anything when I click on the image? I need to use the ...
Possible Duplicate:
Programmatically access currency exchange rates
Hi .
I need a help again.
The deal is that i want to load a postbank.bg homepage, then just catch the HTML table where the exchange rate is , and to get the rates in an undertandable array which i can then process...
Any ideas , which is the easyest way ...
Frequently I am aligning text such as:
To: 07/02/2010
From: 07/02/2010
Id like it to be displayed like this:
To: 07/02/2010
From: 07/02/2010
So what is the quickest/easiest/best way to do this? CSS? using a few nbsp (would work if its mono spacing) or using tables. Normally if I am not in a anti-hating table mood, ill use tables....
Hi, i have the following web page layout.. What im failing to understand is why the content div is displaying outside of its parent wrapper div on the right hand side..
Code as follows and thanks for any help..
@charset "utf-8"; /* CSS Document */
* { margin: 0; padding: 0; }
html, body { height: 100%; }
body { padding-top...
I have several domains that point to the same site, some of them ending in ".br" (domain for Brazil, thus for portuguese speakers)
I want to detect from what domain the person came (.br or not) and load the correct landuage...
I can use PHP, JavaScript or standard HTML/CSS etc... How I do it? (and with what?)
...
I have a website that allows users to highlight parts of a HTML document. Assume the document never changes. What are some ways to store user highlights? I thought about storing the beginning and ending character position, but it might not work with multiple user with overlapping highlights.
...
Hi guys..
Very easy question. I have been using CSS for a while but rarely use + sigh for my code. Could any one explain what the best time is to use it? I couldn't find anything from Google...Thanks a millions...
...
I just found a page of web developer interview questions, and I'm not sure what the answers are for two of them. For Q1, I pick answer e. For Q2, I pick answer b, but I'm not sure if there are better ways to do it.
Which markup structure is most semantic for a title within a document body, considering that the title may be horizontally...
Hi,
Is it possible to use a fixed width div and an expanding div? Something like:
<div style="float:left; width:200px">
</div>
<div style="float:left; width:100%"> // expand please
</div>
<div style="position:fixed; width:320px">
</div>
I'd like the middle div to just expand in width and take up whatever is left after position the ...
Let say you are working on a website template that has many pages (index.html, blog.html, contact.html...). You start by designing the home page and then move on to other pages. While you are on other pages, you think of some improvements and these improvements must affect the whole website.
So I return to each page and make the change....
I'm wondering, what would be the best way of leaving code writers (programmers) information/initials/(maybe even) copyright... well, some information about web developer, not content maintainer inside HTML.
Is leaving a link to my site inside footer a good way, or I there maybe can used <meta> tags for something like that?
Thanks in ad...
For those of you who i18n, do you i18n the alt attribute on your img tags? Is it really worth it?
...
Hi there,
Backstory:
I've been building a back-end CMS/database for a client to manage his bar's ever changing drink menu, however the CMS/database will no be ready for use for a while, and thus I also need a temporary solution to help update the website's menu.
Situation:
The client prints the bar's menus daily from a formated Excel...
I'm getting a very strange behaviour in one of my JSP pages. It looks like it doesn't render the complete HTML. It looks like this:
<html>
...
<table>
...
</table>
<div id=
So the last line is exactly what you get when the page is rendered. Furthermore, when you do a view source you get exactly the same. This page doesn...
Hi,
Is there a way to instruct a div to fill 100% of the available page height, until it gets enough content to require a scrollbar?:
// browser height: 600px:
<div>
// empty, so just be 600px tall.
</div>
....
// when it gets content and gets taller than
// the page, don't need to auto-height itself
// anymore.
<div>
<ul>
...