Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Tab Color on Page Load

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #156394
    nostriltwo
    Participant

    I’ve implemented the following version of tabs …

    https://css-tricks.com/better-tabs-with-round-out-borders/

    I’m not a coder – I just got to that point by lucky copying and pasting…

    The problem I’m trying to resolve is this:

    How do I format the the FIRST “ON TOP” tab to be white – if you click on a tab, it turns the selected tab white. But I can’t figure out how to to have the TAB that is visible when the page opens, be white, as if someone has already selected it.

    Here is a test page:

    http://www.employeeuniversity.com/videos/customer-service-viral.htm

    #156463
    nostriltwo
    Participant

    Yes, I actually did solve the color problem. But another related problem is still unresolved…

    What I did to correct the col issue is this (thanks to the jquery forum):

    Changed the html code for the tab I wanted to be loaded as selected to…

  • Description
  • Problem now is…how do I tell the code what tab to open. I would like div class tab#3 to be loaded and visible first, but no matter what I do, the first tab div (#1) is what is showing on load. Any help would be great… thanks

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.