|
| Background Blend and Drop Shadow. 1 Year, 2 Months ago | | Hi, I want to add a background blend from top to bottom on the background only. And also I want to add a drop shadow either side of the page to bring the site off the page a bit. I can create the actual blend and graphics easily. (I have attached them) I just lack the skills to put them into the css file. I have also attached my css file that has already been modified once or twice. I think this will be a popular modification, But obviously we need to do it in a way to make it still fast! Help would be massivly appreciated. |
| | Logged | | | The administrator has disabled public write access. | | |
| Re:Background Blend and Drop Shadow. 1 Year, 2 Months ago | | Hi Dave For this you'd just need to change the body tag in the CSS. Change the background so it is an image instead of a color and that it repeats on the x axis: | Code: |
background-image:url('image.gif'); background-repeat:repeat-x;
|
|
| steve (Admin)  Admin Posts: 2744 | Logged | | Last Edit: 2009/06/23 11:36 By steve. | | Any questions at all - just ask  | | | The administrator has disabled public write access. | | |
| Re:Background Blend and Drop Shadow. 1 Year, 2 Months ago | | ok I now have a background gradient that runs through the whole template. I want to have white under the main site and the gradient only on either side. I also want to put in a drop shadow on each edge of the template, is this possible? |
| | Logged | | | The administrator has disabled public write access. | | |
| Re:Background Blend and Drop Shadow. 1 Year, 2 Months ago | | For the main site that's relatively easy ... you'll need to change the body CSS tag. For the drop shadow that's harder. One way to do it is to create an image that contains the drop shadow and the white background for the body. Then apply that image to the body tag. |
| steve (Admin)  Admin Posts: 2744 | Logged | | Any questions at all - just ask  | | | The administrator has disabled public write access. | | |
| Re:Background Blend and Drop Shadow. 12 Months ago | | I've tried your recommendation. Please tell me the exact changes because when I change the tbody to white, it changes a lot of other things also, so I know it is not tbody. Which exact label is it that I should change? Thanks here's my code: | Code: |
/* CSS Reset */ html, tbody, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { background: transparent; border: 0; font-size: 100%; margin: 0; padding: 0; outline: 0; } table { border-collapse: collapse; border-spacing: 0; } /* Resets font size to 10px. (1.2em will be 12px, etc.). */ body { margin:0; padding:0; background-image: url('/'images/dddddd-bbbbbb.png''); background-repeat: repeat; color:#000; font: 62.5%/1.2 Tahoma, Geneva, sans-serif; }
|
|
| | Logged | | Last Edit: 2009/09/10 18:18 By sambible.
Reason: Fixed width issue | | | The administrator has disabled public write access. | | |
| Re:Background Blend and Drop Shadow. 11 Months, 3 Weeks ago | | For starters, it is important to differentiate between "tbody" and "body". For this topic, "body" is the important one. Try changing the first tbody in the CSS reset (immediately after "html"  back to "body". Also, if your background image is in the Bolt images folder, you will need to add two dots to your path, like this: | Code: |
background-image: url('/../images/dddddd-bbbbbb.png');
|
|
| | Logged | | | The administrator has disabled public write access. | | |