html

text does not move to next line for WMD

I am using WMD for my textarea form and for some reason the text inside the preview box does not wrap once the text inside the text area continues to the next line. <div class='wmd-preview'> </div> Does anyone have a solution to this? the wmd that i am talking about is the one that is used by stackoverflow http://wmd-editor.com/ ...

Server Redirect from example.html to script.php?url=example

I have a really convoluted website that I need to work on. I was thinking on creating a single "home" php file that includes the main stuff (menu, sidenav, head, etc) and inserting the content for every page. I already have the content from all the pages separated so I have a duplicate of the site where all the html files have only the i...

Containing very long text inside div.

Okay so I have problem containing text inside div. When it's broken down with spaces, it will move to the next line but if there is 1 very long line of text, it won't move to the next line. Can someone help me with the css for this? ...

HTML 4 vs HTML 5

I have been reading a lot about HTML 5 and some of the changes that it offers. It seems though that for most of my needs (LOB apps) it really wouldn't have that big of impact. But recently I had a designer friend of mine tell me that I need to start building everything in HTML 5 because that is what everyone is wanting now. Can someone ...

programmatically determining if someone owns a website?

I need to figure out the best way to determine if someone is the actual owner of a website. I don't just mean the domain although in a lot of cases that might be the case. My first inclination was to have them put a special comment in their HTML that my program can scrape. e.g.: <!-- @webcode:1234 --> One possible problem with that...

benefits of tableless design of web pages?

Possible Duplicate: Why not use tables for layout in HTML? These days, I am reading a lot that we should write tableless HTML. I believe that requires a lot of CSS knowledge. My questions are: What are the benefits of tableless design? What are the conditions when tables should be used? How to begin? ...

HTML <strong> tag

Is using more than one <strong> tag actually make the word stronger? i.e. is <strong><strong>abc</strong></strong> stronger than <strong>abc</strong> ? I'm asking this because if you view the HTML source of the official website of North Korea, http://www.korea-dpr.com/ you will see it has many strong tags. Is this supposed ...

what input field type forces the number pad mobile keyboard to come up when focused?

I tried the <input type="number" /> but on opera that outputs a strage input box coupled with a "up and down" handler, what i expected was a regular text field that once you focus on it prompts the number keyboard instead of the alphabets, is that even possible? PS im not trying to validate, it would be a nice user experience thats all ...

How to prevent checkAll selection for future dates?

We have a list of days at the top of the table header and we want to disable the Check All capability if the selected day is greater than the current day (e.g. today is 30th, but the select 31st). We will allow checkAll to work for any date less than the current date. How do we achieve this? <script type="text/javascript"> j...

Using jQuery to create HTML is not working

I'm trying to implement Paulo's answer from: http://stackoverflow.com/questions/758906/how-would-i-implement-stackoverflows-hovering-dialogs. However, my variable "err" keeps evaluating to "NULL". The problem is with the line .css('left', element.position.left); When I include it, err = NULL. When I take it out, err = an object with t...

Weird input buttons inside labels onClick handler behavior

<!DOCTYPE HTML PUBLIC "-//WC3/DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html> <body> <label>A label <input type="button" value="First" onClick="alert('First');" /> <input type="button" value="Second" onClick="alert('Second');" /> </label> </body> </html> Tried this code in Firefox 3.6.8. When I...

How dynamic funnel?

The kind of language, in both IE and firebox compatible. ...

Word-wrap in a html table in mozilla

Hi i have a HTML code its working fine in IE but its not working in Mozilla please see code below <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>New Document</TITLE> </HEAD> <BODY> <TABLE BGCOLOR="#B6EBFF" BORDER="3"> <TR> <TD ALIGN="CENTER" STYLE="WORD-BREAK: BREAK-ALL;"> thisisthetextabcdef...

scrape the data from html page php

hello I need to scrape the data from an html page <div style="margin-top: 0px; padding-right: 5px;" class="lftFlt1"> <a href="" onclick="setList1(157204);return false;" class="contentSubHead" title="USA USA">USA USA</a> <div style="display: inline; margin-right: 10px;"><a href="" onclick="rate('157204');return false;"><img src...

IE float no padding bug

Hi guys, I am trying to create a HTML form, and I am floating the labels left, and the inputs right, now in FF it works fine and in IE8 as well, but when I go over to IE7, the line breaks seem to dissapear completely, I have NO space in between my elements, what could it be? How can I fix it? <p> <span...

css problem with divs

Hello, I have some div. I need in two children there. The first should be at static position and under second. Orange rectangle should be positioned to the parent div and has static position (for example, top: 20px;). The second child (red rectangle) should be over all another divs. I tried to make orange div absolute and use z-index...

jstree: constraint width

Hi, I have a jstree with several subtrees on a page and would like to display something upon selection of a branch. The displayed text should appear next to the tree, but for some reason, jstree is taking up all the space in the div, so the text div is placed underneath. The tree and div should both positioned relative to the encapsulat...

How do we format the cell size to be constant

We are showing the list of topics as at the top of the table, because of varying widths the column width gets either bigger or smaller. We would like to keep this to a constant size and probably add dot suffixes at the end to keep it constant. How do we do this dynamically. e.g. topic names could be Mathematics, Science, English, Histo...

HTML Form - Firing the form submit using the enter key does not work when focus is on a select list

Hi, I'm stuck on the above problem. I have a simple form as follows, with a text input, a select list and a submit button. When focus is on the text input and I hit Enter, the form submits. If focus is on the select list the submit does not fire. I want the form to submit regardless of which field has focus. <html> <head runat="server"...

CSS float bug with side pane resizing main content

Hi! We're having a problem with a side pane that is floated to the right. This pane somehow resizes the first div in the main content, so the div is stretched to the same height as the pane, see illustration below. The main div has the following css margin: 10px 280px 0 10px; padding-right: 50px; The side pane has the following css ...