Skip to main content
Participant
Apr 19, 2022 5:27 PM UTC
Question

Editing HTML file in Dreamweaver....

Hi Dreamweaver Pros,

I would like to know how I can create more of these blue rectangular boxes below the first one, and also connect the additional rectangular boxes with a thin red vertical line.  See below example.  The file is in  html.

 

 

 

 

This topic is closed to new replies. Start a new post to keep the conversation going.

13 replies

Nancy OShea
Community Expert
Community Expert
Apr 19, 2022 7:07 PM UTC

It's unclear what this will be used for. 

 

If you want an actual flowchart, you might have better success with something like LucidChart.  They offer 100 templates for every possible discipline with free and tiered pricing plan options.

https://www.lucidchart.com/pages/landing/flowchart-software

https://www.lucidchart.com/pages/templates/flowchart

 

Translate
Nancy O'Shea— Product User & Community Expert
B i r n o u
Legend
Apr 19, 2022 7:20 PM UTC

that's a nice alternative, but why going from scratch, if the template can already handle it ?

Translate
Nancy OShea
Community Expert
Community Expert
Apr 19, 2022 7:26 PM UTC

Most flowcharts are complex multi-directional and multi-layered graphics.  This would be very challenging to do in HTML alone.

 

Use the right tools & methods for the project.  😉

 

 

 

 

Translate
Nancy O'Shea— Product User & Community Expert
Legend
Apr 19, 2022 6:31 PM UTC

 

See code below, works on mobile devices too!

 

 

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Text Boxes</title>
</head>
<style>
body {
font-family: helvetica, sans-serif;
}
.textBoxesWrapper {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-column-gap: 30px;
width: 80%;
margin:	0 auto;
border-top: 10px solid #ed1d00;
}
@media screen and (max-width: 768px)	{
.textBoxesWrapper {
grid-template-columns: repeat(2, 1fr);
}
}
@media screen and (max-width: 520px)	{
.textBoxesWrapper {
grid-template-columns: 1fr;
}
}
.textBoxGroup {
display: flex;
flex-direction: column;
}
.textBox {
display: flex;
flex-direction: column;
justify-content: center;
background-color: #3778fa;
padding: 20px;
flex: 1;
border-radius: 4px;;
}
.textBox h3 {
margin:	0 0 5px 0;
padding: 0;
text-align: center;
font-size: 20px;
font-weight: 600;
color: #fff;
}
.textBox h4 {
margin: 0;
padding: 0;
text-align: center;
font-size: 16px;
font-weight: 600;
color: #fff;
}
.vertLine {
height:	70px;
width: 10px;
margin:	0 auto;
background-color: #ed1d00;
}
</style>
<body>
<div class="textBoxesWrapper">


<div class="textBoxGroup">
<div class="vertLine"></div>
<div class="textBox">
<h3>Gustavo Aragon</h3>
<h4>Production Control Manager</h4>
</div>
</div>
<!-- end textBoxGroup -->


<div class="textBoxGroup">
<div class="vertLine"></div>
<div class="textBox">
<h3>Gustavo Aragon</h3>
<h4>Production Control Manager</h4>
</div>
</div>
<!-- end textBoxGroup -->


<div class="textBoxGroup">
<div class="vertLine"></div>
<div class="textBox">
<h3>Gustavo Aragon</h3>
<h4>Production Control Manager</h4>
</div>
</div>
<!-- end textBoxGroup -->



<div class="textBoxGroup">
<div class="vertLine"></div>
<div class="textBox">
<h3>Gustavo Aragon</h3>
<h4>Production Control Manager</h4>
</div>
</div>
<!-- end textBoxGroup -->


<div class="textBoxGroup">
<div class="vertLine"></div>
<div class="textBox">
<h3>Gustavo Aragon</h3>
<h4>Production Control Manager</h4>
</div>
</div>
<!-- end textBoxGroup -->


<div class="textBoxGroup">
<div class="vertLine"></div>
<div class="textBox">
<h3>Gustavo Aragon</h3>
<h4>Production Control Manager</h4>
</div>
</div>
<!-- end textBoxGroup -->



<div class="textBoxGroup">
<div class="vertLine"></div>
<div class="textBox">
<h3>Gustavo Aragon</h3>
<h4>Production Control Manager</h4>
</div>
</div>
<!-- end textBoxGroup -->


<div class="textBoxGroup">
<div class="vertLine"></div>
<div class="textBox">
<h3>Gustavo Aragon</h3>
<h4>Production Control Manager</h4>
</div>
</div>
<!-- end textBoxGroup -->


<div class="textBoxGroup">
<div class="vertLine"></div>
<div class="textBox">
<h3>Gustavo Aragon</h3>
<h4>Production Control Manager</h4>
</div>
</div>
<!-- end textBoxGroup -->


</div>
<!--end textBoxesWrapper-->
</body>
</html>

 

 

Translate
B i r n o u
Legend
Apr 19, 2022 7:39 PM UTC

very nice part of answer,

you should complete it with what's about the sibling ones, and the ending horizontal line ?

Translate
Legend
Apr 19, 2022 7:50 PM UTC
quote

very nice part of answer,

you should complete it with what's about the sibling ones, and the ending horizontal line ?


By @B i r n o u

 

OP just states they want boxes beneath each other with an adjoining line..........if they want to output the loopy-loop flowchart then they may need a more sophisticated approach.

Translate
Nancy OShea
Community Expert
Community Expert
Apr 19, 2022 5:48 PM UTC

Use a vector graphics editor like Illustrator or Inkscape and export to SVG code.   Or use an SVG Generator.

https://www.smashingmagazine.com/2021/03/svg-generators/

 

Scalable Vector Graphics are math-based images that can be scaled up or down without any loss in quality.  SVG is perfect for flow charts, infographics, text and other non-photographic web images.  The code can be further edited in Dreamweaver to add custom animation and interactive functionality.

 

Hope that helps.

 

Translate
Nancy O'Shea— Product User & Community Expert
B i r n o u
Legend
Apr 19, 2022 5:45 PM UTC

two points

  • the code and the screen shot doesn't fit the same region
  • the templating model doesn't seams to belong to DW

could you be more specific of give the appropriate veiw and code part

Translate