• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Working with Frames > Margin, Resize, and Scroll Controls

Margin, Resize, and Scroll Controls

You can control the behavior of your frame pages with a number of attributes. These include attributes to manage margins, frame resizing, and scrolling within frames:

  • The marginheight and marginwidth attributes allow a value in pixels to control the height and width of frame margins.

  • The noresize attribute fixes the frame into position so the user can't move the frame edges.

  • The scrolling attribute enables you to control the appearance of a scrollbar within a frame. This is important if you've fixed the size of your frame and the content within that frame is longer than the frame itself. There are three values for scrolling: yes (which forces a scrollbar at all times), no (which disallows a scrollbar completely), and auto (which automatically puts a scrollbar into the frame if it is necessary).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint