My use of tables on an otherwise primarily CSS site
I was working on a site I designed that's pretty much 100% CSS, havencomic.com. This is one of my favorite CSS sites I've designed.
However, this time I was updating the look of the Characters section, and I ended up having to use tables to achieve the look I was wanting.
Is there any way to accomplish the look I got with CSS?
Megan posted this at 14:32 — 6th February 2006.
She has: 11,421 posts
Joined: Jun 1999
Check out this:
http://huntington.wmc.ohio-state.edu/public/index.cfm?listOfKeyWords=Buddha&fuseaction=getResults
It scales really nicely too.
This is the CSS they're using:
.imageDiv{
display: inline;
width: 140px;
height: 155px;
text-align: center;
border: 1px solid silver;
margin: 0 2 2 0;
padding: 10 10 1 10;
float: left;
overflow: hidden;
background-color: #FFFFFF;
font-size : .7em;
clear: none;
}
That site is kind of funny because it's all CSS but the doctype is HTML 4.01 trans. Of course, imageDiv isn't exactly semantic
Megan
Connect with us on Facebook!
mikehannon posted this at 19:01 — 7th February 2006.
They have: 64 posts
Joined: Oct 2005
i don't think you have any problem using tables... nice design by the way...
but i understand that you would like it to be a TOTAL css site... i would probably use absolute positioning for each image... that would be the most reliable way of doing it....
dk01 posted this at 19:28 — 7th February 2006.
He has: 516 posts
Joined: Mar 2002
Another example that could be adapted to your site:
http://casaaxarquia.com/forsale/plot.php
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.