All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

No access to body tag nav bar question…

  • # August 4, 2009 at 5:32 pm


    I am tied to using a CMS system which doesn’t allow me access to the body tags and therefore I can’t give the body an ID.

    Is there a way that I can get a nav bar item to remain in the on position when a user is on that page, (eg where ‘forums’ is white as I type this in the CSS-tricks nav bar) other than changing the ID of the body?


    # August 4, 2009 at 5:57 pm

    Which CMS are you using?

    # August 4, 2009 at 6:45 pm


    # August 4, 2009 at 7:06 pm

    I think it would be possible to add a container div around all the code inside the body tag, and then assign the ID to it instead of the body tag?

    # August 4, 2009 at 7:51 pm

    yeh, true I will give that a crack


Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed