<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-33831567</id><updated>2011-12-15T04:55:54.793+02:00</updated><title type='text'>Egypt Designers</title><subtitle type='html'>Egyptian Designers blog where you can get more experience with Computer Design.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://egdesigners.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33831567/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://egdesigners.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Egypt Designers</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-33831567.post-116081919868751483</id><published>2006-10-14T11:43:00.000+02:00</published><updated>2006-10-14T11:46:38.703+02:00</updated><title type='text'>Do you use the right graphic format?</title><content type='html'>&lt;h2&gt;When to Use JPEG or GIF Format for Your Web Images and PNG Too&lt;/h2&gt;&lt;br /&gt;&lt;h2&gt;There are Reasons to Use Each Format&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt; &lt;h3&gt;GIF Images&lt;/h3&gt;&lt;br /&gt; &lt;p&gt;Use GIF files for images that have a small number of colors. GIF  files are always reduced to no more than 256 unique colors. The  compression algorithm for GIF files is less complex than for JPEG  files, but when used on flat color images and text it produces very  small file sizes. &lt;/p&gt;&lt;br /&gt; &lt;p&gt;The GIF format is not suitable for photographic images or  images with gradient colors. Because the GIF format has a limited  number of colors, gradients and photographs will end up with banding  and pixelation when saved as a GIF file. &lt;/p&gt;&lt;br /&gt; &lt;h3&gt;JPEG Images&lt;/h3&gt;&lt;br /&gt; &lt;p&gt;Use JPEG images for photographs and other images that have millions  of colors. It uses a complex compression algorithm that allows you to  create smaller graphics by losing some of the quality of the image.  This is called a "lossy" compression because some of the image  information is lost when the image is compressed. &lt;/p&gt;&lt;br /&gt; &lt;p&gt;The JPEG format is not suited to images with text, large blocks  of solid color, and simple shapes with crisp edges. This is because  when the image is compressed the text, color, or lines may blur  resulting in an image that is not as sharp as it would be saved in  another format. &lt;/p&gt;&lt;br /&gt; &lt;h3&gt;PNG Images&lt;/h3&gt;&lt;br /&gt; &lt;p&gt;The PNG format was developed as a replacement for the GIF format  when it appeared that GIF images would be subject to a royalty fee. PNG  graphics have a better compression rate than GIF images which result in  smaller images than the same file saved as a GIF. PNG files offer alpha  transparency as well as animation. &lt;/p&gt;&lt;br /&gt; &lt;p&gt;PNG images, like GIFs, are not well suited to photographs. It  is possible to get around the banding issue that affects photographs  saved as GIF files using true colors, but this can result in very large  images. The other problem with PNG is that its special features are not  well supported by Internet Explorer. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33831567-116081919868751483?l=egdesigners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://egdesigners.blogspot.com/feeds/116081919868751483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33831567&amp;postID=116081919868751483&amp;isPopup=true' title='42 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33831567/posts/default/116081919868751483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33831567/posts/default/116081919868751483'/><link rel='alternate' type='text/html' href='http://egdesigners.blogspot.com/2006/10/do-you-use-right-graphic-format.html' title='Do you use the right graphic format?'/><author><name>Egypt Designers</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>42</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33831567.post-115969922928843972</id><published>2006-10-01T12:39:00.000+02:00</published><updated>2006-10-01T12:42:41.496+02:00</updated><title type='text'>CSS History</title><content type='html'>Like HTML, CSS is standardized by the W3 consortium. CSS is an open, independent and freely usable standard. As with HTML, a working group exists for CSS who concerns itself with development of the standard. This is being done in accordance with W3C rules.&lt;br /&gt;CSS comes in different versions. CSS level 1 was released in 1996, and republished with corections in 1999. CSS level 2 appeared in 1998 and built on CSS level 1. CSS level 2 adds support for different output media. CSS 3 is currently in development and will be split up in modules.&lt;br /&gt;The idea behind it was to seperate presentation and content of a web site. The advantage of this approach is that updates and changes to the presentation need only be applied once (to the stylesheet) to affect all pages. Especially large sites can achieve significant time savings. In order to enforce this separation of concerns, the W3C has deprecated the font tag in HTML 4. Newer (X)HTML versions will deprecate other tags in a similar vein.&lt;br /&gt;CSS stylesheets are an immediate addition to HTML. CSS is a language to define format properties of HTML or XML tags. HTML has reached the end of it's shelf life and is not being developed further. XHTML is the new standard instead. XHTML reformulates HTML with XML syntax while at the same time getting rid of presentational markup. XHTML only contains content, presentation is the domain of a CSS stylesheet. This allows for different stylesheets for different output formats such as print, aural or small devices. Search machines on the other hand have an easier job if they are only presented with content markup.&lt;br /&gt;New functionality in CSS2CSS2 retains backward compatibility with CSS1 which means valid CSS1 stylesheets continue to work without changes. CSS2 adds support for different media types. Different stylesheets can target media such as printers, TVs, screen readers and so on. Furthermore, there is the addition of pseudo classes and a few new styling elements for tables, text, colors and positioning.&lt;br /&gt;CSS is supported, to different degrees, by all browsers starting with version 4. Unfortunately, all browsers have implementation bugs, and no browser supports the full CSS2 specification yet. Many browsers allow you to override the provided stylesheet with your own.&lt;br /&gt; &lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33831567-115969922928843972?l=egdesigners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://egdesigners.blogspot.com/feeds/115969922928843972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33831567&amp;postID=115969922928843972&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33831567/posts/default/115969922928843972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33831567/posts/default/115969922928843972'/><link rel='alternate' type='text/html' href='http://egdesigners.blogspot.com/2006/10/css-history.html' title='CSS History'/><author><name>ana ga3an</name><uri>http://www.blogger.com/profile/01882216959258462664</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_0jksJteNIFo/Sao-pfvu_4I/AAAAAAAAAPc/qcPULVXQUWU/S220/profilepic.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33831567.post-115814684319853342</id><published>2006-09-13T14:20:00.000+03:00</published><updated>2006-09-25T11:54:48.646+02:00</updated><title type='text'>Box Model Hack</title><content type='html'>&lt;h2&gt;Getting Internet Explorer to Play Well with CSS&lt;/h2&gt;&lt;br /&gt;&lt;h3&gt;Why Do We Need a Box Model Hack?&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;The &lt;span style="color:#3399ff;"&gt;CSS box model&lt;/span&gt; defines the width and height of a box created with CSS as the width or  height of the content area of said box. If the width property is left  off, then the box is as wide as the content within it. The same goes  for the height. If padding, borders, or margins are added to the box,  they are added outside of the content width or height. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;However, versions of Internet Explorer before IE6/strict don't  work this way. In their DOM, the width of the box is the width of the  content plus any border or padding. Thus, a 100px box with 0 padding  and 0 border would render the same in IE as in Mozilla. However, if 5px  padding is added, the Mozilla box (including content and padding) would  be 110px wide, while the IE box would still be 100px.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;If a 10px border is also added, the Mozilla box (including content,  padding and border) would be 130px wide, while the IE box would still  be 100px. Finally, if you added 10px margin on all sides, the Mozilla  box would be 150px while the IE box would then grow to 120px (100px for  the content, padding, and border, and 20 for the margins on left and  right). &lt;/p&gt;&lt;br /&gt;&lt;p&gt;Internet Explorer does not render the box model correctly. If you  want your Web pages to look the same no matter what browser views them,  then you have to do something to offset this incorrect rendering of the  box model.&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;What is the Box Model Hack&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;In basic terms, the box model hack uses bugs in Internet Explorer to force it to use CSS tags that other browsers will ignore. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;If you have a div like this:&lt;br /&gt;&lt;br /&gt;   div {&lt;br /&gt;&lt;br /&gt;     width: 100px;&lt;br /&gt;&lt;br /&gt;     padding: 10px;&lt;br /&gt;&lt;br /&gt;     border: 10px solid #000;&lt;br /&gt;&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt; It will be 140px wide in valid browsers, and 100px wide in Internet Explorer. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;To fix this you need to set up two div selectors, one which  defines the width for compliant browsers at 100px and one for IE at  140px. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;  div {&lt;br /&gt;&lt;br /&gt;     width: 100px;&lt;br /&gt;&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;   div {&lt;br /&gt;&lt;br /&gt;     \width: 140px;&lt;br /&gt;&lt;br /&gt;     w\idth: 100px;&lt;br /&gt;&lt;br /&gt;   } &lt;/p&gt;&lt;br /&gt;&lt;p&gt;The first line "width: 100px;" is for browsers like Mozilla and  Opera that render correctly. Opera and other browsers choke on the  escape character (\) and so will ignore the second and third  properties. The second property "\width: 140px;" is for IE 5 and  6/quirks mode. The final line "w\idth: 100px;" will be read by escape  friendly browsers (including IE 6 in non-quirks mode) and set the width  back to 100px. The problem here is that Netscape 4 crashes when it sees  escape characters in the property names, so this isn't done yet. &lt;/p&gt;&lt;br /&gt;&lt;h3&gt;The Tan Hack&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;The Tan Hack relies on a quirk of IE 5 and 6 (quirks mode). IE believes that the  html tag is not the root element of a document. There is an extra  element outside of the html element which IE considers to be the root.  By selecting for that element, you can force IE to read your CSS, while  other browsers, including Netscape 4, ignore the style completely: &lt;/p&gt;&lt;br /&gt;&lt;p&gt;  div {&lt;br /&gt;&lt;br /&gt;     width: 100px;&lt;br /&gt;&lt;br /&gt;     padding: 10px;&lt;br /&gt;&lt;br /&gt;     border: 10px solid #000;&lt;br /&gt;&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;   * html div {&lt;br /&gt;&lt;br /&gt;     width: 140px; /* for IE5 and IE6 in quirks mode */&lt;br /&gt;&lt;br /&gt;     w\idth: 100px; /* for IE6 in standards mode */&lt;br /&gt;&lt;br /&gt;   } &lt;/p&gt;&lt;br /&gt;&lt;p&gt;So the next time you build a Web page for both Netscape and IE  you can insure that your page displays correctly with these simple  hacks. And hopefully, IE will eventually render CSS according to the  standards.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33831567-115814684319853342?l=egdesigners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://egdesigners.blogspot.com/feeds/115814684319853342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33831567&amp;postID=115814684319853342&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33831567/posts/default/115814684319853342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33831567/posts/default/115814684319853342'/><link rel='alternate' type='text/html' href='http://egdesigners.blogspot.com/2006/09/box-model-hack.html' title='Box Model Hack'/><author><name>Egypt Designers</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33831567.post-115814638388714583</id><published>2006-09-13T14:18:00.000+03:00</published><updated>2006-09-13T14:19:43.910+03:00</updated><title type='text'>CSS Box Properties: Think INSIDE the Box</title><content type='html'>&lt;h2&gt;Cascading Style Sheets and Box Properties&lt;/h2&gt;&lt;br /&gt;&lt;p&gt;&amp;quot;Think Outside the Box&amp;quot; - this has become such a cliche in business, but in CSS  you want to stay inside of it. All elements in HTML generate a rectangular box. This  is called the &lt;em&gt;element box&lt;/em&gt;. This box describes the amount of space the element  and its properties occupy within the layout of the document. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;Each element or box will influence every other box in the document. For example, if the  first element is two inches tall, the element to follow it will be two inches from the  top of the document. If the first element shrinks to one inch, the following element  will then be one inch from the top of the document. &lt;/p&gt;&lt;br /&gt;&lt;h3&gt;Things are Changing&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;With Cascading Style Sheets, Web authors can now have more control over how their text  is displayed on the page. Even to the extent of placing elements one on top of the other. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;There are several CSS properties you can use to affect the shape and location of your   text elements:&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;  &lt;li&gt;width &lt;/li&gt;&lt;br /&gt;  &lt;li&gt;height &lt;/li&gt;&lt;br /&gt;  &lt;li&gt;margin &lt;/li&gt;&lt;br /&gt;  &lt;li&gt;margin-top, margin-left, margin-bottom, margin-right &lt;/li&gt;&lt;br /&gt;  &lt;li&gt;padding &lt;/li&gt;&lt;br /&gt;  &lt;li&gt;padding-top, padding-left, padding-bottom, padding-right&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;h3&gt;width&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;The width of an element is the distance from the left inner edge of the element to the   right inner edge.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;When you set the width on an element, you don't need to use tables  to create text boxes.&lt;/p&gt;&lt;br /&gt;&lt;blockquote&gt;&amp;lt;p style=&amp;quot;width : 100px; border : none; background-color : #cccccc;&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;  This box is created using the width tag on the paragraph. 100 pixels wide.&lt;br /&gt;&lt;br /&gt;  &amp;lt;/p&amp;gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;h3&gt;height&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;The height of an element is the distance from the top inner edge of the element to the   bottom inner edge. Just like with the width, you can create table-like elements within  your document. If you create an element where the defined height is actually shorter   than the text, the element will be taller than defined. This is exactly like how   tables work. &lt;/p&gt;&lt;br /&gt;&lt;blockquote&gt;&amp;lt;p style=&amp;quot;height : 100px; border : none; background-color : #cccccc;&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;  Created with CSS. 100 pixels tall.&lt;br /&gt;&lt;br /&gt;  &amp;lt;/p&amp;gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;h3&gt;margin&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Margins add space around the outer edge of the element. Using the margin property, you   can define all four margins to be the same. Or you can set all four separately with the  same property:&lt;br /&gt;&lt;br /&gt;  margin : top right bottom left;&lt;br /&gt;&lt;br /&gt;  Or if you only want to set the margin on one specific side, you can use the margin-*   properties (ie. margin-top, margin-right, margin-bottom, margin-left). &lt;/p&gt;&lt;br /&gt;&lt;blockquote&gt;&amp;lt;p style=&amp;quot;border : none; background-color : #cccccc; margin : 15px;&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;  This paragraph has a 15 pixel margin around it.&lt;br /&gt;&lt;br /&gt;  &amp;lt;/p&amp;gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;h3&gt;padding&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Padding adds space around the inner edge of the element. Using the padding property,   you can define all four sides to have the same padding, or you can set all four separately with the same property:&lt;br /&gt;&lt;br /&gt;  padding : top right bottom left;&lt;br /&gt;&lt;br /&gt;  Of if you only want to set the padding on one specific side, you can use the padding-*  properties (ie. padding-left, padding-top, padding-right, padding-bottom). &lt;/p&gt;&lt;br /&gt;&lt;p&gt;When you look at the following paragraph, compare it to the margin example above.   You'll notice that when a paragraph has padding there is more background. When the   paragraph has margins, there is less background. &lt;/p&gt;&lt;br /&gt;&lt;blockquote&gt;&amp;lt;p style=&amp;quot;border : none; background-color : #cccccc; padding : 15px;&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;  This paragraph has a 15 pixel padding around it.&lt;br /&gt;&lt;br /&gt;  &amp;lt;/p&amp;gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;p&gt;Cascading Style Sheets can help you design your pages. Use these properties to create  stylish pages that have the text exactly where you want them. &lt;/p&gt;&lt;br /&gt;&lt;h3&gt;The Properties Used&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;The width paragraph&lt;br /&gt;&lt;br /&gt;  width : 100px; border : none; background-color : #cccccc;&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;  The height paragraph&lt;br /&gt;&lt;br /&gt;  height : 100px; border : none; background-color : #cccccc;&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;  The margin paragraph&lt;br /&gt;&lt;br /&gt;  border : none; background-color : #cccccc; margin : 15px;&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;  The padding paragraph&lt;br /&gt;&lt;br /&gt;  border : none; background-color : #cccccc; padding : 15px; &lt;/strong&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33831567-115814638388714583?l=egdesigners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://egdesigners.blogspot.com/feeds/115814638388714583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33831567&amp;postID=115814638388714583&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33831567/posts/default/115814638388714583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33831567/posts/default/115814638388714583'/><link rel='alternate' type='text/html' href='http://egdesigners.blogspot.com/2006/09/css-box-properties-think-inside-box.html' title='CSS Box Properties: Think INSIDE the Box'/><author><name>Egypt Designers</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33831567.post-115753954162754388</id><published>2006-09-06T13:30:00.000+03:00</published><updated>2006-09-06T14:17:08.840+03:00</updated><title type='text'>Designing for IE - Design for Firefox First</title><content type='html'>&lt;h2&gt;Tips and Tricks to Get Your Site Looking Right in Both Browsers&lt;br /&gt;&lt;/h2&gt;&lt;div id="aCtt"&gt;&lt;p&gt;Designing  Web pages is challenging enough without having to build pages that work  on every possible combination of Web browser and operating system in  existence. So many Web designers choose to take the easy route and  design just for the most popular browser, which is IE 6 right now.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;But if you're going to focus your site on IE 6 you'll be causing some problems for yourself:&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;When IE 7 comes out, your site will need to be redesigned. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;People who use other browsers won't get a good experience. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;If new browsers come out and gain popularity, chances are your site won't be able to support them.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;h3&gt;Standards-Based Web Design Is Best&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;If you design for Web standards then your Web site will be  functional with every browser that supports those standards. And even  long into the future, your site will stay functional.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;But Internet Explorer 6 and 5 are not standards compliant. So  what do you do? The common response is to design just for them and then  try to force your site to look okay in standards compliant browsers  like Firefox, Safari and Opera. But this is both backwards and  difficult. &lt;/p&gt;&lt;br /&gt;&lt;h3&gt;How to Design for Internet Explorer&lt;br /&gt;&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;&lt;strong&gt;Build your site for Firefox or Safari first.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Build your  site and test it using Firefox or Safari first. This will insure that  your Web pages look good in standards compliant browsers. And it's  actually fairly easy to do. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;strong&gt;Use a &lt;span style="color: rgb(0, 153, 255);"&gt;DOCTYPE&lt;/span&gt;.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;I  prefer to use XHTML 1.0 Transitional, but another good one is HTML  4.01. By using a DOCTYPE, you insure that your page isn't displayed in quirks mode, and the browsers act the same. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;strong&gt;Once you've got it looking perfect for Firefox, then start editing for IE 6 or 5.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;IE 6 or 5 should come last because it's not standards compliant. When  IE 7 comes out, your page will look correct because it looks correct in  the other standards compliant browsers. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;strong&gt;Don't use hacks to design for IE.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Instead, use the  cascade and valid CSS properties and selectors that IE 6 and 5 don't  recognize to hide styles for standards compliant browsers. Put the IE 6  styles first in the cascade - then the standard-compliant properties.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h3&gt;Hiding Styles from IE 6&lt;br /&gt;&lt;/h3&gt;&lt;p&gt;It's actually really easy to hide styles from IE 6 but make them visible to standards compliant browsers. Use &lt;span style="color: rgb(0, 153, 255);"&gt;child selectors&lt;/span&gt;. &lt;/p&gt;  &lt;p&gt;In one design I built, I created a two column layout that required margins and padding. This meant that I was hitting the &lt;span style="color: rgb(0, 153, 255);"&gt;box model&lt;/span&gt; differences when I viewed the page in IE 6. My first CSS style sheet for Firefox included a line like this:&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;div#nav { width: 150px; margin-left: 20px; }&lt;br /&gt;&lt;/blockquote&gt;&lt;p&gt;This made the page line up perfectly in Firefox and Safari, but in IE the nav column was pushed over to the right too far.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;So, I converted the line to use child selectors. The #nav div is a child of the body tag, so I changed the line to read:&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;body &amp;gt; div#nav { width: 150px; margin-left: 20px; }&lt;br /&gt;&lt;/blockquote&gt;&lt;p&gt;Of course, doing this made the #nav div lose all it's properties in  IE, so I needed to add in some IE styles to get IE 6 looking okay. I  added this line to the CSS:&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;#nav { width: 150px; margin-left: 10px; }&lt;/blockquote&gt;&lt;br /&gt;&lt;p&gt;The placement of this line of CSS is important if my page is still  to look good in Firefox and Safari. The IE line needs to come &lt;strong&gt;first&lt;/strong&gt;.  Firefox and Safari will read that line and then it will be over-ridden  by the body &amp;gt; div#nav selector lower in the document. IE 6 will read  the first line and set the styles. It will then ignore the child  selector, as it doesn't recognize them. When IE 7 comes along, it will  act like Firefox and Safari.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;By designing for a standards-compliant browser first, and then  modifying your CSS to support IE's quirks, you spend a lot less time  fiddling with the design and a lot more time actually designing.&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33831567-115753954162754388?l=egdesigners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://egdesigners.blogspot.com/feeds/115753954162754388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33831567&amp;postID=115753954162754388&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33831567/posts/default/115753954162754388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33831567/posts/default/115753954162754388'/><link rel='alternate' type='text/html' href='http://egdesigners.blogspot.com/2006/09/designing-for-ie-design-for-firefox.html' title='Designing for IE - Design for Firefox First'/><author><name>Egypt Designers</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33831567.post-115746219263364324</id><published>2006-09-05T16:09:00.000+03:00</published><updated>2006-09-06T13:06:12.133+03:00</updated><title type='text'>How Do I Include One HTML File in Another Using Dreamweaver?</title><content type='html'>&lt;img style="FLOAT: right; MARGIN: 0px 0px 10px 10px; WIDTH: 120px; CURSOR: hand; HEIGHT: 141px" height="206" alt="" src="http://www.9q9q.org/index.php?image=WgmgfdWSRPsn" border="0" /&gt;&lt;br /&gt;&lt;h2&gt;Use the Dreamweaver Library&lt;br /&gt;&lt;/h2&gt;&lt;p&gt;One of the most popular questions I'm asked about HTML is how to include one bit of HTML code in another Web page, without having to re-write the code every time. Unfortunately, this is not possible with straight HTML. You can do it with other technology, but that usually requires that you have server technology like SSI or PHP or that you learn JavaScript. &lt;/p&gt;&lt;br /&gt;&lt;h3&gt;Dreamweaver To the Rescue&lt;br /&gt;&lt;/h3&gt;&lt;p&gt;Luckily, Dreamweaver recognizes that this is a very important part of Web page development. If you've ever built a site with more than around 10 pages, you'll recognize the value in having shared include files that you can edit once and update your entire site.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Dreamweaver calls these include files "library" files and they are stored in the assets of your Web site in the Files tab.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Before you can create a library item, you need to create a Dreamweaver site. The library item will then become an asset available to that entire site. &lt;/p&gt;&lt;br /&gt;&lt;h3&gt;Create a Dreamweaver Library Include File&lt;br /&gt;&lt;/h3&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Open the library panel by clicking Window &amp;gt; Assets, and then choosing the Library button (looks like an open book). &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Select the portion of HTML that you want to convert into a library element. This can be a block of HTML or a section of the page in design view. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Drag that selection to the library pane and drop it there. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Give your library item a name that will help you remember what it is.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;p&gt;Once you have a library item, you can use it on any page in your site. Simply drag the library item to the new page, and Dreamweaver will place code there indicating that the code displayed is a library item. &lt;/p&gt;&lt;br /&gt;&lt;h3&gt;Updating a Library Element&lt;br /&gt;&lt;/h3&gt;&lt;p&gt;The true power in the library items is not in creating them, but in re-using them. You can place your library items on any page in the Dreamweaver Web site it is defined in. Then when you edit it, Dreamweaver will update every page that is using that library item.&lt;br /&gt;&lt;/p&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Open your library item for editing by double clicking on the library item in the Assets pane. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Edit your library item and hit save. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Dreamweaver will then ask you if you want to update all the files that use the library item. Click Update. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Close the log window. That is Dreamweaver telling you what it is doing. If you have a large number of files to update, that window will remain open until they are all complete.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;p&gt;Once you've updated all the files in your site, you'll need to upload them all to your server. If you forget to upload them, they won't be changed for your customers.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33831567-115746219263364324?l=egdesigners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://egdesigners.blogspot.com/feeds/115746219263364324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33831567&amp;postID=115746219263364324&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33831567/posts/default/115746219263364324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33831567/posts/default/115746219263364324'/><link rel='alternate' type='text/html' href='http://egdesigners.blogspot.com/2006/09/how-do-i-include-one-html-file-in.html' title='How Do I Include One HTML File in Another Using Dreamweaver?'/><author><name>Egypt Designers</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33831567.post-115745472788940313</id><published>2006-09-05T13:55:00.000+03:00</published><updated>2006-09-06T13:04:12.166+03:00</updated><title type='text'>HOW TO (and not to) WORK WITH A DESIGNER</title><content type='html'>&lt;a href="http://www.9q9q.org/index.php?image=2lrnmkokjWUR"&gt;&lt;img style="FLOAT: right; MARGIN: 0px 0px 10px 10px; WIDTH: 131px; CURSOR: hand; HEIGHT: 169px" height="216" alt="" src="http://www.9q9q.org/index.php?image=2lrnmkokjWUR" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;Imagine that you’re Christopher Columbus. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;You arrive in the New World and are so disappointed there is none of the oriental silks and spices you came looking for that you turn around and go home, missing all the wonders of the New World. That’s what happens when you have preconceived notions about design.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;You can end up with something that’s better, but NOT SEE or APPRECIATE IT because you’re only focusing on the fact that it’s not what you had in mind.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;That’s just one of the mistakes people make when they work with a designer. &lt;/p&gt;&lt;br /&gt;&lt;p style="TEXT-ALIGN: center"&gt;&lt;span style="font-size:130%;"&gt;&lt;b&gt;A good designer’s&lt;/b&gt; &lt;b&gt;work will make something:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;WORK BETTER, SELL BETTER, LOOK BETTER &lt;/b&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;SHED NEW LIGHT ON OLD SUBJECTS &lt;/b&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The trouble is a lot of people hire designers because they want their project to “look good.” But that’s just scratching the surface of what a designer can and should do. So they don’t know what’s possible, so they don’t get the most bangs for their buck. Just as writers are not just people who can type, designers are not just people who can use graphics programs. &lt;/p&gt;&lt;br /&gt;&lt;div style="TEXT-ALIGN: center"&gt;Good Design is more than skin deep.&lt;br /&gt;&lt;/div&gt;&lt;p style="TEXT-ALIGN: center"&gt;&lt;b&gt;DESIGN IS COMMUNICATION. &lt;/b&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;OK, so how do you work with a designer to get their best work? Here are some suggestions: &lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;1) Choose your designer carefully.&lt;/b&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Look at their previous work.&lt;br /&gt;The best designers don’t have a “signature look.” Their projects look as different as their clients do. Awards don’t necessarily mean the design worked for the client.&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;2)&lt;/b&gt; &lt;b&gt;Leave your preconceived notions at the door. &lt;/b&gt;&lt;br /&gt;&lt;/p&gt;Don’t ask for a project “like someone else’s but in a different color.”&lt;br /&gt;Be open to new, unexpected ideas. Don’t be afraid of something different.&lt;br /&gt;Let new ideas sink in.&lt;b&gt; &lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;p&gt;&lt;b&gt;&lt;b&gt;3)&lt;/b&gt; &lt;b&gt;Tell your designer what you want to say rather than how you want it to look.&lt;/b&gt;&lt;/b&gt;&lt;/p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;p&gt;&lt;b&gt;&lt;b&gt;4)&lt;/b&gt; &lt;b&gt;Be clear about specific features you need&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;You want your designer to create a design specific to your needs. If you try to add features as you go along, the design won’t fit as well. &lt;/p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;p&gt;&lt;b&gt;&lt;b&gt;5)&lt;/b&gt; &lt;b&gt;Do your research and be specific about your needs.&lt;/b&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;“I need to sell meeting planners on the idea of hiring me to create costumes for their events.” That’s clear and specific about both the product and the audience. The more detailed and specific you are at the start, the better the designer can tailor the project to your needs. If you add requirements later on, the designer will probably just have to shoe-horn them in, which won’t give you the best results.&lt;b&gt; &lt;/b&gt;&lt;/p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;p&gt;&lt;b&gt;&lt;b&gt;6)&lt;/b&gt; &lt;b&gt;make sure your message and content are clear.&lt;/b&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;The more of your content you have complete, the better the designer can build your project around it. A good designer may make suggestions to refine your content to get your message across faster or more clearly, but the more content you have complete, the more the designer will have to work with.&lt;b&gt; &lt;/b&gt;&lt;/p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;p&gt;&lt;b&gt;&lt;b&gt;7)&lt;/b&gt; &lt;b&gt;Design for your customer, not yourself, your friends or your colleagues&lt;/b&gt;.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Be specific so your designer knows who your customers are and what they want. It’s more important that they like your project than that you like it. Always remember, “What’s in it for them?” *&lt;b&gt;&lt;b&gt; &lt;/b&gt;&lt;/b&gt;&lt;/p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;p&gt;&lt;b&gt;&lt;b&gt;8)&lt;/b&gt; &lt;b&gt;Have good reasons for your preferences&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;You can show the designer projects that appeal to you, but dig deeper and figure out why they speak to you. Think in terms of feelings.* * &lt;/p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;p&gt;&lt;b&gt;&lt;b&gt;9)&lt;/b&gt; &lt;b&gt;Don’t design by committee&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;No good design was ever created by a consensus. The more people who have a voice in the process, the more watered down the results will be. Your friends and coworkers will often give you conflicting advice and people often have ulterior motives when they give you comments (they may be jealous or threatened if you get something that’s too good, or they may just be ignorant). You should only have one person making decisions.&lt;b&gt;&lt;br /&gt;&lt;/b&gt;Don’t be wishy-washy and try to change direction late in the process.&lt;b&gt; &lt;/b&gt;&lt;/p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;p&gt;&lt;b&gt;&lt;b&gt;10)&lt;/b&gt; &lt;b&gt;Don’t tell your designer how to design. &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;That’s not your area of expertise. Instead, give the designer your requirements &amp; preferences, while giving them the freedom to create something that answers them as effectively as possible. If you micromanage your designer, that person won’t be motivated to do anything but cash your check.&lt;b&gt; &lt;/b&gt;&lt;/p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;p&gt;&lt;b&gt;&lt;b&gt;11)&lt;/b&gt; &lt;b&gt;You can’t please all the people all the time.&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;/b&gt;Bill Cosby said “The only sure way to failure is to try to please everybody.”&lt;br /&gt;&lt;br /&gt;If everyone thinks your project is “OK” then it’s probably too dull to get much of a reaction from anyone. If you design a project with NO personality no one will hate it. Or love it. &lt;/p&gt;&lt;b&gt;&lt;br /&gt;&lt;b&gt;&lt;b&gt;12)&lt;/b&gt; &lt;b&gt;Trust your designer &lt;/b&gt;(you are paying for their expertise).&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;/b&gt;&lt;div style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0); TEXT-ALIGN: center"&gt;Designers aren’t just people who can use graphics programs, and if you treat them that way, they will become people who just want to receive a check.&lt;/div&gt;&lt;b&gt;&lt;b&gt;&lt;/b&gt;&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;b&gt;&lt;b&gt;&lt;span style="COLOR: rgb(255,0,0);font-size:85%;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="COLOR: rgb(255,0,0);font-size:85%;" &gt;* If the design pleases your customers, they’ll please you.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/b&gt;&lt;span style="COLOR: rgb(255,0,0);font-size:85%;" &gt;If you insist on a design that only pleases you, then your customers may not be inspired to buy your product or service and in the end you will lose.&lt;/span&gt;&lt;b&gt;&lt;b&gt;&lt;b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;* * Design makes you feel, so tell your designer how it makes you feel.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;/b&gt;&lt;/b&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;Instead of saying, “I like yellow,” get to the root of it and say “I want something that feels warm,” or “I want something upbeat and friendly.”&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;Focusing on your logical or emotional impressions gives the designer more to work with. Why? Because your customers may not “like” the same things you do, but a good designer can convey the impression you want them to have.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="TEXT-ALIGN: center"&gt;&lt;span style="FONT-WEIGHT: bold"&gt;The way to inspire a designer is to give them the message you want to convey, and the freedom to convey it in a fresh, new way.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="TEXT-ALIGN: center"&gt;Then when they start to show you “comps” (design versions), give them specific comments.&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Yes, designers can make mistakes and take wrong directions.&lt;/span&gt;&lt;br /&gt;The reason that so many great discoveries have been accidents is because when you set out with a destination in mind then end up someplace else, you feel you’ve missed the mark and gotten lost.&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;The reality is different—you may have ended up someplace different—but better.&lt;/span&gt;&lt;br /&gt;Yet if you’re only viewing things in terms of “this is where I wanted to go and I’m not there,” you will be disappointed, even with something better.&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;And yes, you need to tell them if you feel the design is off-track.&lt;/span&gt;&lt;br /&gt;But you also have to stop and ask yourself if you’re just being Columbus, missing the wonders of the new world. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33831567-115745472788940313?l=egdesigners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://egdesigners.blogspot.com/feeds/115745472788940313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33831567&amp;postID=115745472788940313&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33831567/posts/default/115745472788940313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33831567/posts/default/115745472788940313'/><link rel='alternate' type='text/html' href='http://egdesigners.blogspot.com/2006/09/how-to-and-not-to-work-with-designer.html' title='HOW TO (and not to) WORK WITH A DESIGNER'/><author><name>Egypt Designers</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
