chaseman Posted April 23, 2011 Share Posted April 23, 2011 I want to do this image frame: Though, I'm wondering if it's possible with pure CSS? I could as well simply use a background image (with padding) as the image frame, and the actual image gets inserted into the li tag with the background image in the background displaying the frame, but that way I'd have to always use a fixed size. If it was pure CSS it can be any size, that would be the advantage with this method. If it's not possible I'll simply use the background image method. Thanks. Quote Link to comment Share on other sites More sharing options...
cssfreakie Posted April 23, 2011 Share Posted April 23, 2011 do you mean the shadow border around the image, or the elements inside the image. Anyway the answer to both is yes you can do this with css. As far as the shadow border this can be done with CSS3 and otherwise with a css combined with a shadow border image this is the css3 way: http://www.css3.info/preview/box-shadow/ Quote Link to comment Share on other sites More sharing options...
chaseman Posted April 23, 2011 Author Share Posted April 23, 2011 The shadow was what I was looking for, thank you for the link of that great website. I googled this like crazy and only came across so many crappy tutorials, I'm wondering why not these quality sites get listed high. . Quote Link to comment Share on other sites More sharing options...
cssfreakie Posted April 23, 2011 Share Posted April 23, 2011 The shadow was what I was looking for, thank you for the link of that great website. I googled this like crazy and only came across so many crappy tutorials, I'm wondering why not these quality sites get listed high. well they are ranked high with certain keywords: http://www.google.nl/#sclient=psy&hl=en&source=hp&q=border+shadow+css+3&aq=f&aqi=g1&aql=&oq=&pbx=1&fp=a5a1dc2b443f77b1 border shadow css 3 Quote Link to comment Share on other sites More sharing options...
chaseman Posted April 23, 2011 Author Share Posted April 23, 2011 Thanks, I guess I'll have to step up my Google game I'm wondering, the website is citing some text, where does the author get that from, is there an official CSS documentation? I always was wondering where people get the information from which type of code is supported by which browser and till when back in history Quote Link to comment Share on other sites More sharing options...
cssfreakie Posted April 23, 2011 Share Posted April 23, 2011 lol yeah there is an organisation called the W3C http://www.google.nl/#sclient=psy&hl=en&source=hp&q=css+documentation&aq=1&aqi=g5&aql=&oq=&pbx=1&fp=b1c8d725ce21dc8a keywords: css documentation for php it php.net Quote Link to comment Share on other sites More sharing options...
chaseman Posted April 23, 2011 Author Share Posted April 23, 2011 Yeah I know about W3C, I thought there may be a PHP.net equivalent documentation, W3C is only good for a quick look. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.