I need to transform some HTML text that has nested tags to decorate 'matches' with a css attribute to highlight it (like firefox search).
I can't just do a simple replace (think if user searched for "img" for example), so I'm trying to just do the replace within the body text (not on tag attributes).
I have a pretty straightforward HTML...
Consider a page with a form that is visited via https. If the form action has a relative URL to the form page, is the https protocol retained?
Ex: you visit:
https://example.com/cart.html
which contains the form tag:
<form name="form1" method="post" action="SubmitOrder.aspx" id="form1">
Is the form submitted via https or http?
...
There is a common feature of modern browsers where a user can select some text and drag it to an input field. Within the same field it causes moving of text, between different fields it does copying.
How do I disable that? If there is no portable way, I am mostly interested in firefox. This is an intranet webapp, so I am also interested ...
Hi.
Is there any simple way to add a image border around an image?
Reason is I want to create a drop-shadow effect around the image.
The images are loaded as thumbnails and are 110x75 px... Im thinking about creating a shadow border, but dont know how to add this to around the image, anybody know a way?
PHP preferrably...
...
I have content in an iframe, and when I scroll the main page (outside of the iframe), I get weird artifacts inside of the iframe, from the select and flash controls, in IE6.
How it should look (and does look in IE6 before scrolling the outer page):
How it looks after scrolling the outer page in IE6:
It works fine in other browsers...
I have a Java servlet container using the Spring Framework. Pages are generated from JSPs using Spring to wire everything up. The resulting HTML sent to the user isn't as, well, tidy as I'd like. I'd like to send the HTML to Tidy right before it's sent to the client browser.
I'll set it up to work in development and be turned off in ...
I teach a course in basic web programming at a public university. I often have students who are working hard to pick up English at the same time that they are taking my course. In many cases I have thought that I would like to have additional course materials in a variety of languages to keep some of the technical hurdles from being comp...
We have a HTML screen that is formed by including the two sections below:
Footer - A bar with icons that includes an Update button. The update button has the onmousedown event associated with it. When the Update button is clicked the data present in the Body is saved in the database.
Body - HTML form with 2 input fields. Each of thes...
I am making a table of data that needs to printed out. I want the header to be at the top of each page. SO I am thinking the best way to do this is to repeat the header maybe every 30 columns or so, and break it into sections. But theres still no way to ensure that each section gets printed on its own page that I know of. Does anyone kno...
I need to upload the canvas image data to the server (database) on the fly, i.e., I need to create a form and with an input=file, and post the image data without any user interaction.
...
I want to know how gmail chat allows the user to connect to AIM and then chat as if he were logged on to AIM.
Is this easy to make?
How can it be done?
Does anybody know of any similar open source tools?
Thanks!
...
I'm creating an HTML/CSS site and I have the font size adjusted the way I want it when I look at the site on Firefox in Windows (which is what I'm developing on). But when I look at the site in OS X (either Safari or FF), the font size is too big. Not massively bigger, but bigger than my client wants. But if I reduce the font any more, i...
<asp:TextBox id="txtComment" runat="server" Columns="50" MaxLength="50" />
<asp:TextBox id="txtComment2" runat="server" Columns="50" MaxLength="50" />
I have the two textboxes above on a web form. How can I mash them together and make them appear as one text box?
...
The image of the card on my site (bottom right) displays differently in Chrome and Firefox. In Chrome, its ratio is preserved, but the ratio is twisted in Firefox.
How can I apply a constant resize of the image itself, cross-browsers (basically do what now happens for Chrome)
...
I have a component that creates a set of text like this in the innerHTML:
fourty two<br><br><input value="Select" type="button">
upon setting the innerHTML, the browser will sometimes parse this text, producing:
fourty two<br><br><input type="button" value="Select">
This behavior seems browser dependent, because I can get my tests...
I am creating a horizontal menu, can't figure out how to alignall the menu options to the bottom of a container. Provided is an example to demonstrate what I'm trying to do, but the CSS code does not work as needed. Can you provide suggestions to get all the menu tabs to sit on the bottom?
<style>
.example1 {
position: relative;
...
This is probably very simple, but could somebody tell me how to get the cursor blinking on a text box on page load?
...
What datatype is the best to store html content and documents like pdf's, excel files, and word documents. I am currently using ntext, but I am not sure if this is the best datatype to store html content.
Also, I currently use FCKEditor to save html content to an ntext field and it stores the markup along with the styles. If I happen ...
I have an input of type text, from which I have already entered value 1234
it has been saved in cache as shown below.
The problem here is that, it is extremely frustrating to select the textbox in the next row.
Is there a way to not to display that 12334 (highlighted in the screenshot) from ever being displayed through HTML markup o...
I'm developing a Cocoa/Obj-C application that involves a WebView (from the WebKit framework). I've noticed that this WebView presents a slightly scaled-down version of the rendered webpage. An example screenshot:
In a browser (Safari or Firefox):
In my WebView:
These happen to be local HTML/CSS files generated by the program, but ...