<?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-9016972589449562578</id><updated>2011-11-27T16:57:26.195-08:00</updated><category term='clear float'/><category term='table layout'/><category term='center a web page'/><category term='div with css layout'/><category term='float elements'/><category term='privacy policy'/><category term='float'/><category term='website testing'/><category term='browsers'/><category term='web newbies'/><category term='not float'/><title type='text'>Tips for Web Newbies</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://web-newbie.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9016972589449562578/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://web-newbie.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Larry</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>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9016972589449562578.post-902981007431066454</id><published>2009-06-22T05:10:00.000-07:00</published><updated>2009-06-23T01:31:47.625-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='browsers'/><category scheme='http://www.blogger.com/atom/ns#' term='website testing'/><title type='text'>Browsers:  Not All The Same</title><content type='html'>&lt;span style="font-family:Verdana;"&gt;Even though you are writing the standard HTML and CSS codes for your website, it might look differently in different browsers. Why is that?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;The main reason is the vague standard. The browser developers might have different understanding of those words written in the standard manuals. Also they might assign different default values to the HTML elements. As a web design newbie, you may not know all the differences between all popular browsers. So it is not unusual that your new website look differently in different browsers. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;It is very important to make sure your website look correctly in all browsers. Many of us will not have all kinds of browsers installed in our computers. Then how to verify your website? This site &lt;a href="http://browsershots.org/"&gt;http://browsershots.org/&lt;/a&gt; can help you get snapshots of your website for many browsers. So you do not need all browsers in your computer to test your websites. Is it a big relief?&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9016972589449562578-902981007431066454?l=web-newbie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9016972589449562578/posts/default/902981007431066454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9016972589449562578/posts/default/902981007431066454'/><link rel='alternate' type='text/html' href='http://web-newbie.blogspot.com/2009/06/browsers-not-all-same.html' title='Browsers:  Not All The Same'/><author><name>Larry</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></entry><entry><id>tag:blogger.com,1999:blog-9016972589449562578.post-2467889519516883237</id><published>2009-06-11T22:56:00.000-07:00</published><updated>2009-06-12T00:17:59.508-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='center a web page'/><title type='text'>Center a Web Page Horizontally</title><content type='html'>&lt;span style="font-family:verdana;"&gt;It is easy to center a web page horizontally when you use the table based layout. There is an "align" attribute for the table tag. We just need to assign the value "center" to this attribute and the table as a container for your web page will be in the center. But as I mentioned in my &lt;a href="http://web-newbie.blogspot.com/2009/05/table-layout-vs-div-with-css-layout.html"&gt;earlier post&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;, it is recommended to use the Div based with CSS layout. Then can we do the same thing to center &lt;/span&gt;&lt;span style="font-family:verdana;"&gt;a web page?&lt;/span&gt; &lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;The answer is no. The "align" attribute for the div tag is deprecated and will not be supported by the newer browsers. But this is not the key reason. The key reason is that the "align" attribute means differently for the div tag. It specifies the alignment of the content inside the div element, not the div element itself. So we cannot use this attribute to center the div box as a container. What can we do then?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;CSS is our friend. The easiest way to center a div box horizontally is to assign a width to the box and apply this style protery: "margin: 0 auto". The first value for the margin proterty is for the top and bottom margins. The second value is for the right and left margins. Also the doctype declaration must be HTML 4.01 strict or above. All these together will place your web page in the center. Not very hard, right?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9016972589449562578-2467889519516883237?l=web-newbie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9016972589449562578/posts/default/2467889519516883237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9016972589449562578/posts/default/2467889519516883237'/><link rel='alternate' type='text/html' href='http://web-newbie.blogspot.com/2009/06/center-web-page-horizontally.html' title='Center a Web Page Horizontally'/><author><name>Larry</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></entry><entry><id>tag:blogger.com,1999:blog-9016972589449562578.post-8591114788269551980</id><published>2009-06-05T23:38:00.000-07:00</published><updated>2009-06-09T01:03:53.531-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='float elements'/><category scheme='http://www.blogger.com/atom/ns#' term='not float'/><title type='text'>Floated Elements Don't Float?</title><content type='html'>&lt;span style="font-family:verdana;"&gt;Did you fail to float a box element to the left (or right) even though you have assigned the style property "float:left" (or "float:right") to that box? I believe many newbies experienced this problem when they worked on their very first websites. So why didn't it float as you want?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;The "float:left" style property should shift the box to the left. But will it place the box to the leftmost side of the containing box? Many newbies may say yes. But the answer is: sometimes. If one or more preceding boxes float to the same direction, say left in this case, the current box with a "float:left" style property will not be at the leftmost side of the containing box. It will be shifted to the left but at the right hand side of the preceding boxes that have the same "float:left" property. Is there any solution if I really want to place the current box to the leftmost side?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;Of course there is. The solution is the same as I mentioned in my previous post. Just assign the style properties "clear:both" and "float:left" to the current box. It will be floated to the leftmost side of the containing box as you want. So clearing the float is the magic again. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9016972589449562578-8591114788269551980?l=web-newbie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://web-newbie.blogspot.com/feeds/8591114788269551980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://web-newbie.blogspot.com/2009/06/floated-elements-dont-float.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9016972589449562578/posts/default/8591114788269551980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9016972589449562578/posts/default/8591114788269551980'/><link rel='alternate' type='text/html' href='http://web-newbie.blogspot.com/2009/06/floated-elements-dont-float.html' title='Floated Elements Don&apos;t Float?'/><author><name>Larry</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-9016972589449562578.post-103257715791349594</id><published>2009-05-31T19:01:00.000-07:00</published><updated>2009-06-09T01:38:26.692-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='float'/><category scheme='http://www.blogger.com/atom/ns#' term='clear float'/><title type='text'>Positioning of a DIV Box: Float and Clear Float</title><content type='html'>&lt;span style="font-family:verdana;"&gt;One of the reasons I did not use DIV with CSS as the layout at the beginning was that I did not know how to position the DIV boxes properly. I could use "float" property in the CSS stylesheet to place a DIV element to the left or to the right. However if I added another DIV element below the floated elements, the newly added element would not be at the place that I wanted it to be. Are you encountering the same issue right now? If so, maybe you made the same mistake I did. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;The default display format for DIV elements is "block" which means the DIV elements are laid out vertically, starting at the top. If we want two DIV elements side by side, we can add a "float" property to the elements. This property specifies whether an element should float (to the left or to the right) or not. If so, the floated element will be shifted to the left or to the right as far as it can go depending on what value we assign to it. Now if we want to add another DIV element below these floated elements, we might forget to do one thing: adding the "clear" property to the newly added element.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;This "clear" property specifies which sides of an element cannot be adjacent to any floated elements. In this case, we should apply "clear:both" property to the newly added element so that it will not wrap around any floated elements and instead it will go right below them. So the key here is: after applying the floats, make sure you CLEAR them. Good luck!&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9016972589449562578-103257715791349594?l=web-newbie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9016972589449562578/posts/default/103257715791349594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9016972589449562578/posts/default/103257715791349594'/><link rel='alternate' type='text/html' href='http://web-newbie.blogspot.com/2009/05/positioning-of-div-box-float-and-clear.html' title='Positioning of a DIV Box: Float and Clear Float'/><author><name>Larry</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></entry><entry><id>tag:blogger.com,1999:blog-9016972589449562578.post-6773282605433318394</id><published>2009-05-29T17:56:00.000-07:00</published><updated>2009-06-09T01:37:58.805-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='div with css layout'/><category scheme='http://www.blogger.com/atom/ns#' term='table layout'/><category scheme='http://www.blogger.com/atom/ns#' term='web newbies'/><title type='text'>Table Layout vs. Div with CSS Layout</title><content type='html'>&lt;div align="left"&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;A few months ago, I tried to create my first website. Since my budget was very tight, I had to do everything myself, designing the web pages and writing the codes. Although I had some programming experience before, I had no knowledge in this web design area. Thanks to internet, I can learn everything free online.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;After reading a few materials about HTML, I started to write my own for my first web page. There were two options for the layout: table based layout and Div based with CSS layout. At that time "Div" and "CSS" were totally strangers to me. On the contrary, "table" is a very familiar name. So I decided to use table layout for my first try. I was wrong.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;I was a web newbie and an absolutely amateur "designer". So it is not hard to imagine how "unprofessional" my web pages looked like. Two months later, I tried to redesign my web pages. It was really a pain. Simply speaking, the modifications to the codes were tedious even if I just tried to insert a cell in the table. Fortunately I have gained some knowledge of Div and CSS in these two months and felt that it would be easier to re-write everything from scratch by using Div with CSS layout. I was right.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;The Div with CSS layout is kind of like separating content and the presentation layout into two different parts. The advantage is that you can concentrate on the content first while writing the HTML codes and worry about the web page presentation design later in a separate CSS stylesheet. It is just a lot more flexible and easier to make changes to a stylesheet. Also since the stylesheet can be stored in the cache at the client side if it has visited the same page before, it is faster to download the web page and therefore a better user experience.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;If you are a newbie in this web design area as I was a few months ago and have no knowledge in HTML at this moment, you might not understand what I am talking about. But don't make the same mistake as I did before. Use Div with CSS layout for your first website and you will not regret.&lt;/span&gt;&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/9016972589449562578-6773282605433318394?l=web-newbie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9016972589449562578/posts/default/6773282605433318394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9016972589449562578/posts/default/6773282605433318394'/><link rel='alternate' type='text/html' href='http://web-newbie.blogspot.com/2009/05/table-layout-vs-div-with-css-layout.html' title='Table Layout vs. Div with CSS Layout'/><author><name>Larry</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></entry><entry><id>tag:blogger.com,1999:blog-9016972589449562578.post-2114245455182741660</id><published>2009-05-01T21:51:00.000-07:00</published><updated>2010-02-28T22:50:09.147-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='privacy policy'/><title type='text'>Privacy Policy for web-newbie.blogspot.com</title><content type='html'>&lt;span style="font-family:verdana;"&gt;At web-newbie.blogspot.com, the privacy of our visitors is of extreme importance to us. This privacy policy document outlines the types of personal information is received and collected by web-newbie.blogspot.com and how it is used. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Log Files &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Like many other Web sites, web-newbie.blogspot.com makes use of log files. The information inside the log files includes internet protocol ( IP ) addresses, type of browser, Internet Service Provider ( ISP ), date/time stamp, referring/exit pages, and number of clicks to analyze trends, administer the site, track user’s movement around the site, and gather demographic information. IP addresses, and other such information are not linked to any information that is personally identifiable. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Cookies and Web Beacons &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;web-newbie.blogspot.com does use cookies to store information about visitors preferences, record user-specific information on which pages the user access or visit, customize Web page content based on visitors browser type or other information that the visitor sends via their browser. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;DoubleClick DART Cookie &lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:verdana;"&gt;Google, as a third party vendor, uses cookies to serve ads on your site. &lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family:verdana;"&gt;Google's use of the DART cookie enables it to serve ads to the users based on their visit to your sites and other sites on the Internet. &lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family:verdana;"&gt;Users may opt out of the use of the DART cookie by visiting the Google ad and content network privacy policy at the following URL - &lt;a href="http://www.google.com/privacy_ads.html"&gt;http://www.google.com/privacy_ads.html&lt;/a&gt; &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family:verdana;"&gt;Some of our advertising partners may use cookies and web beacons on our site. These third-party ad servers or ad networks use technology to the advertisements and links that appear on web-newbie.blogspot.com send directly to your browsers. They automatically receive your IP address when this occurs. Other technologies ( such as cookies, JavaScript, or Web Beacons ) may also be used by the third-party ad networks to measure the effectiveness of their advertisements and/or to personalize the advertising content that you see. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;If you wish to disable cookies, you may do so through your individual browser options. More detailed information about cookie management with specific web browsers can be found at the browsers' respective websites. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9016972589449562578-2114245455182741660?l=web-newbie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9016972589449562578/posts/default/2114245455182741660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9016972589449562578/posts/default/2114245455182741660'/><link rel='alternate' type='text/html' href='http://web-newbie.blogspot.com/2009/06/privacy-policy-for-web.html' title='Privacy Policy for web-newbie.blogspot.com'/><author><name>Larry</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></entry></feed>
