Jump to content
Larry Ullman's Book Forums
Sign in to follow this  
IvanB

Chapter 8 - Fail to visualize the header correctly

Recommended Posts

Hi everyone.

I'm in Chapter 8, coded the books.php file  (Scrip 8.5) together with header.html and footer.html. 

when I run it the navigation links (Books, Stories, etc.) instead of showing up on the top right part of the screen are displayed as a bullet list below "Raise High the Roof Beam!".

I removed the <ul> and <li> tags in the header.html script and now the links show up without bullets and all in the same row, as per figure D (page 205).

Nevertheless, these links are still below the main title instead of being all the way to the right and on the top row.

I tried with different browsers but nothing changes.

Any help would be very appreciated.

Thanks

Share this post


Link to post
Share on other sites

It's probably not loading the CSS file. Make sure it exists in the proper directory consistent with how the HTML references it. You can use your browser's developer tools to also confirm whether or not it's being loaded.

  • Like 1

Share this post


Link to post
Share on other sites

Thank you so much Larry. The browser's developer tools clearly indicated to me that the two *.css files weren't loaded. The reason is definitely so simple: I actually named the container folder as 'CSS' (capital letters !) instead of 'css', but referenced the files as '/css/*.css'.

Feeling so stupid...and grateful to you.

Thx again!

Share this post


Link to post
Share on other sites

Ah, that would do it! No need to feel stupid; it happens to the best of us. Kudos for figuring it out and thanks for sharing the solution!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...