html

How to pull the filenames from an .htm file using PowerShell's select-string?

I am trying to search through the .htm files for our intranet to find out which network files are being linked to on which pages of the site. What I would like to do is have PowerShell go through each .htm and return any string that begins with "file:///" and ends with a double quote. For instance: <td colspan="3"><a href="file:///X:/...

jquery how do i execute this code and make it display in a div

what i an trying to do is use jquery and a ul menu and on click it loads section divs from an external file and displays them in a content div and in thos section div i need this code to display it's results <script type='text/javascript'> imvu_avatar_name = "TheDarkRaver"; imvu_panel_name = "rankings_panel"; imvu_section_name = "mp_ri...

JQuery: Having trouble properly displaying table

Hello! Recently I've been working on a web application that is using JQuery to parse the JSON and display it in the HTML view. I cannot figure out why the table the following code outputs ends the tag immediately after the first .append method. $("document").ready(function() { $.getJSON("http://localhost:1909/encoders", function(d...

CSS: Could not override inherited text-decoration property

I'm going to use such CSS table for my menu: .menu {text-decoration:underline;} .menu a:link {text-decoration:none; color:#0202C0} .menu a:active {text-decoration:none; color:#0202C0} .menu a:visited {text-decoration:none; color:#0202C0} .menu a:hover {text-decoration:underline; color:#0099FF} but while trying to apply it to the docu...

I've seen many CSS compatibility list for browsers, Is there any list for X/HTML tag? or all browsers supports all tags?

I've seen many CSS compatibility list for browsers, Is there any list for X/HTML tag? or all browsers supports all tags? Is there any list for all major browser's supported HTML, XHTML and HTML 5 supported TAGS? ...

jQuery/JS, removing/trimming trailing html line breaks?

I'm looking for some ideas for the most efficient way to remove trailing html <br/> tags using javascript or jquery. RULES: The br, at the front and end must be removed. It must remove non-closing and self-closing br tags. All br within the textual content must remain untouched. THE HTML: <div class="generatedContent...

Not Another Parse-HTML-With-Regex Question

Hello, I've read a few questions on here re parsing HTML with regex, and I understand that this is, on the whole, a terrible idea. Having said this, I have a very specific problem that I think Regex might be the answer to. I've been fumbling around trying to work out the answer but I'm new (today) to Regex, and I was hoping some kind ...

How to best vertically center an image and some text inside a div

I come up against this challenge frequently -- and when trying to solve I always wonder if I'm doing it wrong. In a 'div', I want to position an image to the left -- and some corresponding text to the right -- I'd like them to appear vertically centered. What's the best way to do this? Currently my xhtml looks like this: <div class="...

CSS issues that I dont understand

Take a look at http://keramed.com in IE and FireFox. In FireFox, it looks how I would expect, in IE, the main block is much further down and I dont see it. Here is the CSS for this: div#BoxHouse { margin-left: 0px; /* 72 */ margin-right: 25px; } div.FloatingBox { text-align: center; float: left; width: 205px; border: 1p...

Hyperlink to specific page in MS Word document

Is it possible to link to a specific page in an MS Word document via a hyperlink in a webpage? The best information I have been able to find is this article from Microsoft Support, but it only outlines how to link to a bookmark within a MS Word document rather than a page. I am hoping that there is a method similar to linking to a page...

eBooks available covering Delphi, Sql, Asp, C#, Html, Css ?

I am considering buying an ebook reader (from Sony if you want to know). Do you know of any sites where you can (legally preferable) download/buy ebooks covering Delphi, Sql, Asp, C#, Html, Css , ... ? It would be nice to have reference books available on my ebook reader when I am developing software and web sites. ...

Where does jquery code go in a partial view?

I am brand new to asp.net MVC and JQuery. I've created a MVC site using the NerdDinner tutorial. For the create and edit views, I'm using a partial view (code simplified below) for data entry. Where would I place my jquery code? <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Marlow.Controllers.SubcontractFormViewM...

Browser back button broken between hidden div's

First of all, these pages will never be on the web but will be in internal memory. They are a group of linked documents---an ebook. http://www.anmldr.com/testdivs When I click on the link in the first div, the second div becomes visible and the first div is hidden. The problem is with the browser's back button. If you then click on ...

Best way to filter a list-view in asp.net MVC

I have a list of data coming from the database and displaying in a table, that works exactly how I want. What I would like to do, is add a DropDownList to the page that "filters" the data in the table, based on the value of the selected item in the DropDonwList. For example, the DropDown has these values Assigned To Me Assigned To Ot...

display: inline; and overlapping?

I have the below. The error class comes from here http://css.dzone.com/news/css-message-boxes-different-me I added display: inline to the div so it wouldnt take up the whole row. However now instead of going onto the next row it stays on the same row and is drawn on top of links or the login form. How do i properly handle this? I dont k...

Response.Write or plain ol' HTML

Hi there! What is better coding practice, with speed in mind (Classic ASP): sPg=sPg& "<select id=""actions"" onchange=""emact(this.value)"">" sPg=sPg& "<option value=""""></option>" sPg=sPg& "<option value=""read"">read</option>" sPg=sPg& "<option value=""unread"">unread</option>" sPg=sPg& "<option value=""spam"">spam</option>" sPg=sPg...

How to extract text from resonably sane HTML?

My question is sort of like this question but I have more constraints: I know the document's are reasonably sane they are very regular (they all came from the same source I want about 99% of the visible text about 99% of what is viable at all is text (they are more or less RTF converted to HTML) I don't care about formatting or even pa...

How to make multiple submit buttons toggle with PHP

Hello all, My newbie question of the day is.... I have a comment function on my site that I have 3 versions of for the same page. I have one that has specific traits for A. signed in and looking at own profile B. signed in looking at someone elses profile C. Not signed in at all I have it working just great depending on what criteria t...

CSS: Bottom block resize forces top block to shrink (inside a fixed-size container)

I search for a CSS solution for the following problem. Inside a container we have two blocks, vertically aligned so, that they fill the the whole area of the container, do not overlap and as the bottom one enlarges, the top one shrinks (without stretching out of container size). Consider we start with the layout created by code below (g...

How to download a file via the browser from Amazon S3 using Python (and boto) at Google App Engine?

I have a python script running inside the Google App Engine with boto 1.9b that gets all keys inside a S3-Bucket. The output is formated as a HTML-Table. bucket_instance = conn_s3.get_bucket(bucketname) liste_keys = bucket_instance.get_all_keys() table = '<table>' for i in range(laenge_liste_keys): table = table + '<tr><td>'+str(lis...