html

How to implement a glass effect created on PS-CS4 around the template using PNG?

Hi as I said some times before I'm new to CSS coding, I want to know if it is possible to create a glass sheet (vista/seven like but without the buttons) around the template using only CSS, I know how to make rounded corners: <style type="text/css"> #box { position: relative; width: 100px; } .corner { ...

How can I read and parse the contents of a webpage in R

I'd like to read the contents of a URL (e.q., http://www.haaretz.com/) in R. I am wondering how I can do it ...

Set background colour for div with auto-scroll

I have used two div tags in my blog to wrap programming codes. The first one is used to set outline box with fixed width with the following css class: .outlinebox { width: 435px; border-width: 1px; /* sets border width on all sides */ border-style: solid; border-color: #666666; padding: 5px } The second div is used as...

Going about finding a rogue <!----> in PHP

This: <!----> This little S.O.B, right there. 7 characters of evil, forcing IE to render all pages with it at the top like this in quirks mode: <!----><!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> If it's not evil I don't know what is because it certainly isn't in themes\default\overall.php, because the fir...

How to get result back from CGI(C) to the same HTML page?

Hi, Can I display the result which is processed in the CGI(using C) on the same html page, from where the CGI is invoked? Regards, MalarN ...

css Hover problem in chrome and safari

This is the site which has a problem http://www.clubforeducation.com/ Top menu will change its color at mouse over. All browsers except chrome and Safari. Is it a Webkit bug. If that how can i solve this? ...

How to do this in jQuery?

I am using Stupid Fixed Header to fix the headers of two tables. For that i am using following script. $(document).ready(function(){ $("#table1").fixedHeader({ height: 160, adjustWidth: function(th){ if($.browser.msie){ return $(th).width()+10; } return $(th).width(); } }); $("#table...

jQuery for submitting a form via AJAX?

Is there any magic jquery method that will allow you to submit a form to its action URL via AJAX rather than with an page reload? I know you can bind a form's submit event to a handler function, but I'm also looking for something that will automatically serialize the form's request variables into the $.post's data element in the same as...

creating div with fixed width and flexible height

I'm trying to create a div which will have fixed width and flexible height , here is the picture which I want to use for background. The thing is when I have div larger than image height the bottom rounded corners are omitted and also if I have div less than the size of image same thing, how do I make this work with round corners with al...

a problem with a select input in html

i hava a placed a select statement inside a table cell. The ui was looking good till certain inputs. the inputs to the dropdown are fetched dynamically from the database.certain input text are big and it can be wrapped up and that table width has increased.. is there a solution to wrap up the text after certain size or i can resrtict th...

html helper syntax ?

hello all, please tell me how to give the id to the html textbox my html tag looks like this <%=Html.TextBox("username")%> please help me Thanks Ritz ...

Trigger event of auto popup list selection via javascript

I have previously entered value 1111, 1222, and 1333 into a HTML text input. Now if I enter 1 to the text input, it should popup a list with value 1111, 1222, and 1333 as available options. How do you trigger an event when any one of these options is selected? I have a javascript function that performs a calculation on values entered in...

Extra padding in <input type="text">

It seems that every browser adds some magic hardcoded padding inside <input type="text">. Some browsers (IE, Safari, Chrome) make the input box a bit taller, but they properly top align as if it was a regular HTML element. I can live with the extra height. But some browsers misbehave (Firefox and Opera) and also try to either vertically ...

Html - div blocks and clear:both

Hello, I can't understand one thing. I have a big block, here is it's css: #content_part1 { margin: 0; padding: 0; width: 1024px; min-height: 544px; background-image: url(../images/top.gif); border: 1px solid green; } And another block in it: #content { width: 942px; margin-left: 41px; position: absolute;...

Restful Application from HTML

Is something like this: <form action="/" method="put"> </form> or <form action="/" method="delete"> </form> possible? Thanks. ...

html/javascript precision on numeric style values

see the following example: <script language="javascript" type="text/JavaScript"> function testPrecision() { document.getElementById("test").style.left = "30.176283764px"; alert(document.getElementById("test").style.left); } </script> <div id="test" style="left:20px; width:100px; height:100px; background-color:Red;" onclick="te...

nice effect / widget

Hi guys, I came across this amazing thing I want to do the same on my website. Its from this link , the magics happens when you click on this button, does anyone knows how this can be done, or what is this effect / widget called so I can google for potentially solutions. thank you Details from viewing site: Clicking the (Left Arrow Im...

round corners question

Hi, does anyone know how to round corners of div using javascript, but round only lets say 1 or 2 corners which you can choose not all of them. Thank you ...

Need to wrap table rows and controls in an ASP.NET webform

Here's my table: <table class="detailTable"> <tr> <th> Event Title: </th> <td> <asp:Label ID="lblTitle" runat="server"></asp:Label> </td> </tr> <tr> <th> Date: </th> <td> ...

Javascript: document.createElement('') & delete DOMElement

If you create a element within a function like: function makeDomElement() { var createdElement = document.createElement('textarea'); } And you do not append it anywhere in the DOM i.e. via .appendChild functions, does it still remain in memory? So would you have to do function makeDomElement() { var createdElement = document.cr...