Posts Tagged ‘tutorials’

Absolute positioning with CSS

Monday, November 29th, 2010

By using CSS and not tables, you have complete control over the positions and dimensions of all page elements due to the layout possibilities offered by CSS. In the next example we will work exclusively with a tableless code, using DIVs. As maybe you knew already, the <div> is a block-level element that is used to divide the page into more logical sections. They are used to format whole blocks of text in your pages.

In our next example, let’s say that we want to create a three column web page, but we need the columns to be rendered in a different order in our browser. Such tricks are recommended to use when from the left to the right you want to render a different column as the first one used in the columns order. Let’s take for a “live” example the henrich.ro blog. Please focus only on the section between the horizontal menu and the footer.

(more…)

How to create a static webpage?

Saturday, November 27th, 2010

Let’s suppose that we need a simple static front page. First of all we should make a plan about the web page. The drawing you see below is not a must, but it’s helpful if you can have at least a global image in your mind about the page’s structure. This will help you to make possible creating the desired HTML web page with clean and minimalistic code. Let’s have a look on the plan:

simple webpage How to create a static webpage?

(more…)