All design kept in CSS

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
graphic
Registered User
Posts: 35
Joined: Mon Jun 09, 2003 2:25 am
Location: Chattanooga, TN
Contact:

All design kept in CSS

Post by graphic »

Sorry if this question has been asked before.

Has anyone from phpBB thought about keeping all the designing in CSS and useing DIV's instead of tables?

It would make for more flexability for template designers.
What Is Real!? Coming 2005
Latest phpBB2 Styles: [What Is Real!?] [Avalanche]
User avatar
Legoguy
Registered User
Posts: 60
Joined: Wed Jul 23, 2003 4:21 pm
Location: Gurnee, IL
Contact:

Re: All design kept in CSS

Post by Legoguy »

I myself have fooled around with such styling on my own website; for a forum this size it would be difficult to get to where it is now via CSS; at least imho.
Trek
Registered User
Posts: 376
Joined: Mon Jan 14, 2002 6:58 pm
Location: UK
Contact:

Re: All design kept in CSS

Post by Trek »

Idd, I tried removing all the extraneous tables from a 2.0.6 theme, and it just fell apart, so I put all the tables back. :)
<DIV>s are good for layout, but for phpBB, tables is fine as well :D
Miguel
http://community.34sp.com" target="_blank
http://www.miguel.me.uk" target="_blank | http://www.sfcommand.co.uk" target="_blank | http://www.ssdg.org.uk" target="_blank
Hardware: The parts of a computer system that can be kicked
Bertg
Registered User
Posts: 190
Joined: Wed Apr 30, 2003 1:02 pm
Location: Brugge, Belgium
Contact:

Re: All design kept in CSS

Post by Bertg »

i personlay prefer tables...
div's are to mutch work
Portfolio | Proud to be phpBB user
liquid_eagle
Registered User
Posts: 39
Joined: Tue Jun 03, 2003 5:24 pm
Location: England-ish
Contact:

Re: All design kept in CSS

Post by liquid_eagle »

I seem to remember someone made a template using CSS for the design... but I can't remember who.
User avatar
haravikk
Registered User
Posts: 292
Joined: Sun Apr 20, 2003 5:05 pm
Contact:

Re: All design kept in CSS

Post by haravikk »

<DIV>'s are also very hard to code properly for all browsers, many browsers offer different syntax for them or don't support them fully at all. Tables are much better for something like this, though admittedly divs could simplify parts of it and remove the need for nested tables at other parts.
Images in sigs! please.
Klors
Registered User
Posts: 95
Joined: Fri Sep 19, 2003 2:08 pm

Re: All design kept in CSS

Post by Klors »

I think that until all of the browsers decide to adhere to the W3 CSS standards for border, margin and padding position (among others) it's going to be easier to code using tables for complicated layouts such as these boards.

I've attempted a few design layouts using DIV's without tables and you can get some great looking layouts using various combinations of absolute and relative positioning. But, I find they're generally a pain in the arse to get looking consistant cross-browser and to position adjacent horizontally across a page, where tables are still strongest IMHO.

Maybe i'm just doing it wrong, but I always seem to encounter situations in which DIV's would work really well if the W3 standards were followed, but they never quite seem to be.
Trek
Registered User
Posts: 376
Joined: Mon Jan 14, 2002 6:58 pm
Location: UK
Contact:

Re: All design kept in CSS

Post by Trek »

idd. For advanced layout like forums, <table>s are much better for now, as browser following of the w2c standards for CSS ain't 100% great atm. :S
Miguel
http://community.34sp.com" target="_blank
http://www.miguel.me.uk" target="_blank | http://www.sfcommand.co.uk" target="_blank | http://www.ssdg.org.uk" target="_blank
Hardware: The parts of a computer system that can be kicked
Immortal Q
Registered User
Posts: 9
Joined: Tue Dec 02, 2003 1:22 am
Location: SF Bay
Contact:

Re: All design kept in CSS

Post by Immortal Q »

Plus, a <div>-based layout isn't nearly as backward-compatible as a table-based one. I am currently building a <div> site, and most of the CSS that the design really requires breaks on anything less than bleeding-edge. And if you ever run Lynx or another text-based browser, a table-based layout will usually come through all right, but <div> content just gets stacked vertically.
--
"Remember - Cartman's kitty isn't dead until you open the box..."
http://www.osmos.org/" target="_blank
DoD
Registered User
Posts: 360
Joined: Sat Aug 30, 2003 11:32 am

Re: All design kept in CSS

Post by DoD »

Also, you might know alot about divs, but alot of people dont.

For your own site, if you wish to use it, great. But releasing something like this completely made out of divs will leave quite a few people behind.

I've been making websites for 3 years now. And i've never used divs and know sod all about them.

Tables on the other hand, i can handle :mrgreen:

Most of the people, at the end of the day, if their editing their templates, their going to be using front page, and not knowing the difference between a table and div... Its only the minority, like yourselves who know whats going on ;)
Post Reply