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
lakshman.mattilakshman.matti 

Css problem in Visualforce page

Hi Everyone,

i have created a visualforce page.i have incorporated some css styles to that page.
when i open the page it's loading with salesforce styles, with few second gap its applying css styles.
Can some one tel me how to reduce the time gap or else can i load the page with css sttyles by default.

Regards
Lakshman
 
Sforce.NinjaSforce.Ninja
Lakshman,
Did you include the <Style> tag on the top of page? Also if you do not want standard styles to load you can add standardStylesheets=false to your apex:page.

Cheers,
Sid
Sforce.Ninja

P.s. If it solves the problem, please mark it as solved so that it helps others.
lakshman.mattilakshman.matti
Hi Sid,

u mean after<apex:page> right,i ahve tried it, its not working
i made the standardStyleshets=false.it also not working
any other ideas.

Regards
Lakshman
Sforce.NinjaSforce.Ninja
You need to hide the header and sidebar too. Using ShowHeader=false and sidebar=false.
lakshman.mattilakshman.matti
i did that already but still loading in the same way...

Regards
Lakshman
 
Sforce.NinjaSforce.Ninja
Can you share your visualforce page?