html

IE6 Flickering Issue Using Superfish Menu with BgIFrame

Hi, Just wondering of anyone knows of any fix to stop the flickering of the superfish menu that expands out over an iframe using IE6 as I am unsure of how to fix or if there is in actual fact, a fix for it. When I have a vertical menu that extends out to the right with menu options over an iframe, the menu flickers on every menu branch...

Links in Visual Studio Comments?

When investigating effective methods of documenting our VB .NET project, by experimentation I discovered that I can make a comment like 'See the file at file://path_to_file and I can then ctrl-click on this link to bring up the file in a new tab. Is this feature and perhaps other capabilities of Visual Studio comments documented anyw...

space between text and underline

i am using text-decoration:underline; but text and underline are touching each other.can i increase space between text and underline? this one. i want to make space between text and underline. ...

CSS Issue: Hidden children stretching along Y-axis in IE with pure CSS?

I've been able to do this in Chrome and Firefox, and I thought I had it working in IE7 and IE8, but alas, I must've been dreaming. Basically I have the following HTML: <style> div,li,ul { margin: 0; padding: 0; border: 0; outline: 0; } ul,li { list-style: none; } div#container { display: inline-block; width: 600...

remove script tags jquery

Ok, I'm rephrasing this because it got buried. IMPORTANT I want to remove this Google Analytics block, using jQuery. <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type...

Complex HTML Form

I have a backend data model that looks like this: a person has a name and one or more pets a pet has a name and zero or more tags Now, I am building an html admin interface to input people into the database. I envision a page that has a form with a bunch of input fields that correspond to the person info or the pet info for that per...

xpath for link in html by using the label of the link?

HI lets say i have a link that can not be identified in my html page like so: <a href="/somthing/confirm_delete_somthing?&id=12">Delete this monitor</a> can we have a xpath repersenting the link using the Delete this monitor label? somthing like //a[@label="Delete this monitor"] thanks ...

CSS background image aligned to left bottom corner without forcing scrollbars

Hi, i have a simple website: fixed width, variable height, centered. I want a background image to align to the bottom left corner of the content like so: ---------------------------------------------------------- ____________________________ | <- 960px -> | | ...

How to remove extra <p> in WordPress?

I'm new to wordpress and currently developing a theme on it. I have noticed that Wordpress adds <p> tags all over the page. Do you know any plugin or a workaround to avoid this? ...

iPhone UIWebView - Calling loadHTMLString:baseURL: a second time doesn't do anything?

...

What is best solution to get cross browser layout like this (Without Javascript), drop shadow on left and right and flexible in Height?

I'm looking to do something like this: Needs to be light-weight and compatible with IE6. ...

Remove link in image inside <a> tag

If I insert an image inside an <a> tag, how could I avoid, using js if it was necessary, that when someone clicks on that image it doesn't follow the link. ...

Dynamically populating 3D array in JavaScript

I am trying to populate a dynamic 3 dimensional array so I don't have to type it all out var o = { matrix: (function(n) { for (var x = 0; x < n; x ++) { for (var y = 0; y < n; y++) { for (var z = 0; z < n; z++) { this[x][y][z] = -1; } } } }).call(Array, 5), ... } The message I get is...

Remote Javascript Execution in a Local HREF

I have been trying to locate an example of remote Javascript execution from a local HTML 'a' tag. This is not going to be a malicious execution. On my index page, I use Javascript to hide divs and bring a single div to the front - in order to have multiple pages on one (in a nutshell). I typically do this using the following example snip...

How should I validate HTML in Django templates during the development process?

I haven't used Django's and Python's built in testing capabilities yet, but I want to finally start... And one of the most obvious things that I'd like to keep in check during the entire development process is that all my pages validate in all possible scenarios. What's the best way to do this? ...

Convert HTML to PDF on ASP.NET (VB) ?

Hello, I have data stored in the database with HTML format, and I want to get the value of this html content with MyReader.getString() after getting the html code I must do the conversion to PDF Format. You have any idea on how can I do it ? !! ...

Attempting to access DOM nodes, getting wrong nodeValues and lengths.

I have the following HTML : <ul id="nav"> <li><a href="#">One</a></li> <li><a href="#">Two</a></li> <li><a href="#">Three</a></li> <li><a href="#">Four</a></li> </ul> On attempting to walk the element, 1 nav.childNodes.length is 9, What are the nine nodes? 2 nav.childNodes[0].nodeType is 3, but .nodeValue is empty. ...

How to detect a web dropdown menu is going to display off screen

I have a CSS based simple drop down menu with multi-levels. The second or third level might go outside the visible window, with certain combinations of resolution and window size. Some pre-built menu controls just open the dropdown to the left instead of the right, if they detect this situation. How can I test (with JS/jQuery) for this...

vertically align product prices across mutiple table cells

Sorry about the length here. I'm using oscommerce and have a page with all our product specials laid out in a 3 column table. I need to align the price of each product so that all the prices align across the screen with one another. Visually, this is what I would like: |-----------------------| | Image | Image | Image | | Title | Long ...

How to preserve the layout of textarea in the database?

I have a text area in html and a form to store the information in the database. When I click on submit, it supposed to take this text and save it in the database. For example: "This is a text and this is a list: 1. number 1 2. number 2" However, when I load the information from the database it looks like: "This is a text and this is ...