Results 1 to 3 of 3

Thread: PHP/CSS Problem

  1. #1
    Join Date
    Oct 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy PHP/CSS Problem

    I am using require() to pull different parts of the web page together. I am also using a linked CSS file. The require() seems to be stacking the CSS divs on top of each other instead. When all the elements are in one page, everything looks fine.

    Any ideas?

    Thanks and Karma points to all who answer?

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    You may be using require more than once, or you may have just designed it with too many divs. No one can tell without a link to your page.

    You could use require_once(), which will be sure that you only get one instance of the page included.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    557
    Thanks
    8
    Thanked 66 Times in 66 Posts

    Default

    Quote Originally Posted by Modemguy View Post
    I am using require() to pull different parts of the web page together. I am also using a linked CSS file. The require() seems to be stacking the CSS divs on top of each other instead. When all the elements are in one page, everything looks fine.

    Any ideas?

    Thanks and Karma points to all who answer?
    Something doesn't seem right there....perhaps its an HTML problem? I suggest double-checking your ending tags, and make sure every tag is ended properly.

    Josh
    - Josh

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
  •