Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CSS Help needed - link included

    Hi. I, like others, am trying to familiarize myself with CSS as I am learning that there are great benefits of using them.
    But I think I'm creating a mess!

    Please take a look:
    http://multimediaelements.com/stuff/local2/home.html
    Here are my issues:
    1. Background image wont appear ( it was, up until I tried making the home.html page a template)
    2. The nav buttons- on click they change padding or right margins - the lower line gets smaller, and the button labeled 'Best Pactices' shifts
    3. The left side of the tab labeled HOME doesnt show up.
    4. Last, but not least, when I tried to make this into a template, things got wacky...

  • #2
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    First of all, your page comes up with 11 (somewhat minor) errors in the validator (http://validator.w3.org/check?uri=ht...l2%2Fhome.html)

    However, error #8 may have something to do with your background not showing up...

    It's hard to be sure that a layout will work anyway, if it doesn't validate.

    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #3
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks whizard for your reply and for pointing me to the validator.

    Actually, the background image for the page is located in the stylesheet, which I got to show =)
    I still generate 4 errors, but i dont think they are critical.

    My problem still is this:
    The left nav bar - when clicked, the btm line is sorter. It also appears to
    • display differently on IE6, than 7.0
    • left side of tab image not displaying

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Remove this from your external stylesheet
    Code:
    <style type="text/css" media="all" type="text/css" rel="stylesheet" />
    its causing your background not to show. Remove this one as well
    Code:
    </style>
    Style tags do not go in external stylesheets.
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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