Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

Firefox current version will not run my html code located on my PC

  • 26 ответов
  • 1 имеет эту проблему
  • 18 просмотров
  • Последний ответ от Patrick

more options

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

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

Все ответы (6)

more options

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>

more options

Can you open this GIF image directly in Firefox in a tab via "File -> Open File" (Ctrl + O) ?

more options

Yes, it's a nice picture of sky and clouds.

more options

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.

more options

You can try to omit the leading '/':

  • body { background-image: url(icon/bg.gif); background-color: #fef6d7; }
more options

I deleted the entire line after getting your line to put in the background color which I like very much. It's a keeper.

  1. 1
  2. 2