Hello everyone,
Suppose I have the following line of code in html, how to set the text color and size inside "MonitorInformation" DIV element in a programming way using Javascript in an easy way? Sorry for my stupid, I figured a long time but cannot figure out. :-(
<div id="MonitorInformation">Connecting...wait</div>
thanks in advanc...
I have a JSP MySQL query
<sql:query var="libraries" dataSource="jdbc/ArabiTagOnline"><br>
SELECT l.LibraryId, v1.LAvalue AS "dbESTid", v2.LAValue AS "LibName", v3.LAValue AS "Desc"
FROM ((Library l LEFT JOIN LibAttrValue v1 ON l.LibraryId = v1.LibraryId AND v1.AttributeId = 1)
LEFT JOIN LibAttrValue v2 ON l.LibraryId = ...
In my application am using transparent div like a show modal dialog.Its working fine in firefox but not working well in internet explorer.
What is the solution to work similar in both
Thanks
...
I was just recently asked to add a print stylesheet to a site I've coded out and am baffled as to why Firefox is mangling the output. A print preview of the following page reveals what I'm referring to:
http://webreviewportal.com/ethicalmovers/newsite/aaem-customer-testimonials.php
When you try to print that page in Firefox, you get t...
I have a (html)table (sample layout below) that I'd like to hide the last two columns under certain conditions, using the C# codebehind. I'd prefer not to do this by shrinking the width of the columns to 0, though I'm not ruling it out. There aren't any CSS classes really supplied to most of the rows and none of the columns. I've tried u...
I have a form:
<form>
<div id=content> form content (fields, etc) </div>
<div id=buttons>
<table>
<tr>
<td>submit button</td>
<td>cancel button</td>
</tr>
</table>
</div>
</form>
When I display error messages, the content div gets a bit bigger in height to fit in the error messages.
The weird thing is, in IE...
I am looking to do what the title says. As I am new to client side programming with java script all to together I do not know the "right" and "proper" way of achieveing what I need done.
I wish to use a simple javascript function
var x;
var items = {};
for (x = 0, x < 7; x++) {
items[x] = new num;
}
$("li").addclass("items" + n...
<p class="acp3">
<label>Status</label>
<select>
<% if <option>Active</option> %>
<%= account["status"] == "Active" %>
<% elsif <option>Disabled</option> %>
<%= account["status"] == "Disabled" %>
<% end %>
</select>
</p>
I am creating a selector with the html and I want to be able to have it access that variable...
I have a DIV with two update panels inside of them. The update panels render as divs but asp.net does not let me assign a class to a div. I can do this using jQuery by assigning css to the first child, then assigning different css to the 2nd or las child. Can I do this purely with css? Something similiar to this.
.outerdiv div
{
widt...
I have the list as below:
<div class="ListStyle">
<ul>
<li>List1
<ul>
<li>ChildList1</li>
<li>ChildList2</li>
</ul>
</li>
<li>List2
<ul>
<li>ChildList1</li>
</ul>
</li>
</ul>
</div
i wanna display in this format: (Parent li in o...
I'm trying to build an HTML email using DIVs instead of tables, and I'm quite new to CSS.
What I'm trying to achieve would look something like:
******************* XXXXXXXXXXXX XXXXXXXXXXX
* image here * XXXXXXXXXXXX XXXXXXXXXXX
******************* XXXXXXXXXXXX XXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...
I have a client who has a static site with several HTML indexes of MS Word and .xls files they wish to distribute on CD Rom (i.e., no web server). They would like to make this content searchable (both the HTML and the linked DOC and XLS files). I'm tempted to just make a PDF out of this whole thing, but it seems like a blunt tool.
Can a...
I have an anchor that doesn't go anywhere but has an onclick (e.g. <a onclick="..."></a>). My question pertains to the href attribute. What should I put for the value?
If I simply omit href, the anchor doesn't have the appropriate decoration--the mouse pointer icon doesn't change when the mouse is put over it.
If I use href="#", then t...
Hey everyone,
I have CSS and HTML that I will be converting into PDF. I want to specify a header on each page that, in the PDF, will repeat on each new page.
I know that I can use THEAD to specify the header, however, is there a free html-to-pdf converter that will respect the THEAD tag?
If not, are there any alternatives?
Thanks...
...
See title. Using either javascript or pure HTML.
...
Hi all,
What is the best way to control the web controls position in ASP.NET page?
Back in the early days in pure HTML I use to do it with Table.
Is this still the best way?
Thank you in advance,
Roy.
...
Does anyone know of any good resources for learning about cross-browser development in ASP.NET? Specifically, what causes a page to look different in FF/Chrome/IE, what are the gotchas when developing, how can this issue be addressed in a new project etc.
...
I'm implementing various PHP & ASP.NET web apps for a client.
I'd like to install a very low overhead user tracking system. (It has to be on the intranet, this is an internal system only).
I'd like to do something like the following:
line 1 normal code
line 2 normal code
line 3 Send Request/Query/Info to http://internal-IP/userTra...
I have a select form field that I want to mark as "readonly", as in the user cannot modify the value, but the value is still submitted with the form. Using the disabled attribute prevents the user from changing the value, but does not submit the value with the form.
The readonly attribute is only available for input and textarea fields...
Hi,
i'm running into problems using DIV's to style a contentbox for my website. It basically looks like this:
container
+--------------------------+
|+--+------------------+--+|
||c1| r1 |c2||
|+--+------------------+--+|
|| | | ||
|| | | ||
||r4| content |r2||
|| ...