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

How to set all font sizes and type the same in a table?

New Here ,
Nov 20, 2024 Nov 20, 2024

Copy link to clipboard

Copied

Hello, I am a beginner with Dreamweaver. I have a table with several columns and several rows. This was created with a different programme.
I now want to set all fonts and sizes the same. How can I do this?
Thank you very much!

Views

86

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 ,
Nov 20, 2024 Nov 20, 2024

Copy link to clipboard

Copied

This would be done via CSS. Regardless of what program this was created in prior, HTML/CSS/JS are all just text files that can be opened in any text editor, including Dreamweaver, and as DW is in minimal maintenance, learning DW as an application is not recommended.

 

The best thing you can do to understand your code, or get assistance with what you need to do with your CSS code would be to post your sample page online for us to review and from there we can help guide you. Also if you are completely unfamiliar with CSS it might be helpful to read up as well on some intros to CSS like this one: https://developer.mozilla.org/en-US/docs/Learn/CSS/First_steps . 

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
New Here ,
Nov 20, 2024 Nov 20, 2024

Copy link to clipboard

Copied

Ah, ok. Thank you Ben. 

Just checked tha source code of the table. 

There is:

 

<style type="text/css">
<!--
.Stil1 {font-family: Arial, Helvetica, sans-serif}
.Stil3 {font-size: 12px}
.Stil4 {font-family: Arial, Helvetica, sans-serif; font-size: 14px; }
.Stil5 {font-size: 14px}
.Stil6 {font-size: 16px}
.Stil8 {font-size: 14}
.Stil9 {font-family: Arial, Helvetica, sans-serif; font-size: 14; }
.Stil11 {font-size: 16px; font-weight: bold; }
.Stil14 {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: bold;
}
.Stil16 {font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; }
.Stil17 {font-size: 24px}
.Stil19 {font-family: Arial, Helvetica, sans-serif; font-weight: bold; }
.Stil24 {font-size: 18px}
.Stil25 {font-size: 12px; font-family: Arial, Helvetica, sans-serif; }
.Stil26 {font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-weight: bold; }
.Stil27 {font-weight: bold}
.Stil30 {font-size: 15px; font-family: Arial, Helvetica, sans-serif; }
.Stil35 {
font-size: 15px;
font-weight: bold;
}
.Stil36 {color: #FF0000}
.Stil41 {font-size: 14px; color: #FF0000; font-family: Arial, Helvetica, sans-serif; font-weight: bold; }
.Stil42 {color: #FF0000; font-weight: bold; }
-->

 

 

That is probably the reason for rhe different fonts. 

How can I use the same for all of these?

Just copy the fitting one to all Styles? Or is there a better and easier solution?

Thank you, 

Robert 

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 ,
Nov 20, 2024 Nov 20, 2024

Copy link to clipboard

Copied

It's not going to be only the CSS. The CSS is what will need to be edited, but we will need the HTML as well to see the impact of the CSS on the page. With what you have presented we have no context about what CSS to edit as we don't know where it is on the page. If the page is online, the best thing you can do in this instance is to share a link so we can quickly inspect the code live to provide you guidance about the edit(s) to make.

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 ,
Nov 20, 2024 Nov 20, 2024

Copy link to clipboard

Copied

If this is for tabular data like spreadsheets or charts, I typically give the table a unique ID (#foo) and style it with custom CSS.

 

#foo table {

font: small-caps normal 18em/150% Arial, Helvetica, sans-serif;

}

 

<table id="foo">

....

</table>

 

If you want better answers, show us your code.

 

Nancy O'Shea— Product User, Community Expert & Moderator

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 ,
Nov 20, 2024 Nov 20, 2024

Copy link to clipboard

Copied

LATEST

It might be simpler all around to start over with one of the pre-built Starter Templates in Dreamweaver.

 

1. Define a site.  Site > New Site...

2. Go to File > New > Starter Templates... see screenshot.

 

NancyOShea_0-1729797797782.png

 

Bootstrap Tables

https://getbootstrap.com/docs/4.0/content/tables/

 

Hope that helps.

 

Nancy O'Shea— Product User, Community Expert & Moderator

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