You are here: Re: CSS/HTML question « HTML « IT news, forums, messages
Re: CSS/HTML question

Posted by Beauregard T. Shagnasty on 08/06/07 21:55

DrewC wrote:

> I am getting into CSS and was wanting a little clarity on what each is
> good for. I know CSS defines how content is displayed. But, for
> example, could I define the entire layout of a page (including
> table/cell deminsions) within it?

Forget tables for layout. Use them for tabular data.
Look at some of these templates:
http://www.maxdesign.com.au/presentation/page_layouts/
http://benmeadowcroft.com/webdev/csstemplates/left-column.html

> The CSS examples i've seen show how you can affect how content is
> displayed within cells and whatnot, but the I couldn't see where the
> actual deminsions of the cells.

Forget "cells".

> So, I guess my question is, when would html be used and when will CSS
> be used.

HTML is for content, CSS is for display (including the layout). See
these pages as well:
http://allmyfaqs.net/faq.pl?AnySizeDesign
http://allmyfaqs.net/faq.pl?Tableless_layouts
http://k75s.home.att.net/fontsize.html

--
-bts
-Motorcycles defy gravity; cars just suck

 

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

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