/    Sign up×
Community /Pin to ProfileBookmark

Several problems (css, javascript…)

Hello. I have recently been thrown into building a site for a friend, and I have very little experience with web design at all. I’ve built a site that he finds acceptable (visually), but it has loads of problems right now which I have yet to solve.

If you are bored, I would really appreciate any help I could get.

Here is the address:
[url]http://www.chanvinson.com/test.shtml[/url]

Some problems I am having:
1. I’ve used SSI to bring my navigation bar onto the page from a seperate file, but the navigation bar is of the drop-down menu variety. On some browsers (on Safari) the process works fine, but on others (IE) the drop down menus don’t pull up.

  • 2.

    Just to show you what a newb I am, I have been unable to figure out how to position the content of the page in the center of the screen, and was sad to find that there is no “float=center” which I assumed would have worked if it did in fact exist. Also, I would like the stars below the navigation bar to line up flush with the bottom of the last navigation bar entry. Neither of these are of as much concern to me, but, again, any help would be appreciated.

  • 3.

    I am also trying to find a javascript (or other means) of displaying a quote/Bible verse of the day on this site. So far I have only been able to find 31 day scripts, but I would like one that could work with 365 days and could in some way be tied to the day in the code so that my friend might be able to easily edit this file in the future (I am only doing the basic design). What I had in mind was something that might look like this: [month]+[date]=

    [quote]

    (really simplified obviously).

  • I have some other questions, but I’ll leave it at that for now. I am sorry to bring such basic questions up on this board, but I really am something of a newb, and have no idea what I am doing besides stealing code on the web here and there to fit my needs.

    Thanks in advance,
    Stephen

    to post a comment
    CSS

    1 Comments(s)

    Copy linkTweet thisAlerts:
    @CentauriJan 27.2008 — The site is centred in FF (which you [B]should[/B] know, as you [B]should[/B] be using FF as your main testing browser), but you will never get IE to behave like a proper browser without a valid and complete doctype at the start of the page - I would suggest html 4.01 strict doctype.

    The dropdown will not work in IE due to the wrong identifier in the javascript. The script is looking for elements with the id of "nav", whereas you do not have that id in your document. Changng the id in the javascript to "navigation", [B]OR[/B] giving the navigation <ul> an id of "nav" should get that going.
    ×

    Success!

    Help @thglvcmprtmnt spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.19,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...