Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
9
Erster Beitrag:
vor 4 Jahren, 10 Monaten
Letzter Beitrag:
vor 4 Jahren, 10 Monaten
Beteiligte Autoren:
Geoff B, Fabrice Harari, Pragma Tix, Piet van Zanten

WB17 - How to stop webdev positioning by tables

Startbeitrag von Geoff B am 12.03.2013 02:44

Is there any way to stop WebDev using tables to position everything?

I want to place a control, assign a css style to it, and not have tables everywhere!

Antworten:

Hi Geoff

I think you are mistaking webdev for an html editor... It is NOT and you should immediately stop to think along those lines... Webdev is a tool in which you'll create web sites without ever touching the html (in fact, you shouldn't even KNOW that it's using tables to position things :-) )

And no, it's not possible in 17... In 18, you have the choice between tables and zoning, but there is a good chances that none of the two options would be THE ONE you would like

Best regards

von Fabrice Harari - am 12.03.2013 11:02
Hi Fabrice,

That's like saying that you shouldn't know anything about databases to use Windev, which is obviously nonsense.

The use of tables in website design has been out of fashion for the past 10 years, it is ignorant to put your head in the sand and say you don't need to know about it!

In some cases it wouldn't matter if tables were used, but in the vast majority of cases these days, where responsive website design is a necessity, then table layout simply isn't appropriate.

I hope WB18 offers improvements in this area because WB 17 is unusable for me.

von Geoff B - am 12.03.2013 12:22
Hi Geoff

it looks like we'll have to agree to disagree... What you want to do is use a high level tool the same way that you would use a LOW level tool... And for me THAT is the nonsense...

If you need to do this kind of things, then clearly webdev is NOT the tool that will match you rneed (and version 18 wont really help at that level as control is about as limited than 17)...

Webdev GENERATES pages for you... Either you are happy with that, or you go back to dreamweaver... I didn't and it never stopped me to create web sites... It's just another way of working...

Now about your comparison with windev and DB, it's like comparing apples and oranges... The right comparison would be for you to say: in windev, the compiler is creating bloated code, the dlls coming with my program are way too big, they sould be built on demand with JUST the functions needed for my code and so on... And in that case, I would again answer that you may be right on general principal, but if you are set on this, you should use another tool...

Finally; nobody is asking you to put your head in the sand, and believe me when I say that I don't... Knowing how things are working is good... Letting the way things work prevent you to do a job is not

best regards

von Fabrice Harari - am 12.03.2013 12:38
Hi Fabrice,

I want to layout my website and pages using divs and css instead of tables.

I don't think that is asking too much?

Nothing to do with meaningless labels such as High Level and Low Level!

von Geoff B - am 12.03.2013 12:53
Hi Geoff,

From Webdev 17 it is possible to choose the "positioning" mode in the page description.
In the general tab you can choose the edit mode edit in "zoning", positioning by blocks and anchoring on the controls as opposed to the version16 compatible mode positioning by table and extensible areas.
Looking at the resulting pages I soon found out that this does not mean that Webdev does not use tables anymore.
In the new mode positioning still isn't rock solid and may require tweaking by checking or unchecking the "control can be overlayed" option.

Though it is possible to use your own css, the drawback is that the styling is not visible in the editor, only at runtime, so you cannot preview your changes when designing.
In fact, using a custom css file in your project may completely ruin the layout of your pages.

So I fully agree with Fabrice that you should leave the rendering of the pages to Webdev or use a different tool.

Regards,
Piet

von Piet van Zanten - am 12.03.2013 14:03
Thanks Piet,

I see the zoning in WebDev 17 and it allows creation of divs, but as you say, every control is still placed in a table!!! (I haven't experimented with the "overlayed" options yet?)

I have no problem if styling is not visible in the editor, I am very familiar with css and can completely change the styling just by editing the css outside of Webdev, which is all I want to be able to do!

IOW I want Webdev to do the "high end" stuff and leave the "low end" stuff to better tools, since Webdev is not a css editor! ;)

von Geoff B - am 12.03.2013 21:58
Hi Geoff,
Try :
Project/Project Description/Advanced and tick Positioning by DIV tag checkbox,.

HTH
#pragma

von Pragma Tix - am 13.03.2013 08:00
Quote
Pragma Tix
Hi Geoff,
Try :
Project/Project Description/Advanced and tick Positioning by DIV tag checkbox,.

HTH
#pragma


Thanks, I have already tried that and positioning of controls is still done with tables - maybe they have enhanced this in WB18??

von Geoff B - am 23.03.2013 07:14
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.