Losing My CSS styles

Posted on 2007-09-30
Last Modified: 2007-09-30
I have downloaded a script that lets me upload files to my server. Problem is the integration of the script with my normal website.
The script is here ............mysite/easyuploader/cp/all .php script files
My main index.php page is here........ mysite/index.php
My main css file is here.....................mysite/index.php

I have to integrate 2 php scripts into 2 of my webpages pages login.php & upload form .php. However when I try to integrate these scripts the CSS dosnt kick in properly.
Here is the homepage and login page ( (This is the problem)

Question by:kevinb4940
    LVL 20

    Expert Comment

    by:Muhammad Wasif
    Provide the full path to css

    <link rel="stylesheet" type="text/css" href="" />
    LVL 28

    Accepted Solution

    Hi, the only css file I can find (800px.css) seems to work ok. What I don't uderstand are the 2 rulesets in the short css section of the login page:

    .style1 {color: #000000}
    back {
          background-image: url(../../images/background-800px.gif);

    I can't find an element with the class "style1" on that page, and "back" is neither a tag, nor class, nor id. Shouldn't it be

    body {  background-image: url(../../images/background-800px.gif);  }

    Author Comment

    Thanks Guys
    Hey Tname, Take a look at whats happened now

    The <div id="wrap"> is not kicking in.
    margin:10px auto;
    LVL 28

    Assisted Solution

    What makes you thinkthat it doesn't work?
    Thw font color works, the width, the margin seem to work also. Only the margin auto won't center in IE6 because you don't have a (valid) doctype.
    Either add a doctype like
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "">
    or specify  "text-align:center" on the wrapper's *parent*


    Author Comment

    Genius TName! The points are yours.  

    Thanks a million! I can stop banging my head off the wall now
    LVL 28

    Expert Comment

    You're welcome and thanks!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Part of the Global Positioning System A geocode ( is the major subset of a GPS coordinate (, the other parts being the altitude and t…
    Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now