function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
James09James09 

Help!!!Urgent!!!!How can i get rid of the impact of the salesforce's css on my visualforce page

Hi,masters,

I added a new Tab "Graph" in SF,and created a new VF page.The page scripts is running well out of  the salesforce envirenment.And if i set "showHeader=false" in the salesforce envirenment,it goes right too.But if i set "showHeader=true",the page displays messy.I thought  it was because of the salesforce's  css.If i'd like to show header(Tabs) and display my VF page at the same time,what can i do to let it displays normally?

 

Thanks a lot. 

Message Edited by James09 on 02-17-2009 11:09 PM
Message Edited by James09 on 02-18-2009 06:07 PM
kevinwukevinwu

It might be a good idea to prefix all of your html classes with company_CLASSNAME so that way none of salesforce's css will override your own css.

 

Please let me know if this works.

 

Thanks