0

HELP !!

The header to my website is designed in css with <div> tags and some times the whole background does not load....any thoughts?

Also I am considering the possibility that my header should not call to my stlye.css file, but that the header should be a table with the table having it own style...any thoughts on this would be really appreciated

thank you
sean

4
Contributors
3
Replies
4
Views
10 Years
Discussion Span
Last Post by Godfear1
0

It could be due to your server not being able to serve all files to a client. You may want to try a different host if this is becoming a problem.

Secondly, another thing you can do is embed the css file into the html source of your document. Either manually paste it in, or if you're using PHP or some other scripting language, you can add a command to dynamically add the css to the page when a request is given. Here is how a page would look with embedded css:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>MyPage</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

  <style type="text/css">
 /* css goes here... */

ul.menu,
ul.menu li a {
    text-decoration: none;
    padding: 5px 15px 6px; 
</style>
.
.
.

Hope this helps

0

Joeprogrammer is right. Its probably the server. Putting your CSS in the HTML would help cut down on unloaded files because there are less files to load and if the CSS file does not load then your background file will not load if it is specified in the CSS. Finding another server would be your best bet.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.