473,385 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

critical problem with html,help needed

i designed a header of a webpage,this header had a css file.
problem after i designed the page i can see the content of it if i open it directly but i canot see the content of the page if i open it through wamp serever or if i upload it to my domain...i check it many times but canot find the solution for this.

the header code is:
Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5.     <title></title>
  6.  
  7.     <link rel="stylesheet" type="text/css" href="file:///C|/wamp/www/site/css/css/header.css" />
  8.     </head>
  9. <body>
  10.     <div class="container">
  11.         <div class="logo">
  12.             <div class="align">
  13.                 <img alt="" src="file:///C|/wamp/www/site/images/pic/logo_mail.png" height="55" width="200">
  14.             </div>
  15.         </div>
  16.     </div>
  17.  
  18. </body>
  19. </html>
  20.  




and the css file code is:
Expand|Select|Wrap|Line Numbers
  1. @charset "utf-8";
  2. /* CSS Document */
  3.  
  4.  body{
  5.     margin: 0;
  6.     padding: 0;
  7.     border: 0;
  8.     outline: 0;
  9. }
  10. .container{
  11.     background: url(file:///C|/wamp/www/site/images/pic/header.jpg) repeat-x top left;
  12.     top: 0;
  13.     height: 86px;
  14. }
  15. .logo{
  16.     margin: auto;
  17.     padding-top: 40px;
  18.     width: 900px;
  19. }
  20. .align{
  21.     float: left;
  22. }
  23. html.rtl .align { 
  24.     float: right; 
  25. }
  26. img{
  27.     border:none;
  28. }
  29.  
  30.  

i have also attached the content of the page.
please help me to solve it.
thank you
Attached Files
File Type: zip site.zip (14.2 KB, 64 views)
Feb 25 '12 #1

✓ answered by ali2mdj

man you are 0 in html

this is header code.
Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2.     <html xmlns="http://www.w3.org/1999/xhtml">
  3.     <head>
  4.         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5.         <title></title>
  6.  
  7.         <link rel="stylesheet" type="text/css" href="../css/css/header.css" />
  8.         </head>
  9.     <body>
  10.         <div class="container">
  11.             <div class="logo">
  12.                 <div class="align">
  13.                     <img alt="" src="../images/pic/logo_mail.png" height="55" width="200">
  14.                 </div>
  15.             </div>
  16.         </div>
  17.  
  18.     </body>
  19.     </html>

and this is css.
Expand|Select|Wrap|Line Numbers
  1. @charset "utf-8";
  2. /* CSS Document */
  3.  
  4.  body{
  5.     margin: 0;
  6.     padding: 0;
  7.     border: 0;
  8.     outline: 0;
  9. }
  10. .container{
  11.     background: url(../../images/pic/header.jpg) repeat-x top left;
  12.     top: 0;
  13.     height: 86px;
  14. }
  15. .logo{
  16.     margin: auto;
  17.     padding-top: 40px;
  18.     width: 900px;
  19. }
  20. .align{
  21.     float: left;
  22. }
  23. html.rtl .align { 
  24.     float: right; 
  25. }
  26. img{
  27.     border:none;
  28. }
  29.  

2 1918
man you are 0 in html

this is header code.
Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2.     <html xmlns="http://www.w3.org/1999/xhtml">
  3.     <head>
  4.         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5.         <title></title>
  6.  
  7.         <link rel="stylesheet" type="text/css" href="../css/css/header.css" />
  8.         </head>
  9.     <body>
  10.         <div class="container">
  11.             <div class="logo">
  12.                 <div class="align">
  13.                     <img alt="" src="../images/pic/logo_mail.png" height="55" width="200">
  14.                 </div>
  15.             </div>
  16.         </div>
  17.  
  18.     </body>
  19.     </html>

and this is css.
Expand|Select|Wrap|Line Numbers
  1. @charset "utf-8";
  2. /* CSS Document */
  3.  
  4.  body{
  5.     margin: 0;
  6.     padding: 0;
  7.     border: 0;
  8.     outline: 0;
  9. }
  10. .container{
  11.     background: url(../../images/pic/header.jpg) repeat-x top left;
  12.     top: 0;
  13.     height: 86px;
  14. }
  15. .logo{
  16.     margin: auto;
  17.     padding-top: 40px;
  18.     width: 900px;
  19. }
  20. .align{
  21.     float: left;
  22. }
  23. html.rtl .align { 
  24.     float: right; 
  25. }
  26. img{
  27.     border:none;
  28. }
  29.  
Feb 25 '12 #2
man when you said am 0 in html you Praised me,,,,i think for this issue i can consider my level in html as <-100>.
The bug is fixed...Thank you for your help
Feb 26 '12 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Mike | last post by:
I have used a .CHM html help file with my application. I was wondering if it is recommended to ship the associated files: hh.exe itircl.dll itss.dll hhctrl.ocx Should this just be included...
4
by: Nitin | last post by:
Hi I have created function to check date and time. at the time of execution, if date is left empty the function returns the error message but then the focus goes to next field. Next filed is for...
3
by: Tony Kim | last post by:
Hi everyone, i have an assignment that needs immediate attention and was hoping i would be able to get some help here. im trying to create 3 option boxes that are linked together. for...
6
by: Paul | last post by:
Not sure if this is the correct place to post the problem, but trying to use the HTML help workshop and trying to create the index file automatically. Anyhow I get the error below HHC5003: Error:...
1
by: Alain \Mbuna\ | last post by:
Hi to you all. As a beginning programmer, I finally succeeded in finishing my first application. I made the application with VB expr 2005 and provided the application with a help project, which...
0
by: mr.szpaw | last post by:
Well... I'm writing a help for my application in MS Help Workshop. I add html files and try to compile it. And it's ok, it compiles and I get the chm files. But... (i) it losses the syles. I've...
1
by: ajos | last post by:
hi friends, Im developing a web based project in struts framework, i have certain forms in them, which contain date field among others. For this purpose i got a calender pop-up from here tigra ....
3
by: najmi | last post by:
anyone know how to open other application with java button
5
by: Nilla | last post by:
hi, I'm trying to write the simplest db application using C#, ASP and LINQtosQL but cannot get the Update function to work. I have used the codemodel from a sample called IntroToLinq. My Insert...
16
by: timber910 | last post by:
Hello All, I've been searching for over a week and have found a good start but can't seem to make what I want work. I either get an error or a blank table. What I'm looking for. I have to make a...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.