Help

Discussion in 'PHP' started by johnatan46, Jun 30, 2009.

Thread Status:
Not open for further replies.
  1. #1
    Hi, i have a website www.mimp3.net/old and i want put a top bar, but te problem is what no show at the top, the bar show separate from the tom, here are the code of the header:

    <?php
    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT" );
    header("Cache-Control: no-cache, must-revalidate" );
    header("Pragma: no-cache" );

    if(file_exists('../includes/constants.php')){
    include_once "../includes/constants.php";
    include_once "../includes/rating_functions.php";
    } else {
    include_once "includes/constants.php";
    include_once "includes/rating_functions.php";
    }

    ?>
    <script src="http://mimp3.net/topbar/top1.php" type="text/javascript"></script>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' />
    <link href="<?=$web_path;?>css/music.css" type="text/css" rel="stylesheet" />
    <title><? if (isset($_GET[search])) { echo "$search - "; } ?><?=$settings['site_title'];?></title>
    <meta name="keywords" content="<?=$settings['site_keywords'];?>" />
    <meta name="description" content="<?=$settings['site_desc'];?>" />
    <link rel="stylesheet" href="<?=$web_path;?>css/pop.css" media="screen,projection" type="text/css" />
    <link rel="stylesheet" href="<?=$web_path;?>css/style.css" media="screen,projection" type="text/css" />
    <link rel="stylesheet" href="<?=$web_path;?>css/rating_style.css" media="screen,projection" type="text/css" />
    <?
    include $web_root."css/style.php";
    include $web_root."css/rating_style.php";
    include $web_root."includes/functions.php";
    include $web_root."includes/language.php";
    include_once($web_root."includes/sources/init.php");
    ?>

    The red text is the bar, how i can put at the top.

    thanks
     
    johnatan46, Jun 30, 2009 IP
  2. Wrighty

    Wrighty Peon

    Messages:
    199
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    try this css in the music.css file:

    body {
    margin-top: 0px;
    }
    Code (css):
     
    Wrighty, Jun 30, 2009 IP
  3. johnatan46

    johnatan46 Banned

    Messages:
    674
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks, really works, very very thankful
     
    johnatan46, Jun 30, 2009 IP
  4. Wrighty

    Wrighty Peon

    Messages:
    199
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    :) Glad to help
     
    Wrighty, Jul 1, 2009 IP
Thread Status:
Not open for further replies.