Sourcecode error paginas

Status
Niet open voor verdere reacties.

depappa

Gebruiker
Lid geworden
24 jan 2008
Berichten
27
Ik vraag me af waar de sourcecode van de errorpagina's zit in Firefox.

Ik krijg dit namelijk en dat is behoorlijk vervelend, hij schijnt namelijk helemaal over te worden genomen door enige Yoog, en alles is Engels nu op die pagina...

2) Oh ja, wat er ook gebeurd is dat ik vanaf IRC en MSN geen links meer kan openen. Ik kan erop klikken maar hij opent niet, ik moet de link gewoon kopieren. Ik begrijp niet hoe dit nu zo ineens gebeurd...
 

Bijlagen

  • kanservertnietvinden.jpg
    kanservertnietvinden.jpg
    92,1 KB · Weergaven: 42
Laatst bewerkt:
volgens mij staat hier jouw oplossing:
http://forums.mozillazine.org/viewtopic.php?f=7&t=492177&start=0&st=0&sk=t&sd=a

First, learn about userContent.css:
http://kb.mozillazine.org/UserContent.css
http://kb.mozillazine.org/Profile_folder

Now, the easiest way to learn about the elements on the error page is to go to the source. So, go to the chrome folder in the Firefox program folder, usually C:\Program Files\Mozilla Firefox\chrome in Windows Explorer. Find the file called classic.jar and copy that somewhere else. Rename classic.jar to a .zip file and extract it, preferably to a folder called classic at whatever location you are at. Then, open the classic folder and navigate to ...\classic\skin\classic\global and find the file called netError.css.

Open the netError.css file in Wordpad (Notepad doesn't seem to work for me because then the lines all run together). See all the code that starts with the # symbol? Those are the things you can easily change. Copy all the #ELEMENT code into your userContent.css file.

Now you can start making changes to see what you like. I would make small changes at a time to see if it works the way you want. After each change, you need to close and restart Fx. Here's one to get you going:

Code:
#errorPageContainer {
      -moz-border-radius: 0px !important;
      background-color: red !important;
    }

That should make the box that surrounds the error message be red with square corners instead of white with a rounded corner border. Remember that before every semi-colon, you need to put !important or the change won't do anything.
 
Status
Niet open voor verdere reacties.
Steun Ons

Nieuwste berichten

Terug
Bovenaan Onderaan