SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2004
    Location
    Sydney
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JavaScript navigation bar CSS

    My website links are not dropping down correctly in my navigation bar. I have just updated my CSS so that the website sits correctly in the middle of the IE7.

    www.pscai.org is the location.

    Somewhere in the process my JavaScript navigation bar has pushed the drop down menu off to the right and so it doesn’t line up with horizontally under the menu heading, any ideas?

  2. #2
    I'll take mine raw silver trophy MikeFoster's Avatar
    Join Date
    Dec 2002
    Location
    Alabama, USA
    Posts
    2,560
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Adam,

    A few tips...

    1. You need to use a validator on your HTML.

    2. You need to use a validator on your CSS.

    3. If you are going to use an xhtml doctype, don't put Js in the html file.

    4. You are 'link'ing the same css file twice.

    5. If you are going to use an xhtml doctype, then there is no need for html comments in script nor style elements. Your scripts and styles should be in external files.

    6. Get your page to render as you want without the Javascript and Flash - then integrate the Js and Flash.


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
  •