html-element

Removing element from web page through firefox extension

I'm going to develop a firefox extension which adds a button beside the file input fields (the <input type="file"> tag) when a file is selected. The file overlay.js, which contains the extension's logic, manages the "file choose" event through this method: var xpitest = { ... onFileChosen: function(e) { var fileInput = ...

Multiline span-behaving elements

I want to display a list of complex, but fixed-size multiline elements, assuming that they will wrap the page line when line end is reached, making them appear by n in each row, when n depends on page width. Something like: Mary had Mary had Mary had a little a little a little LAMB LAMP WHISKEY Mary had a li...

Html object container

Hello, Does someone knows how can I change the container for my drop down box? I have 3 "TD" tags and I would like to move the drop down between them, using client side code. TY ...

absolutely positioned divs that don't move when page is scrolled...

I've done this in the past using a method similar to this: http://javascriptkit.com/javatutors/static3.shtml but I don't like the "flicker" effect as the page is scrolled and the div needs to move with the scrolling. Lately I've seen a lot of site that have an element (a div or the like I presume) that don't move when the page is scrol...

How to check if html elements are rendered in a single line in WebBrowser Component?

I am using the WebBrowser component to display a web page. I need to know weather a desired HtmlElement is rendered in a single line, .e.g a line that no other readable text resides in. I suspect that there is no method that will always work... HTML is to complex and there are a lot of IE versions. But there might be a good heuristic, th...

Finding html element onPreRender state of User Control

Hi all, I have a user control which has html elements like <input type="button".... and i want to set its display property on preRender state. Would you please explain, what kind things i have to handle this user control? So, in this function protected override void OnPreRender(EventArgs e) { } I have only EventArgs e and it doesn't ha...