Martin wrote in dk.edb.internet.webdesign.clientside:
> Jimmy skov Adetunji wrote:
> > "a[namehreftargettitleonclick],img[classsrcborder=0alttit
> > lehspacevspacewidthheightalignonmouseoveronmouseoutname],
> > hr[classwidthsizenoshade],font[facesizecolorstyle],span[cla
> > ssalignstyle]"
>
> Her er der netop ingen P tags, så p tag er ikke valid.
>
> Så indsæt dette
>
> ,p[style]
tak for svaret, virkede selvfølgelig med det samme.
Men.....
Jeg bruger også et script med flere valgmuligheder og her kan jeg
ikke få det til at virke....
kan du også hjælpe her?
Koden er:
<script type="text/javascript">
tinyMCE.init({
// General options
mode : "textareas",
theme : "advanced",
plugins :
"safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,e
motions,iespell,insertdatetime,preview,media,searchreplace,print,
contextmenu,paste,directionality,fullscreen,noneditable,visualcha
rs,nonbreaking,xhtmlxtras,template,inlinepopups",
// Theme options
theme_advanced_buttons1 :
"save,newdocument,|,bold,italic,underline,strikethrough,|,justify
left,justifycenter,justifyright,justifyfull,|,styleselect,formats
elect,fontselect,fontsizeselect",
theme_advanced_buttons2 :
"cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,nu
mlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,ancho
r,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forec
olor,backcolor",
theme_advanced_buttons3 :
"tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,em
otions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
theme_advanced_buttons4 :
"insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cit
e,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template
,pagebreak",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
// Example word content CSS (should be your site CSS) this one
removes paragraph margins
content_css : "css/word.css",
// Drop lists for link/image/media/template dialogs
template_external_list_url : "lists/template_list.js",
external_link_list_url : "lists/link_list.js",
external_image_list_url : "lists/image_list.js",
media_external_list_url : "lists/media_list.js",
// Replace values for the template plugin
template_replace_values : {
username : "Some User",
staffid : "991234"
}
});
</script>
--
Vil du lære at kode HTML, XHTML, CSS, SSI, ASP eller ASP.NET?
- Pædagogiske tutorials på dansk
- Kom godt i gang med koderne
KLIK HER! =>
http://www.html.dk/tutorials