Jump to content

Need some help with headers


Anthony1994

Recommended Posts

Well I basically I had no idea what this 9000 word post about headers meant so I decided to post here.

My site; www.likecentral.net has a few problems with the header.

This is what I want it look like: http://i47.tinypic.com/swzcbk.png

^ A very rough sketch sorta.

This is what it looks like now: www.likecentral.net

Basically I just want the banner to not be overlapping and for it to be centered.

This is the header code:

<? include('config/config.php');?>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<? if($_GET['like']){ 
    $new_title = stripslashes($rock);
    $seo_title = 'Facebook Like - '.$new_title;
    $ntitle = substr($seo_title,0,47);
    ?>
<title><? echo stripslashes($ntitle).'...'; ?></title> 
<? }else{ ?>
<? if($page == 'recent'){ ?>
<title>Facebook Like - Recent Likes</title> 
<? } ?>
<? if($page == 'new'){ ?>
<title>Facebook Like - Newest Likes</title> 
<? } ?>
<? if($page == 'top'){ ?>
<title>Facebook Like - Top Likes</title> 
<? } ?>
<? if($page == ''){ ?>
<title>Facebook Like</title>
<? } ?>
<? } ?>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="fb-root"></div>
<script>
  window.fbAsyncInit = function() {
    FB.init({appId: 'your app id', status: true, cookie: true,
             xfbml: true});
  };
  (function() {
    var e = document.createElement('script'); e.async = true;
    e.src = document.location.protocol +
      '//connect.facebook.net/en_US/all.js';
    document.getElementById('fb-root').appendChild(e);
  }());
</script>
<div class="wrapper">
    <div class="header">
        <div class="ad1">
             <img src="images/ad_1.png" width="728" height="275" alt="advertisement" />
        </div>
           

 

If you're able to help, please add [email protected] OR post here.

:)

 

Thanks for taking the time to read.

 

Link to comment
https://forums.phpfreaks.com/topic/205487-need-some-help-with-headers/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.