|
#1
Sep 5, 2012, 06:01 AM
|
|
Hello
I am working on a site here, http://umfs.gagnavist.is. Iīm trying to have a drop shadow on the center column but as you can see there is a space between the sidebars and the center column that I donīt want.
Is it possible to change this so that the space can not be seen.
I have these CSS setting on the Center column, left and right sidebar
Center:
-webkit-box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
-moz-box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
Left sidebar:
padding: 10px 5px 0 0;
background: #transparent;
-webkit-box-shadow: -6px 8px 5px rgba(50, 50, 50, 0.75);
-moz-box-shadow: -6px 8px 5px rgba(50, 50, 50, 0.75);
box-shadow: -6px 8px 5px rgba(50, 50, 50, 0.75);
Right sidebar:
padding: 10px 0px 0px 5px;
background: #transparent;
-webkit-box-shadow: 6px 8px 5px rgba(50, 50, 50, 0.75);
-moz-box-shadow: 6px 8px 5px rgba(50, 50, 50, 0.75);
box-shadow: 6px 8px 5px rgba(50, 50, 50, 0.75);
|
#2
Sep 5, 2012, 06:56 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
try applying it to #bodyrow
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#3
Sep 5, 2012, 07:49 AM
|
|
Set this style to the bodyrow ?
Center:
-webkit-box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
-moz-box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
I have tried setting a style to this ID but to no avail.
|
#4
Sep 5, 2012, 07:54 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
So you put it in the CSS inserts option and used '#bodyrow' as the selector?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#5
Sep 5, 2012, 07:55 AM
|
|
Yes, like this
#bodyrow {
background: #FFFFFF;
-webkit-box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
-moz-box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
}
|
#6
Sep 5, 2012, 08:13 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
take out the code for the middle and right - you'll probably have to fiddle with the code for the left - take it out at first so you can see what the bodyrow code does
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#7
Sep 5, 2012, 11:10 AM
|
|
Ok, I have removed the style from the sidebars and center column but there is no bottom shadow on the bodyrow...
|
#8
Sep 5, 2012, 12:10 PM
|
|
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
I see a drop shadow.
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
#9
Sep 5, 2012, 01:44 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Try using 'background-color' if you are only using that one parameter
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#10
Sep 6, 2012, 03:15 AM
|
|
Can you explain further juggledad ?
|
#11
Sep 6, 2012, 05:12 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
When you use the CSS rule 'background' that is the shorthand for all the background rules (background-repeat, background-color, background-image etc) but you only have one of the parameters. That can effect some browsers, so use background-color if you are only going to use that option.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#12
Sep 6, 2012, 05:25 AM
|
|
Ok, now the style for bodyrow is like this but no shadow still
#bodyrow {
background-color: #FFFFFF;
-webkit-box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
-moz-box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
}
|
#13
Sep 6, 2012, 06:56 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
ah looks like a browser issue, the shadow shows in FireFox but not Safari
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#14
Sep 6, 2012, 06:58 AM
|
|
It does not show in Chrome either... and not IE9
Any chance this can be fixed ?
|
#15
Sep 6, 2012, 10:48 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Well, you could write to Apple and M/S asn ask them to correct it
seripusly, you'll need to search the internet for solutions, try Googling 'box shadow table row safari'
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#16
Sep 7, 2012, 04:15 AM
|
|
This did the trick
#bodyrow {
background-color: #FFFFFF;
-webkit-box-shadow: 0px 10px 5px rgba(50, 50, 50, 0.40);
-moz-box-shadow: 0px 10px 5px rgba(50, 50, 50, 0.40);
box-shadow: 0px 10px 5px rgba(50, 50, 50, 0.40);
display: block;
width: 978px;
}
Adding display:block and setting the correct width.
Thanks for your help juggledad
|
|