You are here: Re: html to css help!! « HTML « IT news, forums, messages
Re: html to css help!!

Posted by Jukka K. Korpela on 08/15/06 21:14

Andy Dingley <dingbat@codesmiths.com> scripsit:

>> im a newbie to css..i know most html. i need to change this html to
>> xhtml and css.
>
> Forget XHTML. Convert it to CSS first. (HTML to XHTML is easy)

I would rather say: Forget conversions. Start learning modern www authoring,
and design new pages well. "Cleaning up" existing pages is usually waste of
time or worse. As old programmers say: "There is always someone who rewrites
working code, to clean it up, or to speed it up." (The point is that Real
Programmers do something else, of course.)

>> I tried all those online tutorials but its a no go.
>
> This isn't quite "do my homework for me", but you're awfully close.

It could also be "I took a paid job, please do my work for me".

> As you think we can work from a tiny fragment of your HTML without seeing
> the whole thing, then I suggest the answer for the CSS would have to
> be this
> (it's real code, it's just not all of it):
>
> .pink { background-color: pink; }


Unfortunately parodies usually fail. It's not real code, in the sense that
it does not comply with CSS specifications: the symbol pink is undefined
(not a defined color name). Conforming browsers are therefore required to
ignore the rule. Besides, it is bad practice to set background color without
setting foreground color (and background image, to none or to some other
value).

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 

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

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