I want to have a textarea which displays line numbers on the left. Wrap should be set to "off" (so that horizontal scrolling is available). I want to have my page as a single self-contained .html file (there will be no graphics), so I'd like to avoid any 3rd party frameworks.
Which way should I go? How would you do this?
...
This is what i am doing to add new Row in table:-
function expandAll(){
$('#myTableID>tbody>tr>td:nth-child(2)>div:nth-child(2)').each ( function() {
html = $(this).html();
// Is it possible to add this Row with animation
$(this).parent().parent().after( "<tr><td colspan='2'> </td><td colspan='15'>" + html + "</t...
When you input "google" into Google, you will see there is a + button
Show stock quote for GOOG
With firebug, you can see <div class="csb mbi">, what is the content of the class
csb mbi
I want to create such a button,and after clicking it, it will become a - button. How to do it?
...
I'm getting this error when trying to load a .NET app in visual studio... for some reason visual studio is having difficulty loading skmmenu which is a user control. Is this not part of visual studio? please help!
Could not load file or assembly 'skmMenu' or one of its dependencies. The system cannot find the file specified.
<%@ Regi...
Hi
Is a URL written in HTML like this invalid?
<a href="http://www.example.com/test.aspx?ID=34&amp;Type=5">link example</a>
or should the & part always be &?
...
As the question indicates, if I have some text that I want to add in the HTML then when should I use <p> and when should I use <span>?
...
I'm a newbie at VBA and html and I'm getting very confused.
I'm trying to set a string variable to equal several concatenated html strings and control values. I can't figure out what I'm doing wrong.
Here is my code:
htmlText = "<HTML><BODY bgcolor=#0b3767> <img height=""71"" width=""500"" alt=""Central Analysis Bureau, Inc. - Kno...
What are some good and simple IDEs for writing CSS/HTML code on the Mac?
I realize a similar question has been asked before (here, for example), but most answers are about Windows tools.
This list includes some CSS IDEs for Mac OS, but it would be good to know which ones are popular (and the list is probably not complete).
I'm looki...
I am trying to find an open source indexed help file for a site I am working on. I've been looking at documentation for RoboHelp and that comes really close to what I'm interested in using. Does anyone have any good information on some nice free tools to accomplish this?
I would like to be able to import a given file with comments and s...
I just finished reading YSlow recommendation to always define the image dimensions (height/width) to improve HTML rendering performance.
However, I don't know the image dimension I'm linking too.
What I do know is that the height will never be larger than 200px and the width will never be larger than 300px
Would I be a benefit if I de...
i have several inputfields with some defoult values. i have defined tabindexes to jump with tab-button from field to field. the problem is if i jump to a field the fieldtext become selected and if i start to type it will be replaced. i would like to set the cursor position et the end of the prefilled text. how can i do it
...
My form has an ajax handler provided by jquery.forms.js.
form.ajaxForm({
dataType: 'json',
clearForm: true,
success: function (data)
{
form.replaceWith(data);
}
});
I'm testing this using selenium (the python RC interface), and it works when I click() the button, but not when I submit the form:
locbase = "dom=docum...
Hi all,
Today i found this site, "3D Meninas", with a nice effect of 3D animation. When I look at the HTML code, it seems that there is no <script> or event, so I guess it only works with CSS. I'm not a CSS guru, can someone tell me how it works ?
Thanks
...
When does it make sense to use max-height or max-width on an image?
Does it help if I don't specify the actual dimensions of the image because I don't know it.
...
typically the code is something like:
<html>
<head>
<style type="text/css">
body { font-size:12pt; font-family: Arial;}
....
</style>
<script type="text/javascript" src="jquery.1.3.2js"></script>
<script type="text/javascript">
<!--
$(document).ready(function(){
...
});
...
Hi Guys,
Im tryin to get two divs on a page next to each other. The one on the left has to be 100px wide and the one on the right has to take up the remainder of the page, and I want the tect in that div to wrap in it.
I have tried
<div class="video">
<div class="left">
left stuff
</div>
<div class="right" >right s...
How much layout space does a web-browser allocate when initially rendering:
< img src="image.jpg" />
How much layout space does a web-browser allocate when initially rendering:
< img src="image.jpg" style="max-height:100px; max-width:200px" />
How much layout space does a web-browser allocate when initially rendering:
< img src="imag...
I am using this to adapt my text which then gets inserted into a mysql db:
$ad_text=nl2br(wordwrap($_POST['annonsera_text'], 60, "\n", true));
When users wish to change their posting, they click a link on my page, and a form opens.
In this form, the textarea where I fetch the info from mysql, I am displaying the text again.
Only probl...
I'm trying to make the following arrangement with lists:
1. a. TextA
b. TextB
c. TextC
2. Text2
a. TextA
Ideally I wouldn't have to make a seperate class or markup for the first case. The problem is that currently it looks like this:
1.
a. TextA
b. TextB
c. TextC
2. Text2
a. TextA
HTML code:
<ol>
<li>
...
Hi guys,
I have a nice design for a webpage and in the middle is a contentplaceholder. Now I want that, if the content is longer then the height in the div, it should be have his own scroll bars, like IFrames.
How to realize?
...