Design View Font Size

A

Arun

I am editing a web page created through another software. The font shown in
design view is always Verdana 3 (12 pt) while the webpage preview displays it
as Verdana 1 (8 pt). The default webpage style is defined with and embedded
css at the top of the page:

<style type="text/css" media="screen">
body { font-size: 11px; font-family: Verdana, Arial }
</style>

I know that this line is active, because when I change the font-size it does
change the page preview - but not the look of the design view.

I can select the text in design view and modify the font, but this adds
<font size> tags directly into the code. I have already set the default font
in design view to be Verdana 8 pt.

Why can't I get the design view text to match the web view text? Also, what
is the relationship between pt and px?

I am looking forward to giving out a beautiful green check mark.
 
S

Stefan B Rusynko

Styles do not cascade into some containers
add a style for text in tables (each can be different)

td { font-size: 11px; font-family: Verdana, Arial }
th { font-size: 11px; font-family: Verdana, Arial }
caption { font-size: 11px; font-family: Verdana, Arial }



--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


|I am editing a web page created through another software. The font shown in
| design view is always Verdana 3 (12 pt) while the webpage preview displays it
| as Verdana 1 (8 pt). The default webpage style is defined with and embedded
| css at the top of the page:
|
| <style type="text/css" media="screen">
| body { font-size: 11px; font-family: Verdana, Arial }
| </style>
|
| I know that this line is active, because when I change the font-size it does
| change the page preview - but not the look of the design view.
|
| I can select the text in design view and modify the font, but this adds
| <font size> tags directly into the code. I have already set the default font
| in design view to be Verdana 8 pt.
|
| Why can't I get the design view text to match the web view text? Also, what
| is the relationship between pt and px?
|
| I am looking forward to giving out a beautiful green check mark.
|
 
A

Arun

But these do seem to cascade since when I change the font-size value the
webpage text adjusts through all the tables and everywhere else - just not in
design view mode. I guess my question really is why the design view text
size does not match the preview text size.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top