Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Setting background image in a webpart

  Asked By: Gregory    Date: Oct 31    Category: Sharepoint    Views: 4701

I have created a webpart that reads content from a list and displays
the content in a table. I want to set the background for the webpart
or the table to an image and have the image stretch as the table
grows. The table will grow longer as more enteries are being added to
the list that the webpart pulls it's data from.

How can I do this?

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Shara Johnson     Answered On: Oct 31

If you use an image  with a repeatable pattern, you can set  the background  in the
HTML to repeat the image horizontally and vertically as large as the block
element gets. Let me know if you need more info or example HTML.

 
Answer #2    Answered By: Victoria Bell     Answered On: Oct 31

The image  is a square box with an off white color in the middle - not
sure how I can repeat that without it look like sections when it is
repeated, but yes I would love to see code.

 
Didn't find what you were looking for? Find more on Setting background image in a webpart Or get search suggestion and latest updates.




Tagged: