Hello.
I have a Java program which prints to a HTML file. Another method reads in this file and prints it to the editor pane.
My problem is that the color orange doesn't work. My code is as follows:
print.println("<html><p><br><font color=\"orange\">");
When I pass this html file into the editor pane all the colors are right. Red, ye...
What is the best way to make a tables row a link? I currently am using jquery to zebra stripe the rows and also to highlight the onmouseover/off selected row so if js is the answer please use jquery.
...
Hi friends , is it possible to clear all textboxes in HTML by calling a javascript function ?
...
Hello!
Looking for some kind of documentation template. I want to markup my documentation in html and have a good looking style (stylesheet) for it. I don't looking for template in terms of how you write certain software documents.
<h3>Javascript function 1</h3>
<code class="javascript">code...</code>
<p class="tips">Something smart a...
I'm having a problem using the jQuery slide animations on elements that are inside a container with a fixed height. I have a page in my application on which there is a large, scrollable div, inside which are contained many smaller divs, each of which represents a 'message' in a user's inbox. Within each message div is a 'delete' button, ...
I am converting about 4000 text files that contain HTML into MySQL database entries. Seems like an easy way to do this would be to add a couple lines to the HTML to make them appear as XML files, then XSLT the XML into MySQL INSERT statements. (Building a CSV would also work, but less optimal IMHO). I've tried doing this but am having li...
I have a div with style="overflow: auto" with some text in it. That text has some anchors, which I have links left of the div (not within the div) and everytime I click to go to an anchor, th page goes to the bottom, like the anchor was in the bottom of the page.
Is there any way to prevent this from happening?
<a href='#id2'>Link</a>
...
I have a table with several groups of columns. The table is larger than my page, so I have a control to show/hide some of these groups to fit on the page. The initial table looks good: all columns are about the same width within a group. But when I hide a group, the columns are not the same width anymore, and it looks bad.
Example: http...
In any language, XSLT, PHP, Ruby, Perl, anything: how can I get the XPath or other path or identifier to the element containing the largest number of <p> tags?
...
I'm sending emails that have invoices attached as PDFs. I'm already - elsewhere in the application - creating the invoices in an .aspx page. I'd like to use Server.Execute to return the output HTML and generate a PDF from that. Otherwise, I'd have to use a reporting tool to "draw" the invoice on a PDF. That blows for lots of reasons,...
How can I add a border to an image using HTML?
...
This code surprised me yesterday and I'm curious about what was going on.
If I refer to a Div element that I know is on the page in a Form, even copy/pasting the exact name, using getElementsByName the following could would not find it.
var coll = document.getElementsByName("txtState"); //coll will be null
If I get all the Div tags o...
Can someone confirm that its not possible to change the height of a dropdown that is shown when you click on a select box.
The size attribute of the select makes it look like a list, the height attribute in the CSS doesnt do much good either.
...
I'm trying to figure out how to format the code below so that the first two blocks of info display side by side, then display the third one centered underneath it. I tried using a listing style with css to format it so but doesn't seem to really work for me. Help/Suggestions? Please and thank you :)
Inauguration
Friday, April 17, 2009
...
I know there is a hr (horizontal rule) in html, but I don't believe there is a vr (vertical rule). Am I wrong and if not, why isn't there a vertical rule?
...
I am new to CSS. I have a Top, Right, and Content div. I want it to look like this:
Top Right
Content
However, it is showing up like this:
Top Content Right
I know I need a clear somewhere, but I am not sure where because I am unclear on how clears actually work, so can someone please explain the html code below on where I w...
I have a script that allows the posting of news. I want to be able to create a 'save as draft' button next to the 'publish' button. How can I allow the 'save as draft' button to pass a value to the back end?
I just need a simple 1 or 0 depending on which button was pressed, I'm using php by the way.
...
I am using this menu on my web page
<select id="menu">
<option value="1"><h1>one</h1></option>
<option value="2"><h1>two</h1></option>
<option value="3"><h1>three</h1></option>
</select>
I would like to know why <h1>...</h1> is not working.
Thanks!!! in advance.
...
How can I scale a div to 100% height and width inside of another element? In my case a sourrounding td. Since I'm a plugin I can not control the other HTML on the page. Here is my HTML:
<body style="height:100%;">
<table width="600px" height="400px" border="1">
<tr>
<td style="background-color:silver;">Cell 1</td>
<td...
I am trying to apply better semantics and accessibility to my web pages.
I recently installed the Fangs add-on for Firefox to see what they look like in a screen reader. I am concerned with how all my sidebar and footer information appears crammed underneath my last content heading.
Problem #1
I would like to be able to break it up by...