![]() |
FREE CSS Gallery Template - SE Optimized with sample stylesheet
OK, I'm sure most of you have seen CSS Zen Garden.
It illustrates better than anything, how flexible CSS is. It shows how amazingly different webpages can be while they have the exact same HTML. SO, I thought it would be cool to have a gallery template we could do the same thing with, and here it is. HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> CSS Code:
@charset "utf-8"; I kept this real simple, and the code as clean as possible so even CSS noobs can dive right in. I already have a dozen ideas for how this layout can be altered, so grab the code and make your own. and if you want custom versions of this template for your program, hit me up. Imagine how cheap you can make a ton of templates faster than ever before. Thanks. |
Nobody wants it? Maybe I need to whip up another template.
|
I am a css freak and love what you did there. Didn't cum like that for ages.
|
Very nice example.
|
looks good there
|
Awesome, thanks for sharing.
|
nice, css gallery templates as so much easier to deal with
|
Thanks for sharing.
|
dude... CSS is SOOOO Sexy! :)
|
Thanks. I hope someone posts their versions of the gallery.
I wonder if anyone would want a version for tgp/mgp. Does the average porn webmaster know CSS? |
I like your style :thumbsup
|
the page isn't validating because you have one more div in excess at the bottom, remove it and it should be OK :2 cents:
|
Quote:
|
Quote:
I actually was going to make this thread a sort of primer for anyone just getting started with CSS, and give some tips and answer questions if there were any, but it appears most of you guys in here already know what you're doing. |
thanks for this
|
It's nice, but having an uncut 90k image loading at the top can hammer a gallery productivity. but the code's still useful.
|
care to post a sample psd file for the header bg so noobs like me can started right away and make their own stuff.
i love the template and am digging into it when i return from the vets. |
This is awesome!
|
Quote:
Any more thoughts or ideas? I think we are building the perfect gallery template. |
Quote:
The template is set up so that the "container" is where the gallery lives, and it's restricted to 800px so the surfers still surfing on a 13" emachine don't get a horizontal scroll bar, but the bg can be 1024 wide or even 2 or 3,000px wide. Just keep an eye on the filesize. I think 100 to 150kb should be the max, even once the thumbs are set to preload. This is still just a gallery after all. So, when making your own bg, use the guides in photoshop to show you where the dead center of the page is, and 400px on either side shows you where the gallery will sit. Then just make your bg around that. and in case you are not familiar with "guides" If you have a 1000px bg and want to know exactly where your 800px gallery will sit.. You'll need a guide at the 100px point and the 900px point.. So, in photoshop select View > New Guide Select Verical and 100px Then repeat at 900px and now you can see exactly where your gallery will fall. |
If you have a network of sites you need galleries for, let me see them. I can develop a real cheap css template solution for you to use across them all.
I'm reviewing sponsor lineups now and I have so many ideas I'd love to try, but I need to know it's going to make me money before I spend too much time on it, and there's no way I'll ever get around to submitting them. That doesn't look like any fun at all. But, I would love to work with a program that has 10 or more hot sites. Since I don't submit or have the traffic to really test this sample, so if anyone who runs a large tgp network wants to run a couple of these galls, I'll make you a couple free versions and we can test the ctr. |
Nice :thumbsup
Could be very useful. |
Nicely done. I wouldn't consider this fully SEO optimized however.
Other than that, its fairly straight forward, clean and semantic. :2 cents: :thumbsup |
Quote:
As for the extra divs, it was a conscious decision to make it as flexible as possible. This could be used for submitting with standard recip buttons or as a super FHG with a very hard sell. Of course the sample gall could be done differently, but this is a template solution. The meta tags was kind of an assumed thing which i guess I shouldn't have assumed :winkwink: |
Quote:
Quote:
Quote:
|
Quote:
I admitted there was an extra closed div tag, but if that's really all you got.. because if you take the time to check, that will eliminate all the errors. and I have no idea what you are running the css through to get those color errors but that is really hilarious. What should I be worried about there? A little redundancy at the worst case. Remember, this is a template so people can easily customize it. I never claimed it was the holy grail of XHTML/CSS perfection. |
Quote:
shot in the foot again http://jigsaw.w3.org/css-validator/ http://jigsaw.w3.org/css-validator/v...ng=1&la ng=en :Oh crap |
Quote:
Now, I assume you're beyong w3.org since I get this: with CSS2.1 profile Quote:
Quote:
btw, I remember a thread where you were trying to sell some CSS designs and a lot of people attacked you. I didn't like that at all, I understand this is GFY, but still. However, now you do the same to someone else? Way to go... :error |
Quote:
Now, there are warnings about divs having the same color as text found in other places on the page. It's a WARNING, in case you have them overlapped somewhere. It's just telling you that there may be a case of invisible text, but that issue is not present in my template. Anything else? My feet are fine. How are yours? |
You claim to be a CSS/XHTML expert, come on GFY and provide an example of your work which doesn't even validate and has a bunch of CSS warnings?
You expect any different? :1orglaugh Quote:
I even went back and reread the thread. The only non-trolls defended me, or couldn't back up their "attacks" with any urls/examples. I even mentioned early on trolling was to be expected. |
Come on man. I understand you have to stick to your guns now that you've made such a big deal, but you are basically bitching about an extra </div> The color warnings mean nothing and you know it (at least i hope you do).
I also never claimed to be an "expert" |
Quote:
|
And don't feel too bad. I do the same sometimes as well.
http://jigsaw.w3.org/css-validator/v...ning=1&lang=en It was pretty dumb to not validate your shit though before you started this thread. |
I'll admit it was dumb if you admit the stuff your nitpicking over has ZERO impact on the effectiveness of the template.
And seriously, I ALWAYS validate, but this was so basic, I knew there were no errors along the lines of me coding something incorrectly, and not just forgetting to delete a close tag from another iteration. |
Why is potter being an asshole? Thanks for the sweet free template, PSD.
|
validation is a great tool to check your code for errors. It allows you to track down specific errors and correct them.
It is recommended that you use a strict doctype to reduce the amount of 'errors' or redundancy in your code but it is really depends on the situation. More over, a site that validates 100% doesn't mean its coded properly. You can get a blank document to validate 100%. PSD CSS XHTML posted a fantastic template for a gallery. Not only is it purely css driven, sematic and clean, but it also has a lot of SEO elements most templates wouldn't provide. If it doesn't validate, big deal, make the changes and get it to validate yourself. In the end, he has provided this FREE for people to use. Validation is not the be all and end all of properly coded HTML/CSS :2 cents::321GFY |
All times are GMT -7. The time now is 12:32 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123