Font type shown differently in live view and Dreamweaver design
Results 1 to 3 of 3

Thread: Font type shown differently in live view and Dreamweaver design

  1. #1
    Member Php Beginner's Avatar
    Join Date
    Nov 2011
    Posts
    30

    Unhappy Font type shown differently in live view and Dreamweaver design

    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:
    PHP 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.

  2. #2
    Pedantic Curmudgeon Weedpacket's Avatar
    Join Date
    Aug 2002
    Location
    General Systems Vehicle "Thrilled To Be Here"
    Posts
    21,910
    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.
    THERE IS AS YET INSUFFICIENT DATA FOR A MEANINGFUL ANSWER
    FAQs! FAQs! FAQs! Most forums have them!
    Search - Debugging 101 - Collected Solutions - General Guidelines - Getting help at all

  3. #3
    Senior Member
    Join Date
    Mar 2009
    Posts
    819
    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:
    Code:
    font:Verdana, Geneva, sans-serif
    is incorrect and should be:

    Code:
    font-family:Verdana, Geneva, sans-serif;
    At the very least, the font property requires the font size and font family.
    Last edited by Bonesnap; 05-11-2012 at 06:13 PM.
    Declare variables, not war.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •