Posts Tagged ‘CSS’
Custom CSS for Internet Explorer 6 & 7
I was working on my mini-project. The project was a CMS for a school. I finished everything about it. I mean the php, mysql javascript, flash, and all that. But i had a small problem with the theme.
To be specific the CSS was different in Internet Explorer. I mean that i had to give internet explorer a different code to get the same effect in the various browsers. Firefox(my all time favorite), Safari and the rest.
IT was only internet explorer that gave me the issues.
Let me get to it.
Efficient and easy way to debug CSS
If you’ve been working with CSS for some time, you’ve probably spent a fair bit of time debugging seemingly untractable problems that turn out to have a very simple solution.
The question: What can we do to debug our CSS faster? is there a streamlined way of debugging CSS.
Okay i want to share with you some few tips that i use in my CSS debugging
Drupal Backend theme issues
If you’ve configured Drupal (www.drupal.org) the way that it
uses different themes for the frontend and the backend, it still kicks
you into the frontend when you edit content.
To change this you have to edit this file:
modules/system/system.module
at the end of the function “function system_menu($may_cache)” look
for the “else” part
// find:
if (arg(0) == ‘admin’)
// repalce with:
if (arg(0) == ‘admin’||
(arg(0)==’node’ && arg(1)==’add’) ||
(arg(0)==’user’ && arg(1)!=”) ||
(arg(0)==’node’ && (arg(2)==’edit’ || arg(2)==’localizernode’))
)