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.
Please advise. Thank you.
<td width="1250" height="30" background="image/Header.png"><strong style="color: #FFD700; font:Verdana, Geneva, sans-serif"> Welcome to Mentor Mentee System of Faculty of Engineering</strong></td>
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?
Also, this syntax:
is incorrect and should be:
font:Verdana, Geneva, sans-serif
At the very least, the font property requires the font size and font family.
font-family:Verdana, Geneva, sans-serif;
Last edited by Bonesnap; 05-11-2012 at 06:13 PM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread