SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    May 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    css issues with php files

    as soon as I put in the
    <?php
    session_cache_limiter('none');
    session_start();
    ob_start();
    include "vsadmin/db_conn_open.php";
    include "vsadmin/inc/metainfo.php";?>

    above the <Head> My site design gets shifted to the left on the php files only, and I have only seen it 321siteie.jpgin ie9.

    321actionvideo .com/videogalleries.php

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,598
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    Hi mjcloward. Welcome to the forums.

    For one thing, your pages need a doctype. Even this will do:

    <!DOCTYPE html>

    Always include a doctype at the top of your HTML.

    I'm not sure if there's anything wrong with your PHP—but that's not an issue for this forum. I would suggest that you put a space between the closing ?> and what comes before it, but I don't know if that's an error or not.

  3. #3
    SitePoint Member
    Join Date
    May 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    that worked, thanks


Bookmarks

Posting Permissions

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