html

is there any property exist in XHTML named "rowgroup" like "colgroup"?

There is no "rowgroup" listed on W3c Schools site. Does it exist or not? http://www.w3schools.com/TAGS/tag_colgroup.asp But here it is : <!ENTITY % Scope "(row|col|rowgroup|colgroup)"> http://www.w3.org/TR/html401/struct/tables.html#h-11.2.6 and here http://www.w3.org/TR/html401/struct/tables.html#rowgroups ...

Does the CSS block attribute affect HTML well-formedness?

An HTML <body> element can only contain block elements such as <p>. If I declare an inline element such as <span> to be display: block using CSS does that make the following HTML well-formed? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns="http://www.w3.org/19...

Remove tabstop from ButtonColumn inside DataGrid

Is there any way to disable keyboard tabStop for a ButtonColumn inside a dataGrid? I want the buttons there to be only enabled through mouse-clicks, because sometimes the grid can be large and I want that pressing "tabs" will skip the grid and move to the other controls on the page. ...

[CSS] padding style applying to <td /> doesn't work on IE7

It seems that padding style applying to <td /> doesn't work on IE7 in my computer, but is okay on FireFox3.5. Is this a correct behavior? Or I get wrong. Thanks. ...

remove element in javascript

In the below code how to remove the hyperlink after getting the innerHTML function test(obj) { var a=obj.innerHTML //remove obj element here } $p = $('<a id="name" onclick="var ele=test(this);">').html( "test" ); $('#questions').append( $p ); Thanks.. ...

How do I post long strings that contain special characters (like '&' specifically) via an AJAX request?

I'm looking to make a Contact/Query form, wherein the end user can send an email to the webmaster. The form has a 'textarea' field, which captures long strings from the user, if I use AJAX to submit the form using GET method, my params tend to break if their is a special character, specifically '&' in the textarea's string.. I'm stuck p...

Creating a horizontal fluid layout in css that works like a table

Basically what i am after is a fluid solution in css, that is similar to the table layout below.The principal behind this layout is 3x3 grid where by a user can add content into the first fluid area and it will expand the complete width of the page. But if that user decides that he wants content in the 2nd and 3rd area, all 3 td's fill u...

How do I get HTML Tidy to not put newline before closing tags?

HTML Tidy has this infuriating habit of putting a newline before the closing tag. For example: <p>Some text</p> becomes <p>Some text </p> How do I tell Tidy to keep the closing tag on the same line as the end of the content? Btw, I am running Tidy through Notepad++, if that makes any difference. ...

Remove preceeding tag

If there is a tag as <p id="name" onclick="javascript:var ele=context(this);">sumtext here</p><br> <p id="name" onclick="javascript:var ele=context(this);">newtext here</p><br> <script> function context(obj) { var b = document.getelementbyID("area"); b.removeChild(obj); ...

All available images under a domain

I'd like to make a gallery of all images i have under my domain (my internet root folder). All these images are in different folders. What's the best way to 'browse' through all the folders and return the images? ...

Hide arrow in standard dropdown?

Is there a a way to hid that arrow in a standard dropdown select fieldset? Fiddle link I have an autocomplete system where you fill in the organisation number of a company and it finds the info based on a database. I'd like to have the select box, but without the arrow.. I need it to do this as it's a double function form, either you...

jQuery drawing and modifying lines and positions

I want to allow people to select a feature region on an image using jQuery. This should work similarly to the Facebook tagger except once someone "tags" an area of the image an ellipse should appear with the ability for the user to rotate and scale it. How can I achieve this using jQuery? ...

Images not resolving in asp webapp (c#)

I've been working on an asp web application, which involves the user registering details of a person, including an image of the person. The file name of the details/image are stored in a SQL database with the image filename storied in an NVARCHAR column, rather than storing the actual image in the DB. I created a directory C:\Images to...

How to force div to appear below not next to another?

I would like to place my div below the list, but actually it is placed next to the list.The list is generated dynamically, so it doesn't have a fixed hight. I would like to have the map div on the right, and on the left (next to the map) the list placed on top and the second div below the list(but still on the right to the map) #map {...

Embedded Windows Media Player background image

Hi all, I'm loading an external video stream in my embedded player. Since it takes a little while to connect and preload you see a black background for +- 7 secs untill video plays . I would like to know if its possible to have a background image saying 'Stand by loading video' with my logo on it before the video starts to play. Only th...

How can I add HTML near the </body> tag within a Joomla Module?

I am quite new to using Joomla. I have created a custom module, however I would like to add some code near the </body> tag (or near the opening <body> tag) so it is guaranteed to be not nested in any tables whatsoever that might be in the template. I have located details on how to do this within a content plug-in, however I would like ...

Creating a border around an HTML panel with custom images

I'm looking for the best way to create a custom border around an HTML panel. I have a set of images for the sides, corners etc. I need a good way to place them and stretch the sides dynamically to match the panel size. If there is a jQuery plugin to do this I would prefer using it. UPDATE: My main target platform is IE7. So it has to wo...

how to open a page in another browser instance by clicking on a link

i have a link <a id="DownloadLink" href='controller/action' target="_blank">Download File</a> that has to open a image in another tab or page. but it offers me to download the file. my action looks like this public FileContentResult GetSurveyFile(int Id) { if (Id == 0) return null; Su...

Are there any thead limitations that make it not print on each page in Firefox?

I have a table that has a <thead>, a <tfoot> and a <tbody>. It is supposed to print the thead and tfoot on each page in theory, but for some reason the thead does not if it contains certain elements together. This works: <thead> <tr> <td colspan="3">This works</td> <tr> <tr> <th colspan="2">column 1</th> ...

Children inside <a href> trigger mouseout. How to prevent that?

I have this: <a href="javascript:void(0);"> <div> <span>some content</span> <span>some content</span> </div> </a> The problem is hovering the mouse over from one <span> to another triggers an instant mouseout and mouseover again even though they have no padding or margin between them. Even on the browser's status bar...