Results 1 to 10 of 10

Thread: any change in header leads to messed up page

  1. #1
    Join Date
    Sep 2003
    Location
    Amsterdam, NL
    Posts
    8

    Default any change in header leads to messed up page

    When I modify the header-file I loose the layout of the page: the white background disappears and all content is left-aligned. I use Dreamweaver 4.

    Has anyone any idea what I'm doing wrong? It's not that I change much: even when I alter the word 'Home' the layout messes up. Or when I change the logo.

  2. #2
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    might want to try something besides dreamweaver to edit your templates. Never used DW but have heard that it inserts code. the header does not contain the closing table elements nor does it have the closing </body></html> tags. DW may insert some or all of that.

    Try using an ascii type editor. there are a few posts on "favorite" software you can search for.
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  3. #3
    Join Date
    Jul 2002
    Location
    California
    Posts
    57

    Default

    I edit in dreamweaver but do not save the code...

    After completing the changes, just copy the html and paste it back in the template online.

    No problems, only when you save the file locally.

    Allen

  4. #4
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    sounds like DW problem to me
    Last edited by esm; 09-21-2003 at 02:10 AM.
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  5. #5
    aladdin Guest

    Default

    Try notepad or any simple text editor.

  6. #6
    Join Date
    Sep 2003
    Location
    Amsterdam, NL
    Posts
    8

    Default

    Thanks,
    I will edit in notepad.

  7. #7
    Join Date
    Apr 2002
    Posts
    351

    Default

    Can you please post a copy of the code that you are having problems with.

  8. #8
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    try ConText at http://www.fixedsys.com/context/. At least it is free. And you can download a highlighter for PHP.

    But one of the best editors is at http://www.editplus.com. Cost about $30 but is well worth it.
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  9. #9
    Join Date
    Sep 2003
    Location
    Amsterdam, NL
    Posts
    8

    Default

    Hi Veg,

    I just wanted to translate this into Dutch.

    <a href=index.php class=menu>Home</a>
    &nbsp; &nbsp; <a href=new.php class=menu>New Listings</a>
    &nbsp; &nbsp; <a href=hot.php class=menu>Hot Listings</a>
    &nbsp; &nbsp; <a href=top_rated.php class=menu>Top Rated</a>
    &nbsp; &nbsp; <a href=pick.php class=menu>Editor Pick</a>
    &nbsp; &nbsp; <a href=cp/ class=menu>My Account</a>
    &nbsp; &nbsp; <a href="user_search.php?pflag=search" class=menu>Members</a>

    Changing it in notepad works fine for me. It's not that I'm good at programming, but it's good practice to keep the scripts as clean as possible, isn't it.

  10. #10
    Join Date
    Apr 2002
    Posts
    351

    Default

    Originally posted by StepFenz
    Hi Veg,

    Changing it in notepad works fine for me. It's not that I'm good at programming, but it's good practice to keep the scripts as clean as possible, isn't it.
    If it works fine using notepad then continue to use it if possible.

Similar Threads

  1. Replies: 2
    Last Post: 05-12-2004, 10:18 PM
  2. what does it mean ?
    By lewisw in forum v5.x
    Replies: 10
    Last Post: 08-29-2003, 02:05 AM
  3. Change title of the search page results
    By craven in forum v5.x
    Replies: 8
    Last Post: 11-17-2002, 06:58 PM
  4. Header & Footer on "My Account" page
    By joyorudis in forum v5.x
    Replies: 5
    Last Post: 08-04-2002, 09:04 PM
  5. Replies: 1
    Last Post: 01-25-2002, 06:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •