Hi there, I am in the middle of web development and I am using Dreamweaver CS 5.5. I have a habit of doing my design using split section which showing both code and design view. I have some condition here on the font type that I am desired to put in my web.
In the Design View, the font type displaying fine as what I have write in the code but when come to 'Live View' and browser 'Preview', it shows the different font.

My code:

<tr> 
    <td width="1250" height="30"  background="image/Header.png"><strong style="color: #FFD700; font:Verdana, Geneva, sans-serif">&nbsp;&nbsp;&nbsp;Welcome to Mentor Mentee System of Faculty of Engineering</strong></td> 
  </tr>

Please advise. Thank you.

    Moved to the appropriate forum.

    Do you have the Verdana or Geneva fonts installed? If not, the two applications are using whatever their default choice for sans-serif font is. If you do, perhaps one of the applications is set to ignore fonts in stylesheets (you don't say what fonts the two applications are using).

    But all this is pretty much inevitable and is the reason why fonts are declared with several options and why stylesheets exist: not everyone in the world uses the same program as you to view web pages, and not everyone in the world views them on your computer.

      Being a (former) Dreamweaver user for about six years, I definitely recommend dropping the design view and instead use an actual browser (or several browsers) to view your website.

      Think of it this way: how many people do you know use Dreamweaver to browse the Internet?

      EDIT:

      Also, this syntax:

      font:Verdana, Geneva, sans-serif

      is incorrect and should be:

      font-family:Verdana, Geneva, sans-serif;

      At the very least, the font property requires the font size and font family.

        Write a Reply...