so i found this gallery that plays fullscreen, places the image at 100% width and has the visitor scroll vertically if needed via mouse movement. turns out the client doesn't like the scrolling and just wants the full pic to show in the center of the page. here's the effect as is now
(the original is here)
the bit that's styling the big photo is this:
now, i can set this to height:100% instead of width:100% so i don't get the vertical scrolling and i see the whole image, but then i need to center it. the problem is that to center it, the parent element needs positioning, and if i add positioning to the parent div (fpgallery), that breaks it and it doesn't show the image at all...
i tried adding another div with a different name around it because fpgallery is used in the javascript and i thought me styling it may cause a conflict, but that didn't work either...
this is probably retarded and very simple to fix, but i just can't see it... help?!
ps. the javascript on the page is doing quite a lot of meddling with the CSS to make the gallery work so i'm guessing i need to play with that a bit... trouble is, it's not really my forte, sadly, so if anyone could lend a hand, i'd appreciate it greatly!
thank you!!!
(the original is here)
the bit that's styling the big photo is this:
Code:
img.fp_preview{
position:absolute;
left:0px;
top:0px;
width:100%;
}
i tried adding another div with a different name around it because fpgallery is used in the javascript and i thought me styling it may cause a conflict, but that didn't work either...
this is probably retarded and very simple to fix, but i just can't see it... help?!
ps. the javascript on the page is doing quite a lot of meddling with the CSS to make the gallery work so i'm guessing i need to play with that a bit... trouble is, it's not really my forte, sadly, so if anyone could lend a hand, i'd appreciate it greatly!
thank you!!!