I've got a table on a webpage, with (say) 8 columns, and it's worked just fine until recently...
A user registered with an email address for a display name (not a huge issue, but the email is massive). Now, as one of the columns is a 'reported by' containing username, any pages with said user on them now have a massive 'reported by' col...
I have this code in a business class.
internal ListItemCollection GetAllAgents()
{
DataTable table = dao.GetAllAgents();
ListItemCollection list = new ListItemCollection();
foreach (DataRow row in table.Rows)
{
list.Add(new ListItem(row["agent_name"].ToString(), row["id"].ToString())...
Here is the structure of the HTML
<div class="submenu">
<ul>
<li></li>
<li></li>
</ul>
<ul>
<li></li>
<li></li>
</ul>
<ul>
<li></li>
<li></li>
</ul>
</div>
If there are three UL the the I want to add three-col class.
two UL then two-col
...
What's the best way to wrap multiple elements. I've tried several methods but without success.
This is the markup:
<div>
<h3>Civil aerospace </h3>
<p>Powering more than 30 civil aircraft types from small executive jets to the lartest airliners.</p>
<h4>£47.1bn</h4>
<p>Order book</p>
<h4>£4,481m</h4>
<p>Revenue</p>
</...
The base HTML element provides a base for relative URIs in the HTML. Must JavaScript and CSS also honor it for relative URIs issued in them e.g. JavaScript location.href = "mypage.htm" or CSS h4{ background-image: url(myimage.gif) }? Any browser.
...
Take this trivial example and open it:
<html>
<body style="background-image:url(http://upload.wikimedia.org/wikipedia/commons/2/21/Mandel_zoom_00_mandelbrot_set.jpg);background-repeat: no-repeat; background-position: top center;">
<div style="width: 8000px; border: 3px solid red;">Demo</div>
</body>
</html>
The page is...
in my aspx page i call a javascript function, from a div tag
that function generates some html which it returns.
this html suppose to show an icon , instead the html which is generated gets bind to div tag.
here's what i have done..
<div>{{ ifRecy(IsVal,Date)}}</div>
this is my function
function ifRecy(isRecy, Date) {
var ...
How can I do Image map for HTML document to assign different links in visual studio design mode?
...
This is weird: if i login to my application, ask firefox to save the username/password. Then log out and go back to the login screen, firefox fills in the password inside the username input field, thus rendering it visible!
Any idea what could cause the problem? Here is the html of my form, although i've checked it 10 zillion times.
<f...
I'm looking for a library or a collection of libraries that work together with the following requirements:
HAML and SASS can be used.
Have a small server capability to see HAML/SASS compiled every time I refresh my browser. (I don't want to start a fresh Rails app, though.)
Works with popular CSS frameworks. (Doesn't have to be all, bu...
I want to Use only the HTML Controls on my page. For that i want to use some text boxes and a HTML select(List box) and a Submit button for Post Event.
The Code is as follows:
<script type="text/javascript">
function dropdown(mySel) {
var myWin, myVal;
myVal = mySel.options[mySel.selectedIndex].value;
if (my...
I'm currently investigating whether it's possible to write a html/aspx page which contains an iframe which can read values entered in text boxes etc.
Some of the knowns are:
This will only need to work with IE 7/8
I have no control over the pages contained in the iframe
The pages in the iframe are from a different domain
I've tried ...
I want to check the user whether they have sign in or not, so I assign a hidden from field to store the session key, and I have a post method form to submit.
Can others/hackers, copy my session key from my field and send a post method to the server?? If yes, how can I do to avoid this?
...
Hi everybody.
I'm trying to display some text with html markup in GTK#. gtkhtml-sharp.dll is perfect for me but I need some functionality on Win32 platform too, any experience with gtkhtml on windows? I search the web but found only trouble with this.
I also try Mono.WebBrowser without success - some access violation occured (win) or cra...
Hi, I have two columns. People have to select elements from the first column and it will be added to the second column.
I can use innerHTML but I never know how many elements there are going to be. So when I click the link 'MOVE' I would have to know the ID of the element (in the example element1, element2 or element3). Does someone kno...
I have a table in html as follows
<table>
<tbody>
<tr>
<td>test content</td>
<td><input type="button" onClick="remove()"></td>
</tr>
....
...
</tbody>
</table>
now if the same pattern continues, i want to remove a row if a remove button is clicked on that row. how do i achieve the same with jQuery?
...
There are next initial conditions:
Backend: servlet for file uploading;
UI: form, that submits servlet for file upload:
<iframe id="uploadFrame" name="uploadFrame"></iframe>
<form enctype="multipart/form-data" method="post" target="uploadFrame"
action="<%= request.getContextPath() %>/uploadFile?
portletId=${portletId}&rem...
Here is an example of an html page that consists of a header and a footer and a div that contains another div which contains some content:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>Tes...
Is there any HTML to WikiText translator? I need to translate tables with hyperlinks and images inside.
...
Im making a XSL transform. The XML I'm transforming has a node which contains html.
<xml>
<text>
<p><b>Hello</b><em>There</em></p>
</text>
</xml>
Applying the transform:
<xsl:template match="text">
<div class="{name()} input">
<xsl:value-of select="."/>
</div>
</xsl:template>
I get the output:
<div...