CSS width 100% doesn't work properly on 22'' monitor
Here is HTML and CSS. On 17'' and 19'' screen it looks nice. How I could catch the bug? Please help. ...
Here is HTML and CSS. On 17'' and 19'' screen it looks nice. How I could catch the bug? Please help. ...
I have 12 errors, but some are just pure non existent. I'm using the smarty templating engine. Doctype: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Here's the error report, but the "duplicate specification of attribute "value"" simply isn't true acc...
Good day, I want to set click event on every anchor element in my div container. Here is an example what I want to do: ---HTML--- <div id="my-container"> <a href="page1.html">page1</a> <a href="page2.html">page2</a> <a href="page3.html">page3</a> </div> ---- jQuery ---- $("#my-container a").click(function() { var link ...
I've launched a website: .. But it does not work in IE 8 (the Flash movie does not load). It works fine in every other browser. I've no clue what's wrong or where to look.. Any ideas? ...
In my application, when /iframe is requested, I create a cookie and serve the iframe.html file. In the html file I use a Javascript Ajax call to request for user data (/user), which is called on $(document).ready and needs to pass the sid from the cookie (so I know the call is authenticated). The problem is that, the cookie-sid is not p...
If you take the following image: http://ecx.images-amazon.com/images/I/41uxky7oT8L._SL160_.jpg place it in an html file with an IMG tag, then resize it to width 160 but do not set the height setting, and are on Firefox, you will see an ugly black line under the image. For instance: <img src="http://ecx.images-amazon.com/images/I/41u...
There is a picture: How to make this inscription so that: The lines were "separated" - that is between the lines was a gap. Text aligned left. The width of the photo is not fixed, it is floating. The length of the text also not fixed (signatures can be of different lengths). I need crossbrowser-compatible solution. I apologize ...
Looking at the CSS3 specs, I can't find any way to select any element that has no children. Let me explain. <body> <h1>Main Page</h1> <div id="main"> <div class="post"> <h2>Article 1</h1> <p>some text</p> </div> <div class="post"> <h2>Article 2</h1> <p>some text</p> </div> </div> </body> I'm looking for a CSS s...
Is there a way to force the dropdown direction of a select element in HTML down? At the moment we have a product display page, the select box appears below the halfway mark of the screen in a widescreen resolution and therefore makes the dropdown go up. Is this possible? Thanks. ...
How can I stop this text from overflowing? <html> <head> <style type="text/css"> .sticky { background-color: #FCFC80; margin: 5px; height: 100px; width: 135px; } .sticky .edit { vertical-align:middle; height: 100px; position:relative; color:Black; background-color:blue; height:90px; vertic...
Hello, i'm trying to write unobtrusive default/placeholder text in input (actually, relatively placed label over input, which hides on onFocus, and stays hidden if input isn't empty on onBlur), but I don't want to use jQuery, because this is the only javascript used on page - therefore using jQuery seems a bit over the top. Please, how...
I want to measure the size of a text in JavaScript. So far this isn't so difficult because I can simply put a temporary invisible div into the DOM tree and check the offsetWidth and offsetHeight. The problem is, I want to do this BEFORE the DOM is ready. Here is a stub: <html> <head> <script type="text/javascript"> var text =...
Hi Fellas, I am new in Palm application development and my project demands to connect my application with client's server. Issue is that, client has provided me with pre- developed htmls, javascripts, and server interaction json files. I am in a fix like how to use them. Is it possible to use external html and javascript files(not devel...
I'm reading an html file like this: try { BufferedReader bufferReader = new BufferedReader(new FileReader(path)); String content; while((content = bufferReader.readLine()) != null) { result += content; } bufferReader.close(); } catch (Exception e) { return e.getMessage(); } And I want to display it in ...
I'm using the Struts2 jQuery plugin 2.1 and render an autocompleter in my JSP. Here's the code: <s:form id="search-form" action="search" theme="simple"> <s:url id="remoteurl" action="jsonlanguages"/> <div> <sj:autocompleter cssClass="bgstandardelement empty" id="languages" ...
Hey you lot, I've been working on integrating Colorbox (a lightbox alternative) into a site. Ok, so my head file is: <head> <script language="javascript" type="text/javascript" src="js/jquery.js"></script></script>- <link type="text/css" media="screen" rel="stylesheet" href="../colorbox/colorbox.css" /> <script type="text/javascript" s...
My application is based on client-server architecture . It is a E-Learning Application. I am using ruby on rails server, javascript,canvas,SVG element . I have an idea of an interface to allow the teacher to build any type of animation for students using Cake javascript API . I wanted to save the animation build using the canvas element ...
Hi there i'm working on a ff-plugin which searchs a webpage for all textareas and places a warning before the submit button. my code looks like this var submitWarning = content.document.createElement("div"); submitWarning.innerHTML = "Fancy Message"; $('textarea', window.content.document).each(function() { var form = $(this, windo...
The problem is there is a folder ./log/ containing the files like: jan2010.xml, feb2010.xml, mar2010.xml, jan2009.xml, feb2009.xml, mar2009.xml ... each xml file would like: <root><record name="bob" spend="20"></record>...(more records)</root> I want to write a piece of ColdFusion code (log.cfm) that simply parsing those xml files....
When I submit a form, I can see my browser's progress bar slowly increased, it takes 4-6s to submit a form. It was a generic form like : <form id="someid" name="someName" action="someAction.do"> ... </form> I test it in IE8 and Firefox 3,both are very slow. My network condition is fine, my server works great. What could be the prob...