0

i am trying to add style class but its not working...here is my code

    <apex:page standardController="Opportunity" extensions="MarkRenewalLostController" showHeader="false" sidebar="false" standardStylesheets="false" pageStyle= "pageclass"  docType="html-5.0">
<style type="text/css">
.pageclass{
border-width: 8px;
 width: 200px;
  height: 200px;
}
</style>

please suggest some answer.

1
  • vf page ..that is open when click on the button.
    – SFDC_USER
    Sep 12, 2017 at 6:22

1 Answer 1

0

No need any css class for that, You can use configuration option its self.

  • Create new custom button as i show in image.
  • On button click execute the java-script window.open
  • window.open allow you to set your visual page Url, height, width and target page.

window.open('/apex/vf191023', '_blank', 'width=800, height=800');

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .