Firefox current version will not run my html code located on my PC
Current version of FF:
I have html code from a previous, old, project that did run on an office intranet that used Firefox as our internet browser. It's totally basic html. I've tried to get the html code to run on my PC on this current FF browser and it just does not, nor are there any error codes. WHY?
My html has exactly the same opening and closing items as you can see in the book on html for "Dummies."
I need to see the code in operation so I can update to a new project I'm starting. What do I do?
If anyone wants to see my code, I'll gladly post it.
Thanks,
Pat
Alle Antworten (6)
You can add a style tag in the HEAD tag to setup styles if you need to style more elements.
<!DOCTYPE html> <html> <head> <style> body { background-image: url(/icon/bg.gif); background-color: #fef6d7; } </style> </head> <body> </body> </html>
Can you open this GIF image directly in Firefox in a tab via "File -> Open File" (Ctrl + O) ?
Yes, it's a nice picture of sky and clouds.
Thanks for the: <style> body { background-image: url(/icon/bg.gif); background-color: #fef6d7; } </style>
A background color really adds a lot to the view-ability of the screen.
You can try to omit the leading '/':
- body { background-image: url(icon/bg.gif); background-color: #fef6d7; }
I deleted the entire line after getting your line to put in the background color which I like very much. It's a keeper.