Creating Different CSS Style Selector
By Faisal Arshad Mahmood
On Saturday June 07, 2008 / In Design / 0 Comments

Microsoft is slowly moving towards compliance. The fact that they are not doing so quickly presents an unnecessary challenge to content creators and CSS authors because previously created hacks will not work, and new bugs may arise from the changes that are being made in the new version of the widely used browser that is not standards compliant.

In the past, we have all user the * html, or _ or # and other techniques to serve specific Cascading Stylesheet (CSS) information to Microsoft Browsers to cater for their proprietary implementation CSS units and the box model. Some of the popular methods of isolating IE when styling and doing page layout will not work as some sections of the Microsoft implementation of CSS become Standards Compliant. In a particular case at hand, I discovered that IE 7.0 does not interpret form field heights and padding in the same way as IE 6 in CSS and thus using the # hack to send a different dimensions/units to IE and Firefox leaves either IE6 or IE7 badly aligned.

In this case, I found out that much as both IE6 and IE7 still work with the # hack that prefixes settings, IE7 ignores the underscore '_' hack. This makes it possible to create separate settings for Firefox, IE 6 and IE 7 as shown in the below example:

context_bar_form_field
{
height: 15px;
#height: 15px;
_height: 21px;
}

The first setting will apply to all browsers,
The second setting will only apply to Microsoft Internet Explorer browsers
The third setting will only apply to IE browsers 6.0 and older




RSS Feed | Leave A Comment (0)



Virtual Tour With jQuery
By Faisal Arshad Mahmood
On Wednesday June 04, 2008 / In General, Design / 0 Comments
This virtual tour plugin has the particularity to be accessible and can run even if javascript has not been activated] : navigation uses the standard html tags <map> and <area> in accordance with w3c

No need for Flash, Quicktime or Java. Your visitors will not have to install any software to experiment your virtual tour.

In the <head> section, insert CSS ans javascript calls :

<link rel="stylesheet" type="text/css" href="css/thickbox.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/jquery.panorama.css" media="screen" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.panorama.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("img.advancedpanorama").panorama({
auto_start: 0,
start_position: 0
/* add your execution parameters here */
});
});
</script>
<script type="text/javascript" src="js/cvi_text_lib.js"></script>
<script type="text/javascript" src="js/jquery.advanced-panorama.js"></script>
<script type="text/javascript" src="js/jquery.flipv.js"></script>
<script type="text/javascript" src="js/thickbox.js"></script>


Continue reading "Virtual Tour With jQuery"


RSS Feed | Leave A Comment (0)



Calyx Labs Blog...
By Faisal Arshad Mahmood
On Thursday May 08, 2008 / In General, Design, Development, Marketing, Site Launches, Flash, Tips & Tricks / 0 Comments
Welcome, This post is just a test...



RSS Feed | Leave A Comment (0)



 





 

General
Design
Development

Marketing
Site Launches
Flash
Tips & Tricks

 

 


 








Faisal


Fahad

 

ReadWriteWeb
AralBalkan
GigaOm
ReadBurner

 


 
 © Copyright 2005 - 2008 Calyx Labs, All Right Reserved.
About - Work- Services- Blog- Contact

This Blog Is Powered By CuteNews