Skip to Content

Testing the new code filter

MSameer's picture
int main(int argc, char *argv[]) { printf("Hello, World!\n"); return 0; }

Comments

MSameer's picture

Can anyone of the ppl here ta

Can anyone of the ppl here take care of the CSS ? I don't understand such things!

content.css

// BLOCK BY MOHAMMED SAMEER FOR THE CODE FILTER

Alaa's picture

preformatted text is the job of the browser

please this is a very ugy implementation.

you should not add line breaks yourself, code should be rendered as a prefromatted element.

just put the stuff inside a code tag and give it a whitespace: pre; css attribute.

tab3an this does not work with IE < 6 but what can we do.

cheers,

Alaa


"u know i once dream that the office of mobinil is from el 7`os :S and the one that answer u and tell u rasidak a girl called ghada"

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


Dr. Radut | blog