1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

General Headers

Discussion in 'General' started by g0dd13, Feb 25, 2008.

  1. g0dd13

    g0dd13 New Member

    Hey,
    so I have used the hairsalon template and edited some stuff away and inputtet my own.
    Now the problem is my head-1 and head-2 DO show up on frontpage and the preview, but not when I upload it to my host.
    I didn't change any codes in that part.
    Please help me out on this one!
     
  2. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Are your pics in a image dir on the host? Head1&2 are refference from style.css did you change that file. Are you pics jpg?
     
  3. g0dd13

    g0dd13 New Member

    1.yes
    2.yes
    3.yes
     
  4. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    put a link to your web so we can view it.
    what editor are you using?
     
  5. g0dd13

    g0dd13 New Member

    Frontpage
    www.arts-of-natah-bale.be
     
  6. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Frontpage or Dreamweaver and a few other editors are not code editors per say, they are designed to allow you to work without knowing code. Which is ok until you have a problem, because most people do not take the time to try to understand how they work, they cause alot of frustration.
    By the way are you Dutch?
    All of these editors create numerous files and directories just to do one thing, which for me is too much overhead.
    Let's look at your code: index.html
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="Content-Language" content="nl-be">
    <title>Arts Of Natah Bale</title>
    <link rel="stylesheet" href="../hairsalon/style.css" type="text/css" charset="utf-8" />
    This is where Frontpage stores the files on your pc.
    I might expect to see href="css/style.css" on the server.
    moving down your page----
    <body>
    <div id="wrapper">
    <h1><span class="hone"><em>A</em>rts</span> <span class="htwo">OF NATAH BALE</span>
    <span class="hthree"><span style="font-size: 5pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    Feitelijke Vereniging</span></span></h1>
    <div id="head-1" style="visibility: visible"></div>
    <div id="head-2" style="visibility: visible"></div>
    Looks like FP created another style for you. I might try removing this.
    moving down your page----
    <ul>
    <li><a href="index.html">HOME</a></li> "OK"
    <li><a href="Over%20ons.html">OVER ONS</a></li> "FP did it again"
    <li><a href="Schilderijen.htm">SCHILDERIJEN</a></li> "HTM or HTML?"
    Moving down page some more----
    <img src="../Schilderijen/Images%20klein/Bali%20klein.bmp"
    Here we find FP using it's internal reference again
    "../ and %20
    I would expect <img src"images/myfile.bmp"
    Now that we see all that FP can do for your files (your other pages are just like this one), you answered yes to all three questions.
    So now you need to look at style.css an see what FP did there.
    Here is what it use to look like:
    #head-1 {
    background: url(images/head_1.jpg) no-repeat;
    width: 409px;
    height: 386px;
    top: 0;
    left: 369px;
    position: absolute;
    }
    #head-2 {
    background: url(images/head_2.jpg) no-repeat;
    width: 156px;
    height: 38px;
    top: 386px;
    left: 622px;
    position: absolute;
    }

    I hope this helps you solve your problem.
    Your not German, you must be Dutch
     
  7. g0dd13

    g0dd13 New Member

    I am belgian, wich is half dutch speaking, half french speaking.
    But back to subject,
    are you still going to edit your post? because I have no clue what to do now... Or I might have read over it.
     
  8. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    I was close.
    What part did you not understand.
    Simple Explaination:
    You are using frontpage which Microsoft dumped for Expression web. Frontpage Dreamweaver and other programs like this use dwt file format which requires alot of background files for support. This is why in the preview mode you can see it. If you use an editor say Alleycode HTML Editor you will see the files in their original format and when you edit them you get what you see. Frontpage requires frontpage extentions to be on at the server end. You can edit with Frontpage but you get a mess like what is posted above, it is the coding of your web site. The items in red seem to be the problems. Try to fix them first.
    If you look at the template you downloaded it has:
    images directory
    index.html file
    style.css file
    if you were to upload these 3 to your web the structure would look like just what I typed not
    href="../hairsalon/style.css"
    href="Over%20ons.html"
    If you know DOS then you understand the wild cards (.. % ?) that's part of what Frontpage uses in it's file structure. Give Alleycode HTML Editor a try it's Free and your problems will go away.
    Did I mention I am Czech and Itilian.
     
  9. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member