html

Good table practice - best way to do headers in a table?

I basically have a table of data and I want to set the spacing so it's not all cramped together. However I want the title bar of the table (first row) to ignore the cell padding rules. Is there a good way to do this? Or do I have to create a seperate table or something for the header? ...

Many requests to one picture file which is referenced from CSS

Hi, I have created CSS-sprite file for reducing number of requests to the server. But when the page is loaded, I can see in Firebug many GET requests to the same picture file (accoring to number of CSS rules applied with that picture). Probably, from that bunch of requests only one is real and the rest are taken from browser's cache, ...

asp.net multiple server side forms on a page

Hi I have the need to have 2 html forms on one page. One for login details, and one for feedback. Both forms cannot have runat="server" attrib. Any suggestions? ...

HTML editor control for use in MS Access forms

Can you suggest a free/bundled HTML editor control for use in MS Access forms? Basically I need to bind a control with a VARCHAR field that allows basic HTML input, formatting and preview functionality -- a WYSIWYG editor. ...

how to match this type of construction?

im doing parsing and the kind of text that i want to match and then make it null is as follows :- <tr class="label-BGC"><td colspan="4">any kind of text here</td></tr> i want to match every line that contains "<tr class="label-BGC"><td colspan="4">any text</td></tr>" its evening here and my brain-battery is totally down what im try...

Django form practices

Can I simulate form like behaviour when a user clicks on a simple link? For example, can I have in views.py def remove(request, entity_id): #remove the object with entity_id here And in the HTML <a href="profile/remove/{{ obj.entity_id }}"> And in the urls.py (r'^app/profile/remove/(?P<entity_id>\d+)', 'app.views.remove') O...

Align a HTML table Cell to a column

I would like to align a table cell to a column where it belongs: _________________________________________ | | First Place | Second Place | | | | | _________________________________________ | 09:00 | | Break fast | | | | 09:10 : 09:50 | _______________...

How to remove get param on form submit?

Can you advice me how to remove get parameter (input text) without removing the value of the input or disabling it? Is this possible at all? ...

3 level ul li ul li liststyle css problem

Hey guys, i'am not going into this i've an unordered list but i don't get the style working. hope you can help me! My html code: <ul id="sitemap-list"> <li><a href="#" onclick="">LEV0</a> <ul> <li><a href="#" onclick="">LEV11</a></li> <li><a href="#" onclick="">LEV1</a></li> </ul> </li>...

How to get a non-techie coworker to be able to hand you content and documents in HTML?

I'm working on a public-facing web-based product which has a series of help files. The coworkers whose job it is to make those help files are fluent in Microsoft Word. They're not fluent in HTML. Their workstations do not include Visual Studio. So what it looks like is going to happen is they will author the help file contents in Micr...

How are cells of a table impacted by declaring an event in a col element?

When an event, such as onclick, is declared in a col element for an HTML table does that event impact the cells referenced by the col element? Is the event ignored? Does something else happen? ...

html category / sub-category best view

Hi, I have a mysql database populated with categories/subcategories, and I'm on the way to build a php/html/css presentation module to show the hierarchy above mentioned. My objective is to have a simple and clean way to list those categories, widthout getting to confuse to the client (note that there's no "level" limit to the subcateg...

Specifity and class selector (cascade)

Hello Suppose we want to find out what will be the color property of particular <h2> element. 1) When trying to figure out how specific a selector is, one of the rules says that selector with greater number of classes is more specific than selector with fewer classes. Thus, in the following example the color of particular <h2> sh...

Image Map: Click to echo/print text on screen

Is it possible to click a portion of an image map and print out some text, be it the alt or title value of that <area> tag somewhere on the page? Could I do this through jQuery? I've looked and I'm struggling to do so (very rusty with jQuery, and a novice on top of it). I've played with a bit of code but all I manage to get is static d...

Determining font and size for text from HTML

I need to determine what font and size will be used for each HTML element. They may be set in various css, div, span, or on the element itself. If I were to do this manually I would start by looking at the element and work backwards until I came to span, div, or css that had a font and/or size. That is the value I want. The browser can ...

Jquery Noobish Help: Img OnClick

Hi everyone! I'm very new to JQuery, and I'm having some trouble understanding how to do this: I have an image of class "imgexpander" with the src attribute set to "img1.png". When the image is clicked on, it should look to see whether a div with class "expand" is currently hidden or visible. If it's hidden (which is the default), it...

URL to a particular section/page in a Word Document

How do I give url links to particular sections of a word document through HTML hosted on a server root folder? ...

How to read the post request parameters using javascript

Hi , I am trying to read the post request parameters from my html.I can read the get request parameters using the following code in javascript. $wnd.location.search But it does not work for post request.Can anyone tell me how to read the post request parameter values in my html using javascript. Thanks. ...

Sending an invite email with an HTML form and a PHP script

Hello, After a user adds 5 emails and their name to form below, and then hits the "send" button, I would like to send a message such as "Hello, your friend 'sendername' recommends that you use thissite.com. Please visit the site." I would also like to specify the from address that this email has on it. What PHP script could do this? ...

Appending to a HTML log file in PHP

I am trying to append to a log file, using HTML tables format for each incident. However, there is one difficulty which I am not sure how to solve. Here's a static output of the HTML <table> <tr><td> .... </td> </tr> <!-- new log entry should enter here --> </table> </html> The question is how I can quickly insert log entries...