• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

what is wrong with this code?

Community Beginner ,
Nov 29, 2018 Nov 29, 2018

Copy link to clipboard

Copied

The right-col is slightly misplaced:

<!DOCTYPE html>

<html lang="en">


<head>

    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <title>Document</title>

    <style>

        * {

            box-sizing: border-box;

        }


        body {

            margin: 0 auto;

            width: 100%;

            background: lightgray;

            border-collapse: collapse;

        }


        div,

        header,

        footer {

            padding: 10px;

            border: 2px #0000ff solid;

        }


        #left_col,

        #page_content {

            margin-right: 10px;

            margin-top: 10px;

            margin-bottom: 10px;

            margin-left: 0;

        }


        #right-col {

            margin-top: 10px;

            margin-bottom: 10px;

        }


        header,

        footer {

            text-align: center;

            min-height: 50px;

        }


        #left_col {

            float: left;

            width: calc(15% - 10px);

        }


        #right_col {

            float: left;

            width: 15%;

        }


        #page_content {

            width: calc(70% - 10px);

            float: left;

        }


        #container,

        #scripts,

        #wrapper {

            border: 0;

        }


        #left_col,

        #right_col,

        #page_content {

            min-height: 500px;

        }


        footer {

            clear: left;

        }

    </style>

</head>


<body>


    <div id="wrapper">

        <header>

            <h1>Header</h1>

        </header>


        <div id="container">

            <div id="left_col">Left Column</div>

            <div id="page_content">Page Content</div>

            <div id="right_col">Right Column</div>

        </div>


        <footer>Footer</footer>

    </div>


    <div id="scripts">Scripts</div>

</body>


</html>

Views

3.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Dec 05, 2018 Dec 05, 2018

Copy link to clipboard

Copied

So true.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 05, 2018 Dec 05, 2018

Copy link to clipboard

Copied

As You may have noticed, I have a great dislike for misleading statements. When I see

A typical Bootstrap page weighs close to 1MB in CSS and script alone (uncompressed) which can be counted in terms of 10s of thousands of lines, while a similar Harmony page comes in at around 20K (markup, CSS, and script include).

I wonder why comparing apples with eggs has anything to do with the price of sugar.

Harmony is a mere page layout, Bootstrap is a full library.

I do admire your efforts to bring your products to the forefront. But please do not add to the fake news.

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Dec 05, 2018 Dec 05, 2018

Copy link to clipboard

Copied

First of all, your post is only helpful to the obvious Bootstrap fan that marked it so. Secondly, and oh my God I hope this sinks in for you...

I am talking about a base page layout scenario. You can add CSS and widgets to a Harmony page to do (now listen closely) anything Bootstrap can do and still (even more important) come in with not only far less code, but far more efficient code... and arguably (among those capable of assessing such things) better.

And please take no offense. I am simply stating my opinion of what might be considered both misinforming and ill-understood. Nothing personal intended.

And to any trolls wandering the halls... I like Ben and if I sound condescending it might be due to the fact that I am stating an opinion that differs from Ben's... or yours.

Yeah. I found this helpful

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 05, 2018 Dec 05, 2018

Copy link to clipboard

Copied

BenPleysier  wrote

Harmony is a mere page layout, Bootstrap is a full library.

Bootstrap is 'full' alright, full of mostly shite mark-up and verbose css, at least you have that correct, not much else.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Dec 05, 2018 Dec 05, 2018

Copy link to clipboard

Copied

You mean by using a DIV with a class of "row" when the nature of the Flexbox specification makes the concept of a row irrelevant? And then giving that row negative left and right margins because whoever wrote that failed to understand the concept of inline-flex?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 06, 2018 Dec 06, 2018

Copy link to clipboard

Copied

LATEST

ALsp  wrote

You mean by using a DIV with a class of "row" when the nature of the Flexbox specification makes the concept of a row irrelevant? And then giving that row negative left and right margins because whoever wrote that failed to understand the concept of inline-flex?

Thats one example for sure.

I just have never been able to grasp the concept of de-construction rather than construction or reverse engineering as opposed to engineering.

Lets face it most good developers will change the majority of the properties that the  Bootstrap css classes use unless you happen to be color challenged and like primary, danger, alert etc. Most times a discerning developer will not find a p-2, p-3 or m-2, m-4 appropriate for the spacing they require. You generally end up with a stylesheet you may as well have written from scratch, rather than having verbose excess styles in a styelsheet you never needed if the first instance.

Bootstrap is plagued with rather poor html mark-up and poor css selectors in my opinion. I could not use it and feel good about it, especailly as its too easy to put together a clean and lean responsive layout in minutes without the necessity of using any framework.

One could argue that Bootstrap is more than a responsive layout tool but to keep using the same default options provided is never going to expand your horizons so you end up in a tiny little box, not even trying to punch your way out. All frameworks kill that desire to want to explore and experiment because they endorse laziness.

Bootstrap is not a concept that I could ever endorse personally. As the saying goes 'Its like Marmite' you either love it or hate it. There is very little skill in using any framework once you have memorised a few dozen classes. I always regard skillful operators with great admiration, I see those that use Bootstrap as robots that paint by numbers, theres is nothing skillful in doing that.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 05, 2018 Dec 05, 2018

Copy link to clipboard

Copied

Whilst you all know I do not like bootstrap, I don't think Dw had any choice but to incorporate bootstrap as part of Dw's offerings. It was esential that Dw had some rwd framework and as I have said previously, 'it is the best of a bad bunch'.

If Dw had not incorporated bootstrap, I don't think Dw would still exist.

We can all come up with reasons for and against bootstrap, but until the adobe and Dw managment choose one direction or another, (designer or coder) then nothing in Dw's CC offerings will satisfy me personally. I can live with a program that is aimed squarely at none coders, and try to help its users when I can. I can also live with a program aimed squarely at coders, and not just help when I can, but hopefully learn from others. What I cannot live with is Dw in its current, 'for no one' or as managment says, 'for designers who code', as it is then for no one.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 05, 2018 Dec 05, 2018

Copy link to clipboard

Copied

pziecina  wrote

What I cannot live with is Dw in its current, 'for no one' or as managment says, 'for designers who code', as it is then for no one.

I gave up on Dreamweaver some time ago as it is looked upon as a bit of an amatuer tool in the professional world and I wanted to distance myself from that association. Most professional developers would be using a free editor or maybe a top of the line paid for code editor. I look at dozens of youtube web-development channels of those developers I think are worth following and none use DW.

DW is what it, personally I'm not that concerned about whether it sinks or swims. One thing for sure though, I think we all agree, whilst other editors have moved forward in leaps and bounds DW has not. As Ive stated before I dont believe Adobe has any real conviction where Dw is concerned, the competition is raining on their parade.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Dec 05, 2018 Dec 05, 2018

Copy link to clipboard

Copied

I mostly agree with you.

My biggest problem is not so much Bootstrap's inherent quality (or lack thereof), but the fact that Adobe and some of the ACPs steer users toward it. Since this is not Adobe's code, the approach should be agnostic. I believe that many Dreamweaver users feel they have no choice... certainly after coming to the forum

Life is all about choices, and being free to choose. With Dreamweaver, the choice is use Bootstrap, code it yourself, or buy an extension. This is fine, except that all too often, the attitude on this forum is that there is no choice. There is only Bootstrap.

I guess when you make things one-dimensional, it's easier to answer. I guess if you only have a hammer, everything looks like a nail.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Dec 04, 2018 Dec 04, 2018

Copy link to clipboard

Copied

I hope you've solved your issue. In the midst of the maelstrom of posts, please pay heed to Clear Fix method I outlined and the elements on which you should be using padding and margins. The solution is quite easy. If you need more assistance, you might want to start a new topic. I'm sure everyone will understand.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 05, 2018 Dec 05, 2018

Copy link to clipboard

Copied

and the multiple management of skills is not only a matter of a contemporary period, already at the time of the troubadours, these were already endowed with a certain dexterity to handle plural complexity as this old engraving shows it

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 05, 2018 Dec 05, 2018

Copy link to clipboard

Copied

We are not talking about multiple skill to survive, even a court jester sang, juggled, told stories and generally entertained.

The question was however related to web development, and someones suitability who had multiple part-time jobs,  so to repeat the question -

Would you hire someone doing web development as just one of a multiple part-time jobs, and do so for working on anything more than small, (cheap, one-off) site builds?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 05, 2018 Dec 05, 2018

Copy link to clipboard

Copied

well, when I see your answers, I no longer know if I should continue in the second degree, and continue in the humorous tone, or if I should come back down to earth with serious subjects,... well I can remain in self-mockery while keeping a Cartesian and realistic mind.

I have often worked on projects with people who had real skills and quite serious in their time of realization and who nevertheless only carried out this activity part time... and this for multiple reasons... choice of life, reason of balance, artistic wish etc... in short the reasons and the context are not lacking.

the main and essential point I look for for each project when setting up the team is motivation, competence, the desire to surpass oneself, not counting the hours when necessary, and this regardless of the mode of work for which the person is chosen.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 05, 2018 Dec 05, 2018

Copy link to clipboard

Copied

https://forums.adobe.com/people/B+i+r+n+o+u  wrote

the main and essential point I look for for each project when setting up the team is motivation, competence, the desire to surpass oneself, not counting the hours when necessary, and this regardless of the mode of work for which the person is chosen.

Thats all very admirable and I too look at all that you mention BUT and there is a big BUT if one doesnt have the necessary skills then that is all a waste of time. One should gain the skills needed first then all the  qualities you mention are very desirable and one I would expect! I dont run a bloody charity.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 05, 2018 Dec 05, 2018

Copy link to clipboard

Copied

your 'BUT' is not part of the initial question and opens the door to an understatement that is not consistent in any answer... it raises a question that becomes almost absurd...

in france we have a comedian who says in his sketch...do you prefer to have wooden teeth or a foam leg... for life... what do you prefer?... you see it's not easy to choose?

https://www.dailymotion.com/video/x1f1n7 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 05, 2018 Dec 05, 2018

Copy link to clipboard

Copied

https://forums.adobe.com/people/B+i+r+n+o+u  wrote

your 'BUT' is not part of the initial question and opens the door to an understatement that is not consistent in any answer... it raises a question that becomes almost absurd...

There is nothing absurd with expecting someone that you employ to carry out a specific and specialised requirement to posses the necessary skills to produce the work to a professional level. Just maybe that is why the world is in the state it is today - because less and less seem to have any pride or knowledge in what they actually do, thats clearly evident everwhere if youve ever tied to get anything processed recently.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines