User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 391,555 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,625 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 941 | Replies: 3
Reply
Join Date: Dec 2006
Location: online at woocha.com
Posts: 41
Reputation: woocha is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
woocha's Avatar
woocha woocha is offline Offline
Light Poster

Help Css help for a newbie -- HELP !!

  #1  
Jan 7th, 2007
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
FREE Online Auctions At:
http://www.woocha.com/auctions
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2006
Location: Canada
Posts: 4,445
Reputation: John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light John A is a glorious beacon of light 
Rep Power: 15
Solved Threads: 265
Moderator
Staff Writer
Featured Blogger
John A's Avatar
John A John A is offline Offline
Vampirical Moderator

Re: Css help for a newbie -- HELP !!

  #2  
Jan 7th, 2007
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
tuxation.com - Linux articles, tutorials, and discussions
Reply With Quote  
Join Date: Aug 2006
Posts: 17
Reputation: webecho is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
webecho webecho is offline Offline
Newbie Poster

Re: Css help for a newbie -- HELP !!

  #3  
Jan 10th, 2007
can you post the code, would be much easier to figure out
Reply With Quote  
Join Date: Oct 2006
Location: Idaho
Posts: 44
Reputation: Godfear1 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 3
Godfear1's Avatar
Godfear1 Godfear1 is offline Offline
Light Poster

Re: Css help for a newbie -- HELP !!

  #4  
Jan 11th, 2007
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.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 9:32 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC