in the name of ALAAh finally i create my first Wordpress theme i have problem but not with theme it's with Wordpress i use google syntaxhighlighter plugin and when i add any CSS code in the post all my page change
Now the only thing I can think of is that your problems are coming from the fact that your blog is set up for Arabic, in other words it reads from right to left, and the syntax highlighter doesn't know how to handle that. Unless anybody else has any ideas :?:
This one has been really bugging me so I downloaded the plugin and tried it on one of the Wordpress sites I have on my harddrive. The first attempt gave me the same problem as you, with the page background changing color! So I went to the Google wiki http://code.google.com/p/syntaxhighlighter/wiki/Usage and after reading it carefully found that every time you want an opening angle bracket (<)in your highlighted code you must use the html entity < so in your blog post type it out like this:
<pre name=\"code\" class=\"html\">
<style type=\"text/css\"> body { background:red;} </style>
finally i create my first Wordpress theme i have problem but not with theme it's with Wordpress i use google syntaxhighlighter plugin and when i add any CSS code in the post all my page change
Example : if i write body {background:red;}
all page turn to red .. in all theme even default
blog home
http://aftertesting.com/shuobra/
the red bolg
http://aftertesting.com/shuobra/?p=9#more-9
Here's what I noticed (aside from the lurid red background :) )
If I go to 'view source' your code looks fine, set up exactly the way it is laid out on the google syntaxhighlighter wiki
But, on the actual page it is all messed up
Now the only thing I can think of is that your problems are coming from the fact that your blog is set up for Arabic, in other words it reads from right to left, and the syntax highlighter doesn't know how to handle that.
Unless anybody else has any ideas :?:
ok i will try the english version of word press
thanks :)
http://skitch.com/chriscoyier/bcb4a/sou ... p-9-more-9
thanks for try but its same
http://aftertesting.com/shuobra/?p=9#more-9
by looking at the bright side .. we can make different page background for each Post :)
i think it great Error but i want solve it :)
So I went to the Google wiki http://code.google.com/p/syntaxhighlighter/wiki/Usage and after reading it carefully found that every time you want an opening angle bracket (<)in your highlighted code you must use the html entity < so in your blog post type it out like this:
Problem solved! :D
great job it's solved .. 10000 thanx