473,748 Members | 2,688 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

critical problem with html,help needed

2 New Member
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, 65 views)
Feb 25 '12 #1
2 1943
ali2mdj
1 New Member
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
steelo kalil
2 New Member
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
3708
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 in a setup package for Windows 95? From what I have read, I think these files are shipped with Windows 98 and up. The OCX
4
2218
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 time and there is also a check on that. If time is empty return error message. Again the explorer returns error message and then shifts the focus to date field, again error message and focus goes to time and this story goes on and on, untill...
3
2627
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 example: <Option Box 1> <Option Box 2> <Option Box 3>
6
3249
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: Compilation failed while compiling index.hhk Thanks Paul
1
1437
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 I made with HTML Help Workshop. It works fine on my laptop, where I made the app., even after publishing (ClickOnce) and installing from CD. But when I want the application to run on my other computer, the application runs well, but my...
0
791
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 got the html files with css styles and the css styles don't work :( (ii) When I move the chm file to the different folder - it losses the html files and it doesn't show anything. Please help,
1
2018
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 . The calender works perfectly fine for plain old jsp files but when i tried it for my jsp page with struts tags its not working...why is this behaviour shown with struts tags? ive had many a trouble with the struts tags earlier. how can i make it work...
3
1295
by: najmi | last post by:
anyone know how to open other application with java button
5
1312
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 and Get functions work, but the Update does nothing. No errors are thrown and no changes are made. Here's my code In the DBHelper class:
16
2610
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 new table called "working" based on another table called "source". I have to do this about once a week but my "source" table changes depending on the week. So I created a "Ref_data" where field1 is the table name of my "source" and field2 are the...
0
8995
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8832
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9561
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9381
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9332
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3316
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2217
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.