Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Web Development

The use of the non-breaking space in HTML

Good post? Please, share it...
Pin It

A poet friend of mine wants to publish a poem, written by a colleague of his, who has passed away, recently, as a tribute to him. they followed the leader…

A poet friend of mine wants to publish a poem, written by a colleague of his, who has passed away, recently, as a tribute to him.

they followed the leader into the mountainssat at his feet in a Swiss canton                      as they decayed                               like rotting fish

and he looked at themand said:               turn off the ventriloquist's voice               flush out the snakeoil in the blood                  your bible                      your gita                          your gems                              your guns                                  your flags                                      your death

and at night they went to the nite clubs gobbling and soakingup the sudswhile that thingbetween the legsbecame            more urgentthey dished up the cold turkeyof what he had said        and nobody felt too good                  nobody felt

so they took the train the limousine the rucksackand went back home

    next yearthey followed him to Indiaand again he looked at themand said:                follow no leader                                

Click the title, above, to continue reading […]

Web Development

Tables are for tabular data, not display

Good post? Please, share it...
Pin It

The following is a small, but perhaps significant point, about how not to use tables to organize display, in a web-page layout. Whilst analyzing a web-site recently, I came across…

The following is a small, but perhaps significant point, about how not to use tables to organize display, in a web-page layout.

Whilst analyzing a web-site recently, I came across an image inside a single-cell table. Image and its caption are enclosed in a table with a single row and a single column. This is not very good.

Tables should be used only for tabular data, not layout.

i.e. this bit:

< img src=”myimage.jpg” alt=”Active Image” width=”240″ height=”204″ / >

should be inside a < div > < /div > tag and the tag should have the ‘text-align’ style attribute applied:

Bad:

< table border=”0″ width=”250″ align=”right” > < tbody > < tr > < td >< img src=”myimage.jpg” alt=”Active Image” width=”240″ height=”204″ / > < span >This is the caption for my image. Photo by No-one at all< /span >< /td > < /tr > < /tbody > <

Click the title, above, to continue reading […]