campo
August 4th, 2007, 02:28 PM
Hi to you all.
I pride myself that in over 700 pages on my websites almost everything will validate but, increasingly, I also want to validate my use of CSS. Mostly that is fine but I just discovered that my rather dramatic pullquotes system from a main article (while presenting no problem for xhtml validation), will not validate as CSS.
Here is the CSS I use (within an article when and where I need it):
<p style=
"float:left;width:35%;padding:8px;border:2px solid black;font-size:1.5em;line-height:1.2em;margin-top:15px;margin-left;20px;margin-bottom:15px;margin-right:30px;background-color:#ffffcc;font-weight:bold;">
That basic system works real fine. I would be most grateful how to tweak this for CSS validation ??
campo
I pride myself that in over 700 pages on my websites almost everything will validate but, increasingly, I also want to validate my use of CSS. Mostly that is fine but I just discovered that my rather dramatic pullquotes system from a main article (while presenting no problem for xhtml validation), will not validate as CSS.
Here is the CSS I use (within an article when and where I need it):
<p style=
"float:left;width:35%;padding:8px;border:2px solid black;font-size:1.5em;line-height:1.2em;margin-top:15px;margin-left;20px;margin-bottom:15px;margin-right:30px;background-color:#ffffcc;font-weight:bold;">
That basic system works real fine. I would be most grateful how to tweak this for CSS validation ??
campo