Copy link to clipboard
Copied
This seems like such an elementary question, but on my blank pages the text goes from border to border. I'd like to have some space at each side, but I don't want to have to create a table between every inserted photo in order to keep the text from running off the edges every time. I know it's an easy solution somewhere, but I don't know where it is.
We don't use tables for layouts anymore. Tables are for tabular data only.
Review the CSS Box Model.
HINT: To add space between elements, use margins. To add space between text and borders, use padding.
Copy link to clipboard
Copied
We don't use tables for layouts anymore. Tables are for tabular data only.
Review the CSS Box Model.
HINT: To add space between elements, use margins. To add space between text and borders, use padding.
Copy link to clipboard
Copied
I'm just laughing to myself. In the last few posts I've been told that tables aren't used anymore, "align" isn't used anymore... I suppose Insert > Images isn't used anymore, either. Nobody inserts anything now - that's old school, I'll bet.
I may have to go back to a simpler webpage building tool besides Dreamweaver. It's become too complicated for an occasional webpage builder like me who isn't a professional.
Copy link to clipboard
Copied
In the past, we have used tables for the layout of our documents because there were no better alternatives. Even today we use document structures that mimic a table structure namely rows and columns.
<section class="container">
<div class="row">
<div class="col">col 1</div>
<div class="col">col 2</div>
<div class="col">col 3</div>
</div>
</section>
The main reason for not using the <table> element is because of semantics, the ,table. element should be used for tabular data. See Tables Concepts • Tables • WAI Web Accessibility Tutorials
For the align attribute, 'The align attribute of <object> is not supported in HTML5. Use CSS instead'. See HTML object align Attribute
Lastly, it is not Dreamweaver that is the problem, it is the progress that has been made in web design/development. There are quite a few alternatives to Dreamweaver, most are not in the same class, meaning Dreamweaver is still one of the better overall tools to use.
Copy link to clipboard
Copied
Dr_Atomic wrote
I may have to go back to a simpler webpage building tool besides Dreamweaver. It's become too complicated for an occasional webpage builder like me who isn't a professional.
If your site isn't mobile friendly, Google penalizes you in web searches.
Mobile-Friendly Test - Google Search Console
I don't think you'll find a single modern web authoring tool that uses tables for layouts. Tables are not mobile friendly.