Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorArun
    • CommentTimeFeb 5th 2006 edited
     permalink
    Hi guys,

    Me, and one of my friend is making a cms using php. I don't know php I am just doing css styles only my friend is doing php. Ok let me describe my problem.

    There are 3 main files

    1) Top.php (top content and banner all top part is in this file)
    2) Navigation.php (navigation part)
    3)Footer.php (footer content and all)

    These 3 files are including in all other files like homepage, inner page etc.
    Eg of top.php
    Some php coading and …
    <div id="top">
    <div id="top_logo"> <img src="images/logo.jpg" alt="The Association of Independents In Radio" name="logo" border="0" id="logo" /></div>
    <div id="utility_admin">Logged in as <span class="style1"><?=$_SESSION["AdminUserName"];?></span> on <span class="style2"><?= $LoginDate . " @ " . $_SESSION["LoginTime"];?></span></div>
    </div>

    Here I am not including css file but in the main page like home page I am linking css file. And I am calling all other (top.php, navigation.php, footer.php) etc
    This is working in IE, Mozilla, Opera 7+, NS 7+.

    But my client using Mac he wants this in safari. In safari the css is not working properly the including files like (top.php, navigation.php ) are don’t have css styles.

    Later I tried to include css in (top.php, navigation.php etc.) But no change same effect which I saw before.

    Can u please help me for this solution? The files are not uploaded, or I will give u the link .
  1.  permalink
    you need to link the style sheet in the top.php file and only the top.php file. i build sites similar to what you have laid out here, and you should only link it once.
    •  
      CommentAuthortsk
    • CommentTimeFeb 5th 2006
     permalink
    i second climaxdesigns on that one. I had the same problem some time ago and found that the css is needed ONLY once in the first included file.

    I don't know what your friend's style of programing is but if I may offer a suggestion: use a file that is included all around your CMS that contains required elements for every page (connection to the database, session_start() - if used and the link for the css). As this page is always the first one included (on most occasions) you shouldn't have any problems with any of the above
Add your comments
    Username Password
  • Format comments as (Help)