6 replies
  • WEB DESIGN
  • |
I am using Dreamweaver CS5.

Whatever text I type into a cell or table appears bold - in Dreamweaver and on the Web.

There are no <strong> tags, but what Dreamweaver is making are <th> tags, which are header tags and automatically make the fonts bold.

I need Dreamweave to create <td> tags instead. Yes, I can go over each page in Code View, and replace all the <th> tags with <td>. What a PITA.

How do I make Dreamweaver "forget" about <th> tags. I've searched and searched Dreamweaver's Help, but found no solution.

Anybody?

Thanks

:-Don
#bold #oddball #text
  • Profile picture of the author KirkMcD
    How are you adding rows to the table?
    From the menu?
    If so and you are on the header row, it will insert another header row.
    If you are on a regular row, it will insert a regular row.
    How to avoid this behavior? I don't think you can.
    {{ DiscussionBoard.errors[3964001].message }}
  • Profile picture of the author RemingtonSteele
    Originally Posted by Don Schenk View Post

    There are no <strong> tags, but what Dreamweaver is making are <th> tags, which are header tags and automatically make the fonts bold...How do I make Dreamweaver "forget" about <th> tags. I've searched and searched Dreamweaver's Help, but found no solution.
    I use DW CS5 as well, and I just tried inserting a table (normally I hand-code them), and it doesn't insert any <th> tags, so I'm not sure where they're coming from in your case. Is DW adding any CSS to the page that you can see? The bold font has to be coming from somewhere, and the only thing that I can think of is CSS because it's not coming from either <strong> or <b> tags as you said. If you see CSS for the <th> tag, and you choose not to replace the <th> tags with <td> tags (see below), then change the CSS font-weight property to normal. Alternatively, you can create a style sheet (a .css file) and force all <th> tags to have the properties that you specify.

    Originally Posted by Don Schenk View Post

    I need Dreamweave to create <td> tags instead. Yes, I can go over each page in Code View, and replace all the <th> tags with <td>. What a PITA.
    You can just do a global change using the Find and Replace feature, which will allow you to select a folder to which you want to apply the change.
    {{ DiscussionBoard.errors[3965218].message }}
  • Profile picture of the author Don Schenk
    Okay, here are some examples. The links are not set up.

    EDIT: I am pulling down the links. I need to go finish the sites.

    look at line 11 and it ends at line 19

    Lines 32-35 all the Lorem ipsum.

    line 90-91 - but this has a CSS style
    and lines 97 to100 - no CSS

    @Kirk - I am using the "insert" menu an selecting table. When I need rows I put them into the table at that time.

    @Remington - Sometimes I let DW build font styles and have CSS. The EXAMPLE.html page doesn't have that. The <th> just appeared.

    Thanks

    :-Don
    {{ DiscussionBoard.errors[3965516].message }}
    • Profile picture of the author RemingtonSteele
      It looks like the default font weight for a <th> tag is bold, just as it is for <h1>. If you don't want the bold text, you can either get rid of the <th> tags or override the default property using CSS. Your entire text on EXAMPLE.html is bold because all of it is inside a <th> tag. When you change the <th> to <td>, it will lose the bold.

      As a quick CSS test, you can add the following to your <head> section:

      Code:
      <style type="text/css">
      table tr th {font-weight:normal}
      </style>
      {{ DiscussionBoard.errors[3965563].message }}
    • Profile picture of the author KirkMcD
      Originally Posted by Don Schenk View Post

      Okay, here are some examples. The links are not set up.
      The samples you point out are all one row tables. Are you sure you are not selecting a table with a header row when you are inserting it from the menu?

      Otherwise, DW will sometimes get messed up. Try reinstalling it.
      {{ DiscussionBoard.errors[3967466].message }}
  • Profile picture of the author Don Schenk
    Okay, mystery solved!

    @Remington - That works and makes a quick fix for pages I have made

    @Kirk - Yes, that is what was happening. I just created another page and began to insert a table. I was selecting a table with a header row. When I selected "none" all worked well.

    Thanks again to both of you. Mystery solved!

    :-Don
    {{ DiscussionBoard.errors[3967487].message }}

Trending Topics