Hello
few questions i was hoping i could get answered.
1- I am created a gallery of paintings on my site and what i want to be able to to set up is that when the user hoever over the div containg the image and details for it to go a transparent grey(if that makes sense), would this possible?
2- can divs be set up to link to another page?
3- as its gonna be asite displaying paintings for example there will be 50 paintings, 6 per page, what i want to do is click on one and it to open in a new window with more details. would i set up differnet images for the webpages and then the indiviudal paintings? would this take a long time to load. Was thinking perhaps that i have one folder with the images in and that css would size them for each area they are used?
can anyone help me to decided what to do? if it aint to clear please say and i will try and put it into words better
Thanks
CSS Questions
Started by donkeymusic, Dec 16 2005 04:40 AM
1 reply to this topic
#1
Posted 16 December 2005 - 04:40 AM
#2
Posted 16 December 2005 - 10:58 AM
donkeymusic, on Dec 16 2005, 10:40 AM, said:
Hello
few questions i was hoping i could get answered.
1- I am created a gallery of paintings on my site and what i want to be able to to set up is that when the user hoever over the div containg the image and details for it to go a transparent grey(if that makes sense), would this possible?
2- can divs be set up to link to another page?
3- as its gonna be asite displaying paintings for example there will be 50 paintings, 6 per page, what i want to do is click on one and it to open in a new window with more details. would i set up differnet images for the webpages and then the indiviudal paintings? would this take a long time to load. Was thinking perhaps that i have one folder with the images in and that css would size them for each area they are used?
can anyone help me to decided what to do? if it aint to clear please say and i will try and put it into words better
Thanks
few questions i was hoping i could get answered.
1- I am created a gallery of paintings on my site and what i want to be able to to set up is that when the user hoever over the div containg the image and details for it to go a transparent grey(if that makes sense), would this possible?
2- can divs be set up to link to another page?
3- as its gonna be asite displaying paintings for example there will be 50 paintings, 6 per page, what i want to do is click on one and it to open in a new window with more details. would i set up differnet images for the webpages and then the indiviudal paintings? would this take a long time to load. Was thinking perhaps that i have one folder with the images in and that css would size them for each area they are used?
can anyone help me to decided what to do? if it aint to clear please say and i will try and put it into words better
Thanks
1) This makes sense. Not all browsers support alpha tranparancy, but it is possible. IE gives some trouble because I don't think it supports :hover pseudo classes for much else than hyperlinks. You could try
div:hover {
background-color: #cccccc;
}
to make the backgrouind colour change to #cccccc when you hover over it. This'll work fine in firefox, but not in IE. Alternatively, there is some javascript that basically does the same thing, only it works for both browsers. I don't seem to be able to find it right now, but if you catch me on MSN I'll look a bit harder.
2) Yes, div's can be set up to link to another page. It's also done with javascript, not with CSS (though you might wanna change the cursor using CSS so people know this div is a link)
3) I don't really get whaqt you're saying here
You could talk to me on MSN and figure this out
Laters,
Wybe
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
