Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

creating CSS for existing site

1 view
Skip to first unread message

Jeff

unread,
Jun 4, 2007, 10:43:22 PM6/4/07
to
I have an old existing large website (100 pages) that was written in
plain HTML in the 90's when CSS was not yet widely used. What would be
the best way to update it to CSS and what would be the advantages for
doing so?

Are there special tools to help. I would rather not have to re-write
the code all over again.

Thanks.

Jeff


Adrienne Boswell

unread,
Jun 5, 2007, 10:25:12 AM6/5/07
to
Gazing into my crystal ball I observed "Jeff" <Will...@naol.com> writing
in news:6b49i.175026$nh4....@newsfe20.lga:

It depends on how rigid your existing markup is, and how much
presentational markup you are already using. If you havea lot of nested
tables, you could have a big problem.

You could use search and replace:
Replace </head> with <style type="text/css" rel="stylesheet"
href="filename.css"></head>

Look into HTML-Tidy that can upgrade to CSS. I would use a plain text
editor, HTML-Kit is a good choice.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Jeff

unread,
Jun 5, 2007, 6:17:58 PM6/5/07
to
Adrienne Boswell wrote:
> Gazing into my crystal ball I observed "Jeff" <Will...@naol.com>
> writing in news:6b49i.175026$nh4....@newsfe20.lga:
>
>> I have an old existing large website (100 pages) that was written in
>> plain HTML in the 90's when CSS was not yet widely used. What would
>> be the best way to update it to CSS and what would be the advantages
>> for doing so?
>>
>> Are there special tools to help. I would rather not have to re-write
>> the code all over again.
>>
>> Thanks.
>>
>> Jeff
>>
>>
>>
>
> It depends on how rigid your existing markup is, and how much
> presentational markup you are already using. If you havea lot of
> nested tables, you could have a big problem.
>
> You could use search and replace:
> Replace </head> with <style type="text/css" rel="stylesheet"
> href="filename.css"></head>
>
> Look into HTML-Tidy that can upgrade to CSS. I would use a plain text
> editor, HTML-Kit is a good choice.

Thanks Adrienne

I do have a lot of tables ...... Will check out out the two you
mentioned.

Thanks.

jeff


0 new messages