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

Recommended Answers

All 3 Replies

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

can you post the code, would be much easier to figure out

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.