Displaying keyword search results 1 - 10
Created by Dr. Xi on March 21, 2013 19:47:46 Last update: March 22, 2013 12:30:27
It's normal practice to import types from an external xsd file in WSDL like this:
<wsdl:types> <xsd:schema xmlns:xsd="htt...When you use <dynamic-wsdl> and have Commons XMLSchema on the class path, Spring-WS inlines the xsd in the wsdl. But that doesn't happen when you use <static-wsdl> . You can define a SimpleXsdSchema bean to expose the xsd:
Created by James on November 01, 2012 13:51:42 Last update: November 01, 2012 13:51:42
One way to vertically center a line of text in a container div is to set line-height to be the same as the height of the container. But that requires specifying line-height in pixels. This technique avoids that.
<!doctype html> <html> <head> <style typ...
Created by Captain on November 22, 2010 04:34:37 Last update: July 22, 2012 20:36:26
HDTV modeline example:
1920x1080 148.5 1920 2008 2052 2200 1080 1084 1088...MythTV modeline database: http://www.mythtv.org/wiki/Modeline_Database
<!DOCTYPE html> <html> <head> <style ...Reference: Custom Resolutions on Intel Graphics
Created by Fang on February 21, 2012 20:54:23 Last update: February 21, 2012 20:57:57
Tomcat gzip compression filter can be turned on with " compression=on " in server.xml :
<Connector port="8080" protocol="HTTP/1.1" ...The default compressed MIME types are: text/html,text/xml,text/plain . It would be nice to add other types:
<Connector port="8080" protocol="HTT...
Created by James on June 22, 2010 18:56:40 Last update: February 13, 2012 10:25:47
Created by James on January 26, 2012 21:23:56 Last update: January 26, 2012 21:23:56
In an HTML page, elements can overlap because of position styles. When there's an overlap, elements coming later in the HTML code are displayed on the top. This can be altered by specifying z-index in the CSS. Elements with higher z-index are placed on the top. However , z-index only works for elements that are not static positioned. Static positioned elements are always at the bottom compared to relative , fixed and absolute positioned elements. This is a test page:
<!DOCTYPE html> <html> <head> <style t...Effects of z-index can be tested by adding it to the elements, for example:
<div id="bg" class="big" style="z-index: 3"></div>...
Created by James on September 23, 2010 20:30:55 Last update: November 16, 2011 14:51:23
jQuery button set where one button can be pressed "down" at a time.
<!DOCTYPE html> <html> <head> <title>jQu...
Created by James on January 10, 2011 12:35:53 Last update: November 04, 2011 19:28:03
<!DOCTYPE HTML> <html> <head> <title>jQu...For the above test page, when you move the mouse through both the outer and inner areas of the mouseover/mouseout rectangle, the output is...
Created by James on May 19, 2011 16:02:40 Last update: May 19, 2011 16:05:05
Finally, MathJax makes showing math equations in the browser a reality! Here are some simple demos. A simple example:
<!doctype html> <html> <head> <title>Math...Add HTML styling for Firefox:
<!doctype html> <html> <head> <title>Math...
Created by James on May 01, 2011 21:57:33 Last update: May 01, 2011 21:57:33
Both visibility:hidden and display:none hides an element in the DOM. But elements with visibility:hidden still takes up space, while display:none does not. Example (click the divs to hide or show):
<!doctype html> <html> <head> <style t...