473,699 Members | 3,022 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 1940
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
3707
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
2216
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
2624
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
3242
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
1434
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
790
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
2015
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
1293
by: najmi | last post by:
anyone know how to open other application with java button
5
1310
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
2607
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
8623
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
9187
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
9053
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...
0
8894
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7776
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6540
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5879
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2015
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.