Style Sheets - yuk!

Posted on 2003-03-19
Medium Priority
Last Modified: 2010-04-09
How do I rid my web page of style sheet code?  I tried the Remove formatting options in Word XP and Frontpage 2000 but they didn't work.  For some reason they don't seem to regard style sheets as formatting?!?!!?

I hope I don't have to do it manually.  Can I set the programs to NOT insert style sheet codes in the first place?
Question by:jhint
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 8171386
You can select all of the text in Frontpage, and then click Format > Remove Formatting.  If that doesn't work, you can copy the text to notepad first, then paste it into Frontpage.
LVL 63

Expert Comment

ID: 8172355
Look in Word XP for: Extras->Add-Ins
There is a CSS button to arange CSS
LVL 19

Expert Comment

ID: 8174012
If either of those work, or you find something else that works, please post it. I've never found ANYTHING that really cleaned up Word HTML very well.

FP doesn't add much style info (it's really bad with styles), but Word adds a TON of MS proprietary pseudo-XML code.  
Tutorial: Introduction to Managing a Linux Server

In this tutorial on systemd, we will explore:
-OS/Distro Adoption
-chkconfig and Other Legacy Commands
-Summary and Key Commands


Expert Comment

ID: 8174713
Copying the code from Word to notepad always works.  You can then copy it to Frontpage, and you'll have to redo the formatting in Frontpage (bold, italics, tables, etc.)  But it's better than having a bunch of extra css code that doesn't need to be there.

I usually use this method when doing updates for dallaschild.com

Accepted Solution

Victor_R earned 750 total points
ID: 8175687
Word is absolutely horrible as an HTML editor. This is quite simply because it is not meant as an HTML editor.

Frontpage is not that great either.

The best I've found (by FAR) is Macromedia Dreamweaver.

Author Comment

ID: 8207682
Thanks, Dreamweaver is ok but it still doesn't easily strip CCS code out as far as I can see so far. But you can do it laboriously.

Featured Post

7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question