+ Start a Discussion
jvolkovjvolkov 

Adding A Scrollbar

How can a scrollbar be entered into this code?

 

 

<apex:page standardController="account"> <c:TwitterSearchWidget search="{!account.Name}" title="Twitter Search Widget results for..." caption="{!account.Name}" loop="true" width="1100" height="500" shellbackground="#8a9ebe" shelltext="#ffffff" tweetbackground="#f3f3ec" tweettext="#000000" links="#8a9ebe" /> </apex:page>

 

 

 

Best Answer chosen by Admin (Salesforce Developers) 
jvolkovjvolkov

Thank you for your reply Thomas.

 

Before your reply I actually found out a very simple way of doing this.  Simply open up the properties of the visualforce page within the page layout it is found and select scroll bar.

All Answers

ThomasTTThomasTT

1. Try to contain the <c:TwitterSearchWidget> in <div style="overflow: scroll (or auto)"></div>

 

or 

 

2. Add "style" attribute and use the attribute for styling <div> or whatever creating the component.

    (I hope TwiterSearchWidget component is your own component... otherwise, ask the provider.)

 

ThomasTT

jvolkovjvolkov

Thank you for your reply Thomas.

 

Before your reply I actually found out a very simple way of doing this.  Simply open up the properties of the visualforce page within the page layout it is found and select scroll bar.

This was selected as the best answer
ThomasTTThomasTT

Oh, you embeded the VF page in page layout... yes. that's the way.

 

ThomasTT