If you are attempting to edit a web page in MS Word, Word is probably imposing its own styles that are overriding yours. Try editing the file in a plain text editor.
Besides overriding styles, make sure that the CSS in question actually applies, by class, identity, or inheritance, to the text you want to affect. Also, a typo or other error in your style block can cause everything following it to be ignored. You can validate your CSS at http://jigsaw.w3.org/css-validator/, or use the link in the Web Developer toolbar in Firefox.
2007-01-17 05:19:33
·
answer #1
·
answered by injanier 7
·
0⤊
0⤋
Don't use Microsoft for editing your HTML files. Word isn't well designed for it, and the built-in plain text editor Notepad has a funky bug that may corrupt parts of your code (you may have heard of it referred to as the "Bush hid the facts" bug).
Granted, I do use Notepad by default, but when I need to do serious web page programming (HTML + CSS + JavaScript), I found the free program jEdit works wonders for editing as it provides syntax hilighting and other development tools. It requires you to have Java installed, but that's only an additional free download.
Also, MSIE doesn't offer JavaScript debugging so I test the code using the free Firefox browser where necessary to track down bugs and verify layout design (about 25% of my website visitors use Firefox). There are some limitiations when it comes to using things such as ActiveX controls in Firefox though.
.
2007-01-17 12:29:59
·
answer #2
·
answered by SkewsMe.com 3
·
0⤊
0⤋
why are you using ms word to do css? microsoft products tend to complicate simple tasks by adding lots of useless data. why don't you open up a simple text editor and do your css there. as for your problem, give us the piec of code thats giving you a headache.
ps: interpretation of css varies between browsers. i prefer to use PX instead of EM or %
2007-01-18 00:54:26
·
answer #3
·
answered by Moyo 2
·
0⤊
0⤋
Word has this awful habit of not encompassing the styles you want.
Look at the document in code form (open it in Notepad)
The following creates a style called 's'
your page here !!!
This creates all characters in Arial Font size 12px
2007-01-17 05:09:08
·
answer #4
·
answered by id36uk 3
·
0⤊
0⤋