JK Web Studio is a small web design studio, specializing in efficient and user friendly solutions.

Contact us at info@jkwebstudio.com

Archive for the ‘css’ Category

Responsive Web Design

Tuesday, May 25th, 2010

http://www.alistapart.com/articles/responsive-web-design/

24 ways - web design and development articles and tutorials for advent

Tuesday, December 1st, 2009

It is that wonderful time of year again. Head over to 24ways.org for you daily dose of web design and development articles and tutorials.

Adding server side includes to JS and CSS files

Wednesday, October 7th, 2009

Add the following to apache.conf to use server side includes in JS and CSS files:

AddType application/javascript .js
AddOutputFilter INCLUDES .js
AddType text/css .css
AddOutputFilter INCLUDES .css


Options Indexes FollowSymLinks MultiViews Includes
AllowOverride All
Order allow,deny
Allow from all

Objects and JavaScript in IE8

Tuesday, July 21st, 2009

Quick observation in IE8. If you have a form element with id=”myId”, myId is available directly through JavaScript as an object.

<input type=”text” id=”myId” value=”some value” />

<script>
alert(myId.value);
</script>

55 E 87 St, New York, NY 10128

Thursday, July 16th, 2009

<script type=”text/javascript”><!–
pshark_pop_propkey=25100;
pshark_pop_width=480;
pshark_pop_height=360;
pshark_pop_type=”overview”;
pshark_pop_tabs=”overview,photo,map,listings”;
pshark_pop_title=”55 E 87 St, New York, NY 10128″;
//–></script>
<script type=”text/javascript” src=”http://propertyshark.com/api/pop.js”></script>

The text is supposed to be inline
, but is it really?

And what about this
, i’m not sure

Multiple classes in IE6

Tuesday, July 7th, 2009

Multiple Classes in IE

Using JavaScript to read CSS from external file

Tuesday, June 30th, 2009

function get_style( obj, cssprop ){
if (obj.currentStyle){ // IE
return obj.currentStyle[cssprop];
}else if (document.defaultView && document.defaultView.getComputedStyle){ // DOM
return document.defaultView.getComputedStyle(obj, “”)[cssprop];
}else{ // get inline style
return obj.style[cssprop];
}
}