Last post Apr 22, 2006 08:54 PM by jwadsworth
Apr 22, 2006 08:01 AM|Scouser0712|LINK
I have used the Personal Site Starter Kit to create a site in VWD 2005 Express Edition. Now I am trying to customize it. There is a <div> element at the top of many of the pages with a class of "shim". Sometimes there is also a class of "column" or "gradient"
as well. The <div> has nothing inside it. What is this <div> for and what does "shim" stand for?
I am fairly new to this, so forgive me if this is obvious to you.
Apr 22, 2006 02:15 PM|jwadsworth|LINK
Let me see if I can explain this. If we look at the White theme at jeremywadsworth.com, you'll notice on Default.aspx there is a light gray column about 200px wide that runs behind all the content on the left. That would be the Column class.
If you look at the Album pages you'll notice a light gray background that fades from left to right in the content area. This would be the Gradient class. There is a shim that is used right where the content background and the header meets. If you look at
the very bottom of the Header image, you should notice a thin shadow that casts downward about 5 or 6 pixels. That shadow should be a little different depending on whether it is casting over the Gradient background or the Column background.
To help get a better understanding you should look at the classes you are inquiring about and look at any associated images.
Apr 22, 2006 08:48 PM|Scouser0712|LINK
Thanks very much, all is now clear. I had not heard the term shim before but now I know it is kind of like a spacer between two other components it all makes sense.
Apr 22, 2006 08:54 PM|jwadsworth|LINK
I'm glad I was able help.