This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Setting the background of the page fragment covers the entire design page, not just the highlighted page fragment area. - Create a page fragment - Select the <div> in the outline - Select the Style property and bring up the style builder - Go to background and select the color orange. Note that entire page is Orange. What we expect is only the highlighted area corresponding the the <div> width and height to be in Orange in color. Also note that when you set the border of the fragment, the border set is along the the design surface, not the Page Fragement <div>.
I need to check that, it all depends on which element is considered to be the 'body' one, since, the one is used to show in the designer.
It seems it is about the size of the page box (the top box).
And it seems, it was designer that way.
I meant, it was designed.
This has always worked this way as the div is really not a component and does default to the body background. Tor talked about this in forum,blogs. A workaround is that you can set a desired style class to change the background color of a page fragment. It works.