Div Height problem in Firefox.

Writing by Riza on Wednesday, 6 of August , 2008 at 9:54 am

Since i start working with XHTML format, i have this problem Div acting different in FF, and sometimes i add exact height for solving that problem but now finally i found the solution. and i really love to share it with you, because i know this problem is so common to all people.

HTML CODE:
<div id=”content”></div>

CSS CODE:
#content {
display:table;
margin:0 auto;
background-color:#FFFFFF;
width:965px;
}

yes folks just put display:table; in your css.

Read More ( “Div Height problem in Firefox.” )

Leave a comment

Category: Code

swfobject

Writing by Riza on Sunday, 1 of June , 2008 at 2:19 pm


Flashobject is a small Javascript file used for embedding Adobe Flash content.
The script can detect the Flash plugin in all major web browsers (on Mac and PC) and is designed to make embedding Flash movies as easy as possible.

It is also very search engine friendly, degrades gracefully, can be used in valid HTML and XHTML 1.0 documents, and is forward compatible, so it should work for years to come.

<script type=”text/javascript”>
 // <![CDATA[
 var so = new SWFObject(”sample.swf”, “sotester”, “100%”, “100%”, “9.0.115″, “#000000″);
 so.useExpressInstall(’js/expressinstall.swf’);
 so.addParam(”scale”, “noscale”);
 so.addParam(”menu”, “false”);
 so.addParam(”allowScriptAccess”, “always”);
 so.addParam(”allowFullscreen”, “true”);
 so.write(”flashcontent”);
 // ]]>
</script>

you can download the latest version from : http://code.google.com/p/swfobject/ 
this good script is from: http://blog.deconcept.com/swfobject/

Comments (1)

Category: Code

PNG in IE6

Writing by Riza on Tuesday, 13 of May , 2008 at 8:29 am

What is the PNG?

Portable Network Graphics (PNG) is a bitmapped image format that employs lossless data compression. PNG was created to improve upon and replace the GIF format, as an image-file format not requiring a patent license. PNG is pronounced /?p??/ both P-N-G and ping. The PNG initialism is optionally recursive, unofficially standing for “PNG’s Not GIF”.

I had problem with PNG in IE6, So i research about it, And find these links:

  1. http://www.twinhelix.com/css/iepngfix/
  2. http://www.mongus.net/pngInfo/
  3. http://www.alistapart.com/stories/pngopacity/

These are good stuff but this was a perfect one.
http://www.komodomedia.com/blog/2007/11/css-png-image-fix-for-ie/
So i use this one, and result was ok.

Leave a comment

Category: Code

iZafre

iZafre is inspired name from apple products. This blog is dedicated blog of zafre media co, our motto is we don't teach, we share .

Type of Articles
design is main subject of our blog, but still we are in road of inspiration, code, and stuff about zafre media company.