html

Auto-resize IFrame

Hi All, I really need someone's help on this> I have a little image inside an IFrame that upon being clicked on, will display another image and slide down a little. How can I make the IFrame automatically get bigger or smaller, according to its contents? Thank you so much! *edit After researching this more, I have found quite a few ex...

xsl for-each: add code block every n rows?

I am trying to transform a bit of xml which represents an image gallery into an html table. (it must be done with html and not with css). How do I add the row break </tr><tr> every six or so columns with xsl? I have this: <xsl:for-each select="//email/gallery" > <td><img> <xsl:attribute name="src"> <xsl:value...

disable scroll bar in IE

Can I disable vertical scroll bar in IE. ...

html object tag border issue

I have added an html object tag in my page, it displays the content ok in ff but in IE it also shows up a border. How do I remove it. ...

How to poll simple website for updates?

I have a professor who randomly updates his website with homework due tomorrow and seems to expect us to check it every hour. This sounds like a job for a program. His website is simple and entirely html, not even any javascript. How could I programatically detect any changes/updates to his website? ...

Change Background position onClick

I would like to change the background position of one link when another link is clicked. I want this to change: <a class="fast btn-slide" href="#"></a> ...

Jquery <tr> and id elements

Hi I am new to Jquery and wondered if I can give a an ID and if so how can I then get the value back . The best I have come up with so for is rid = $('tr').attr('id').val() but no luck ...... thanks ...

IE6 PNG Replace: How to make a nested <a> clickable?

For the purposes of this question, consider this: <div class="has_transparent_png"> <a href="foo.html"> <span> <img src="logo.jpg" /> </span> </a> </div> The Problem: In IE6, the <a> is not clickable. Here's the PNG replace I'm using: .has_transparent_png { background-image: url(images/transpar...

How to get image src using regular expression

Hello, I have following HTML markup, <div id="subcontent_l"> <p> <a href="/membership-packages/"><img height="202" width="644" alt="" src="http://74.52.72.231/wp-content/uploads/2010/06/banner1.jpg" title="banner1" class="aligncenter size-full wp-image-299"> </a> </p> <p class="subc">Access to Guaranteed Healthcare Benefits</p> <p><a h...

Insert a Line Break after text in TextBox ASP.NET

I need to add line break after the following in the textbox. txtBody.Value = "Dear " & Trim(tblProperty(0).Item("Contact")) & "," I've tried so far 'ControlChars.CrLf', ..., 'vbNewLine', 'vbCrLf', ... at the end. ...

Best software for writing HTML-based user manuals

I'm working on a project where I need to generate end-user documentation for a piece of software. At some point in next year, the piece of software that I am writing this documentation will be retired. Therefore, I do not wish to spend a great deal of time on a professional-grade manual. This is something that graduate students at a coll...

Get the Id of current table row with Jquery

Hi I have the following code in a form . When the user clicks a button I want to get the current row in order to identify which of the buttons was clicked <tr id="TEST1" > <td align="left" valign="middle"><div align="right">Contact</div></td> <td colspan="4" align="left" valign="middle"> ...

How to parse html and return array of values in c# using regex.split

Currently I'm trying to parse some html and return an array with the values inside each element. For example: if I pass the below markup into a function var element = "td"; var html = "<tr><td>1</td><td>2</td></tr>"; return Regex.Split(html, string.Format("<{0}*.>(.*?)</{0}>", element)); And I'm expecting back an array[] { 1, 2 } W...

Image doesn't appear in Safari, but shows when you point to in in the server.

I have a problem - I have an image in my nav bar. http://bit.ly/a8GrvG It doesn't show on the page, but when you go to it on the server (open image in new window), you can see that it is there. This only occurs in Safari. That makes no sense. What am I missing? Thanks for the help. ...

Rendering html text in Dashcode text area

I'm loading product reviews from an xml datasource into a dashcode text area. The text includes basic html tags. When it's loaded into the text area the tags are not rendered they are just there like this: <p>Some text... etc. Is there a way to have a Dashcode text area render the html? Thanks! ...

Link isnt working when positioned with a background image?

I've got this link <a href="/Admin/Product/Brands" class="newButton"></a> Without the class attribute and a little bit of text, the link works fine, but when I add the class to apply the background image and position the button, the link stops working. It gives no errors in the firefox console either. Any ideas? Heres my css rule for ...

HTML encoding &deg; degree symbol extra space

<div id="a">°F</div> $.get("http://blah.com/go",{'TU':$('#a').text()}); IIS server logs show the following params: 99.5% of the time: TU=%C2%B0F 0.5% of the time: TU=%C2%B0+F server subsequently crashes because it doesn't know what '° F' is. Admittedly one of the flaws is that we are scraping text out of the DOM & sending it to our...

How to accept programming code input for displaying purposes?

What is the safest way to accept user inputted programming code in PHP, store it in database and display it back with the HTML pre tag? I currently convert the input to HTML entities, but I somehow think it wouldn't be that easy... Any suggestions? ...

ie6 hidden div background image not shown until hover

I have a menu which has links with icons. The icons doesn't show up until i hover over it. The icons are set as background images. When i see in the fiddler the request for the image happens only when i hover over the link HTML: <div style="display:none" id="menu"> <a href="test.htm"><span class="wicon"/>Test</a> </div> CSS: .w...

Resize echo text

I have a page that displays text the user typed in a form before that. If the user types a lot in the form and submits, the page that displays the text has a horizontal scroll bar. How could I make the text automatically do a line break after the text fills the screen? It needs to be 8.5 x 11 so it will print. What should I do to the tex...