Whenever I create my own personal web pages, I've always had this problem with using divs to create a multi-column layout. I use the float attribute to align them to the left or right, but when I make the browser window skinnier, the columns re-adjust where one column falls below the other and other things mess up with alignment. I would...
(This is more of a curiousity question than any pending disaster :D )
So the <b> and <i> tags have been around since near the beginning of the web (I assume). But now we have CSS and many people apposing "stylistic html tags." They are stylistic tags, but they're really not so bad, as they save us from having to make a <span class="bold...
I notice that the iphone safari caches content so that your page load for later is much faster much like a desktop browser. So take mobile gmail web page for example, the first load is quite slow (5-10 secondS). But if I close the tab and reopen the page again, it's very quick (1 second).
However, this behavior is not the same if you lo...
I have a form with an input that contains the date in the form: 12:00:59 am, 25 December 2010
The most likely time I'd want to change this to is the current time.
Is it possible to have a button or link next to the input field that when clicked jquery would update the time to the current time.
(I'm already using jquery for something e...
Are there any special considerations trying to read up data from an HTML form where the element is an input type="Password"? When a ColdFusion page POSTs my handler with form data I am getting null for the password instead of the typed value.
Here is the key line from the larger block below:
string password = context.Request.Form["str...
I have an asp.net web page that has a TinyMCE box. Users can format text and send the HTML to be stored in a database.
On the server, I would like to take strip the html from the text so I can store only the text in a Full Text indexed column for searching.
It's a breeze to strip the html on the client using jQuery's text() function, ...
Is it possible to do this? I haven't been able to find anything in the documenation that says you CAN'T do it, but the following selector is not working for me:
Cufon.set('fontFamily', 'Museo');
Cufon.set('fontWeight', '300');
Cufon.replace('input.text, input.password, textarea');
Any ideas, or does Cufon simply not support this?
Th...
I have a the following html:
<label>blah</label>
<input type=text ... />
I want the label to be on one row, and below it the input box.
currently it is on the same line, do I have to use a clear?
...
I'm a little out of date, before HTML4 and javascript got AJAXy. Does anyone have opinions about the best tools for web site design? I'd rather avoid ASP and .NET, since I've got a limited budget. This seems like a good time to start fresh.
Please keep the replies on the coding recommendations, as I already know how to register a dom...
I need to find a PHP based HTML (as in WC3-Like) Validator that can look for invalid HTML or XHTML. I've searched Google a little, but was curious if anyone has used one they particularly liked.
I have the HTML in a string:
$html = "<html><head>.....</body></html>";
And I would like to be able to test the page, and have it return the...
Hi if I have frames setup on a page, is there a way to force all links in a child frame to open in a new window('blank') rather than 'self'?
I have no access to the page that I have in my frame, sometimes the links open new pages sometimes they just transfer to a totally new page. I want to keep some consistency by making all links ope...
This may sound like a stupid question, perhaps it is. But I'm only trying to make sure there's no secret information hiding from me.
Alright, so if I have the option of putting in extra effort to develop in plain html and hook up my back-end via ajax, do I go for it?
Meaning, I could use PHP/JSP to include files such as headers, footer...
Consider the following mark-up input:
* Line 1
* Line 2
:* Line 2.1
:* Line 2.2
* Line 3
This is typically coded as:
<ul>
<li>Line 1</li>
<li>Line 2</li>
<ul>
<li>Line 2.1</li>
<li>Line 2.2</li>
</ul>
<li>Line 3</li>
</ul>
My questions:
What would be a good representation for the same input u...
It is quite possible that I may not have got the point, but I really can't figure out how ASP.Net MVC's HTML Helpers can help me. Here's a sample: -
HTML:
<a href="ActionName" target="_blank">Click Me</a>
HTML Helper:
<%= Html.ActionLink("Click me", "ActionName", null, new {target="blank"}) %>
My eyes are reading HTML more easily,...
Okay, I feel totally stupid posting this. I am not sure if it is classified as a programming question, but its close enough. In my web application, one page uses relative links like this:
<img src='images/start.png' />
My other page is in exactly the same directory, but firebug says that the above code equals http://localhost/projectF...
I have the following HTML:
<div id="mydiv">
</div>
I would like to load content using jQuery so it appears after my DIV.
I've tried this:
$("#mydiv").load("/path/to/content.html");
However, this ends up with this result:
<div id="mydiv">
<p>content from file</p>
</div>
How do I get this result?
<div id="mydiv">
</div>
<p>conte...
What is the div in the <div> tag short for? Is it "division"? I've looked around Google and SO and haven't found an answer.
...
i wanna draw a login interface,so i have to draw the textfield to input and button to submit!
if i achieve it by using input and button tag,it will be easy!but i was required to draw them in the canvas using html5.0 . i have searched google for two days,i cannot find a good idea!
who has experience? help me!
thanks in advance!
...
There are 4 rows in a table to user to fill.
The first row MUST NOT be empty.
The others are optional.
How to create the look and feel to announce that?
Should be in pure html and css plus jQuery
...
Is it possible to send post-variables with javascript?
I want id to be sent with post, not get.
window.location.href="hanteraTaBortAnvandare.php?id=10";
...