Lucas
Lucas

Reputation: 101

width: 100% issue

this kind of stuff has always eluded me. i have a div that is as wide as the window (width: 100%) that has a vertical javascript customized scrollbar within an iframe, also as wide and the scrollbar is 10px wide. i just want the div to be 10px less than 100% so the scrollbar will show. how does this happen? please let me know. thanks!

Upvotes: 1

Views: 174

Answers (1)

SpliFF
SpliFF

Reputation: 39014

Try adding a negative right margin of -10px

Upvotes: 2

Related Questions