Drake CMS Official Forums - read-only archive

You are reading the Drake CMS Official Forums archive, available for historical purposes only.

Drake CMS has been rebranded into Lanius CMS, visit the new Lanius CMS Official Forums if you need support about Lanius CMS or Drake CMS -> Lanius CMS migration.



Home page Templates > div or table based templates? Permanent link to this page
 
 
Author Message:
adrian
div or table based templates?
09 December 2007 18:38
Anonymous div or table based templates? DRake DIV is based on divs, i just tested this one.
advantages/disadvatages... anyone?
 
trex1512
Re: div or table based templates?
13 December 2007 01:27
Anonymous Hi

I have no real preference, if it works I am happy...

On a personal note as far as I am concerned Table based templates are easier to modify etc...

TerryF
 
rsavarese
Re: div or table based templates?
13 December 2007 17:52
Anonymous Hi all,

The template based on the table is undoubtedly more flexible. Allows any setting interface directly from the backend (eg. home with two columns, news section with a column etc.), And therefore more complex for the changes.
The DrakeDIV (experimental) does not allow any combination from backend, but if you use a standard scheme for the website (as a column at the left and / or right), is easier to customize. It just only on the three graphics files top.png, middle.png and bottom.png to get a new interface. Further customizations are possible on other file folder "images" and in the file template_css.css to "TEMPLATE CLASSES (index.php)" section.

Regards

Lello

Note: sorry for my english unsure
 
adrian
Re: div or table based templates?
13 December 2007 18:41
Anonymous Quote by rsavarese:

Hi all,

The template based on the table is undoubtedly more flexible. Allows any setting interface directly from the backend (eg. home with two columns, news section with a column etc.), And therefore more complex for the changes.
The DrakeDIV (experimental) does not allow any combination from backend, but if you use a standard scheme for the website (as a column at the left and / or right), is easier to customize. It just only on the three graphics files top.png, middle.png and bottom.png to get a new interface. Further customizations are possible on other file folder "images" and in the file template_css.css to "TEMPLATE CLASSES (index.php)" section.


So it is not about speed and standards? It`s only about what you prefere to use?
 
rsavarese
Re: div or table based templates?
13 December 2007 19:23
Anonymous Quote by adrian:


So it is not about speed and standards? It`s only about what you prefere to use?



yes
 
stigi
Re: div or table based templates?
13 December 2007 21:29
Anonymous Quote by adrian:

So it is not about speed and standards? It`s only about what you prefere to use?


I'm not sure, but I think that <div> is more XHTML compatible, than old-style <table>
 
trex1512
Re: div or table based templates?
13 December 2007 23:07
Anonymous Quote by adrian:
So it is not about speed and standards? It`s only about what you prefere to use?


As a user, speed is certainly a factor, but its how it works, looks, and how easy to manipulate that is the deciding factor..

As a user I am not concerned with standards, just as long as it works...

Selfish I know...:-)

TerryF
 
rsavarese
Re: div or table based templates?
14 December 2007 09:55
Anonymous Quote by stigi:

I'm not sure, but I think that <div> is more XHTML compatible, than old-style <table>


DIV XHTML is more, but not all browsers behave the same way. In addition, use 'only' the properties of the css (position, margin, top, left etc) for layout output dynamically according to the settings in the backend dates, need much PHP code for controlling themselves to be always' consistent ' . Ultimately, in my view, the choice between DIV and TABLE should be made as appropriate.

Lello
 
adrian
Re: div or table based templates?
14 December 2007 10:56
Anonymous Thank You guys for info, you helped me, and this topic is still open to suggestions & stuff anyone wants to share with us.
Adrian
 
legolas558
Re: div or table based templates?
14 December 2007 15:07
Anonymous Our general policy is (as stated in the docs):

divs are good, but not essential.

I mean: if divs are not designed to make a table-based layout, and further more if a table-based layout made up of divs is not cross-browser compatible, we will not use divs at all costs.

We plan to be XHTML 1.1 Strict compatible (some day) but that does not prevent us from using tables.

So, tables are not forbidden at all in our officially released templates. But if divs are more suited (think about an unnecessary single-row single-cell table) you should use them.
 
Top