html

Why is a html form post to a restlet resource not working?

Restlet's (2.0M6 on Google App Engine) annotations are actually sensible to the order of a resource's methods. When posting html form data, make sure that the @Post("html") method stays above the @Post("xml") method in the receiving resource. At least Firefox puts both content types into the request's Accept header, so the first matchin...

XML data to HTML form and back

I am storing data in XML databases. Now I want users to be able to edit certain records. E.g. my db could look like this: <items> <item id="1"> <prop_a>some text</prop_a> <prop_b>TRUE</prop_b> <prop_c>29.01.2010</prop_c> ... </item> // next item and so on Is there a tool which can generate a html form (for which ...

How to insert text in a td with id, using javascript

I know it may be a simple thing, but I cant figure out,I am trying to insert some text coming from a javascript function onload event into a td. <html> <head> <script type="text/javascript"> function insertText () { //function to insert any text on the td with id "td1" } <script> </head> <body onload="javascript:insertText()"> <table> <...

customizing size of an iframe within a webpage

i am displaying a remote webpage on my site like this: <iframe src="http://www.smopething.com/index.cfm" frameborder="0" width="800" scrolling="no" height="1100"> </iframe> is it possible for me to customize the size of it? something like <iframe src="etc", height=something,width=something> ??? ...

jQuery won't work on a page

I have a page that allows users to edit a record from the DB. Simple. The html source looks like this: <form id="prize_modify_form" enctype="multipart/form-data" action="" method="POST" accept-charset="utf-8"> <p><label for="header">Header</label><input type="text" name="header" value="More Tvs!" id="header"></p> <p><label for...

How can I extend the background of an element beyond its container?

I have a div that contains an h3 tag, and i want the h3's background to extend beyond the containing div tag to the edge of the page. Is there a way to do this in CSS? I considered absolutely positioning the h3, but I don't know the size from the edge of the screen to the edge of the div (where I want it to be) since the div is centered....

Am I suffering "divitis"? (CSS especialist needed)

I've read lots of articles that condemn the excessive use of divs. I have a feeling that I might be doing that in the following mark up: HTML: <div id="header"> <div class="container"> <div id="banner"> <h1><a href="http://widerdesign.co.nr/"&gt;wider design</a></h1> <ul id="lang"> <l...

Editing Dreamweaver .html file separately causes crash

I helped a friend edit a .html file and added a row to a table. As in <tr>. After a few minutes, the entire website went down. Added the rows to links.html and bio.html. Any help would be seriously appreciated. (menu vanishing, formatting ruined) I am experienced with web design, the changes were tested as copies on and off the server ...

trouble finding CSS tag

i would like to increase the size of the content width on this page: http://www.yoursdproperty.com/index.php?option=com_jumi&amp;fileid=8&amp;Itemid=34 i would like to stretch it out so that all the content fits i am not sure what to change in the CSS file: http://yoursdproperty.com/templates/pjo_joomlaforall/css/template_css.css pl...

Why is my list-style-image not showing up??

I'm building out this landing page and after the second paragraph I have a list of points to which I have applied a list-style-image to the li.actionItem, however I'm getting the default disc instead of my images. I know the url is working because a) I wrote it in absolute form, b) if you enter that absolute url you get the image (see he...

Best practice for making web forms

Is it ok to use tables to make web forms or should I use div's? I know how to use tables, but how should I make form with div's or is it better to use tables? <form method="post"> <table> <tr> <td> <label for="username">Username:</label> </td> <td> <input ty...

table border html

Hi All, I am creating a bunch of tables now as and when I add table header (<th>)table row <tr> and add border to it there are multiple borders coming up. I mean say i have two table headers in a row so each and every th tag will add its own border but i just want want border between the two table header's (th). Thanks ...

css buttons: forcing them to size themselves automatically

i have these buttons on the top of the page: HOME, BUYING PROPERTY, SELLING PROPERTY, COMMUNITY INFO ETC.. i would like it so that when i add more buttons, they automatically size themselves and i dont have to resize each individual one. also i would like them to take up the entire top bar here is the code #cssmenu_moo_menu { -moz-...

There shouldn’t be any space between these two block elements

Hi My page has a three column layout, with left and right columns being positioned absolutely, while center column uses relative positioning. All three columns should be removed from the top of the page by a distance of 184px, but for some reason the distance between the top of the page and the center column is greater than 184px. I re...

No space between bottom of screen and footer div

I am having issues with creating a space between the bottom of the screen and the last div. In Chrome, no problems, but with IE the border is right at the bottom of the screen. <div id="container"> <div id="header">...</div> <div id="main">...</div> <div id="footer">...</div> </div> The last div only has <br />'s Here is the css....

Server.UrlEncode apostrophe(') in Firefox

So I have a Hyperlink called lnkTwitter: And I'm trying to set the url in the code behind: lnkTwitter.NavigateUrl = string.Format("http://www.twitter.com/home?status={0}", Server.UrlEncode("I'm Steven")); When I do that and hover over the link, the url displays correctly in the status bar as "http://www.twitter.com/home?status=I'm+Ste...

List of IE6 Upgrade / Denial Pages

As we transition away from IE6, I'm trying to find examples of other sites that stopped supporting IE6 and encourage their users to upgrade. ...

Accordion and jQueryCycle prevent href's from working

Checkout this site that I'm working on. The idea is as follows: -That the slide show is supposed to rotate - this works -When hovering over the menu on the right the appropriate slide appears - this works -Also when hovering the nav should expand to show a brief description - this works -When clicking on Airboat, Aircraft, UAV, or...

Spaces and new lines with HTML and CSS

Should I use <br /> and &nbsp; in HTML to position elements, or should I just use CSS display:inline with padding/margin for positioning and all styling? what are pros and cons with both? ...

how to place flowplayer block/window for video playing on right hand side of the page

HI Everyone I am using flowplayer for uploading videos so that client can play them.I am working on localhost.Now problem is that by default flowplayer comes in left hand side of the page.I want it to align on right hand side.I know somewhere align="right" or something like this will be used but i dont know where i have to put this word...