You are here: Re: a basic css-related query « HTML « IT news, forums, messages
Re: a basic css-related query

Posted by David Dorward on 11/24/38 11:48

cricketunes@yahoo.com wrote:

> I am a newbie to CSS and I need to modify my page.
> I have this Title tag which goes:

> PostTitle{

If you are writing your page in HTML, then you can't do this. HTML has a
defined set of elements that you can use, and PostTitle is not among them.
It also has the perfectly good h1 to h6 set of heading elements.

If you are writing in a custom XML format, then I strongly suggest you
reconsider. Browser (and search engine) support is much better for HTML
then for unknown XML formats.

> font-size:18px

Pixels for font sizing is considered harmful.
http://css-discuss.incutio.com/?page=FontSize

> I want to have a blank line after each PostTitle entry.

Adding display: block will probably do what you want, but writing good HTML
would be a better bet.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация