Graphicalwonder - Shane Perran's SharePoint Customization Blog

« SharePoint Customization: What do Discussion Forums and Bil Simser have in common? | Main | Home again! »

January 19, 2006

SharePoint Customization: SPS Area Content Web Parts

Seems there is a bug with the layout for the AREA Content Web Part in SharePoint Portal Server. If you turn on the borders the right border doesn't display.

I just fuddled with it for a few minutes and came up w/ this quick fix. This was easy to fix thanks to the Internet Explorer Dev Toolbar a tool I must say absolutely goes hand in hand w/ SharePoint Customization now.

Add this to your custom stylesheet for SharePoint Portal Server. (I say custom because I know you are linking to your own and not editing SPS.css right?).

/* Fix for the AREA CONTENTS border */'
td.ms-WPborder div { width:99%; }

As you can see after looking at the DOM I noticed a TD then a DIV so I tried reducing the divs with just a tad to see if it would display the border. Sure enough it works.

I am adding this here for the general public and myself. I have accessed my blog about 50 times while on the road searching for quick fixes.

Happy Customizing

Trackback Pings

TrackBack URL for this entry:
http://www.graphicalwonder.com/cgi-bin/mt-tb.cgi/273

Comments

Post a comment




Remember Me?

(you may use HTML tags for style)

divider.jpg
April 2006
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
divider.jpg
Categories
divider.jpg divider.jpg