Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 03:41 pm EST
Geeklog Forums
100% CSS - Reprised
EsmereldaPea
I am hoping to be able to do a Standards compliant Geeklog, and went searching through the archives. I saw a post by Gwen back last fall. It was followed up by comments by SaltLakeJohn -
Was just wondering what the status was of their CSS attempts for layout of Geeklog - something I really want to do! Have either of you read Eric Meyer on CSS: Mastering the Language of Web Design or do you visit Jeffrey Zeldman's site regularly? Great resources for working out your CSS woes.
If you've got any tiger tidbits for me, or if you've got a working 100% CSS Geeklog, I'd love to see your theme/stylesheet. Thanks in advance!
Anonymous
knuckles
vinny
EsmereldaPea
Would love to see what you did - - if you've still got the files, and I've GOT to think you didn't trash them The doc on theme variables seems to be really helpful. I hate to say it, but I have a very limited target audience, so I don't think the problems with Safari, etc. are going to be too much trouble.
Have you seen the CSS Zen Garden??
Check it out- there are some really awesome examples of how you can change the personality of a page with a stylesheet.vinny
knuckles
rawdata
A three column tableless layout is very achievable in IE. For example, here is a CMS type site that looks completely fine in IE6 on a PC. They use a couple tables but it's not for page layout purposes. IE5.x renders margins and padding differently so I don't know how well this one looks in that browser. If you get a page to look great in IE though, there's a very good chance it's off in other browsers. It takes quite a bit of effort to tweak around the html so the pages look somewhat similar cross browser. Most people don't have the time or patience to do all the necessary tweaking. It's still far easier to use some tables for layout.
vinny
EsmereldaPea
Well, I'm no guru, but I do have a fair amount of patience. If you do nested divs, can't you do a decent 3-column layout?
I'm game to give it the ol' college try! I'll post results, if I get anything done before I take off for the summer.
1gor
I have done three coloumn layout for www.geeklook.com with CSS only and then decided to preserve table for coloumn layout at least. I think CSS importance is not in layout but in context-based formating. At geeklook.com the text is formatted differently on homepage and on article view. Different look for left or right blocks is also done with CSS only (Geeklog code offers the same opportunity through templates).
As to tables, it is relatively easy to clean them off the templates. Thankfully, there is also not muchHTML hard-wired into the code. But those <br> tags in the code drive me nuts... I haven't changed any of Geeklog core code on purpose (to make the theme forward compatible), but I hope in future versions Geeklog will produce "logical" output rather than "visual" output. I mean, the outpot should be <h2>Title</h2> rather than <td class="Title">... etc.
machinari
i produced a typical gl theme 3 column layout using only css. forget about header and footer for now. the content area containing 3 columns need to be in one div. Col_1 is float: left; and absolute width. Col_3 is float: right; and absolute width and both are nested within Col_2, which has margins set to 0px. Do I win a chocolate bar for that?
Laying out GL with CSS only is not a problem. even leaving the tables hardcoded in functions is fine--most of those are presenting tabular data anyway. the problem is the portability of such a layout when plugins are still hardcoding table style in their functions. My current problem this minute is dealing with the forum 2.3 functions.inc file as well as the static pages functions.inc. they include a table width="100%" which can be a browser breaker if not dealt with properly. html should be left out of $retval's--much less style.
what you get with the code i mentioned above is a very nice page that has a content area extending properly to the right margin when right blocks are disabled on various pages. right blocks have to be called from the header for the col_3 to nest properly however--SMOP. Other ways to do that would be to use z-index ingenuity. if you center column is longer than col's 1 or 3 then as your col_2 drops below them, col_2 will extend to the margins (floated col's 1 and 3). it looks good...
here is a pic of an example, which is not operational yet--by far. notice the stories extending under col_3. The same will happen beyond col_1. The story blocks themselves remain tabled in this example. and it doesn't break in IE. yet.
wooge
i have a configurable, 3 column theme for download here:
http://www.axonz.com/filemgmt/singlefile.php?lid=1
Hope it helps... (screenshot is included)
Demonhood
And yes, the whole process was a major PITA.
destr0yr
You can create a template for HTML 4.01 Transitional to XHTML 1.0 Strict and everything in between. Removes some of the PITA factor. Also http://glish.com/css/7.asp.
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
1000ideen
i have a configurable, 3 column theme for download here:
http://www.axonz.com/filemgmt/singlefile.php?lid=1
Hope it helps... (screenshot is included)
Is this theme still o.k. for 1.3.11sr2?
Benta
I understand the point of using CSS and standards and stuff.
But why is everyone hatin' on tables?
1000ideen
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content