New to web developing, I've been using a wordpress site. I'm using the Code Embed plugin to display Snipts of code on certain pages but I'd like to have a scroll bar instead of having them take up the whole page.
I've tried adding the div style overflow but to no success. Any tips for a rookie?
Ahh, nevermind I figured it out right after posting this thread. Feel free to delete.
Nope, nevermind I can set the width but not the height, and the scroll bars appear but aren't working.
Here's what I'm using
<div style="height: 150x; width: 250px; overflow-x: scroll; overflow-y: scroll;">%CODE600%</div>
I'm not sure if this was a typo or not, but you are missing the 'p' in your height units.
<div style="height: 150[B][COLOR="#FF0000"]px[/COLOR][/B]; width: 250px; overflow-x: scroll; overflow-y: scroll;">%CODE600%</div>
HA! I'm such a dummy. That was it! Thanks so much!