Hi Guys and to all programmers, I have a website wherein my header appears on all pages of my website. Did a test by disabling the display; however, the header was gone on all pages of my website so I turned the display back on. My question is, is there a CSS code that will disable my header on the main page only?

Note: All pages are sharing one CSS layout, all pages share one header. It is just it is being included on to each pages of my website.

Thank for the help.

nevermind I got now :)

each page has its own div tag so I just disabled it

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.