[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How do I make text size changeable in browser

Posted on 2004-11-13
12
Medium Priority
?
251 Views
Last Modified: 2013-12-19
I have a number of tables created in Frontpage 2003.

When viewed in IE selecting VIEW/TEXT SIZE has effect on some cells but not others.

I have noticed that the cells that do change size have "2 (10 pt)" shown in the font size box whereas those that are fixed size only show "10 pt". When viewing the code, the sizeable cells have a "<font size="2">" tag whereas the fixed cells have no font tag at all.

I have tried selecting single and multiple cells in design view and selecting the "2 (10 pt)" options from the fontsize window but it doesn't get applied and the code doesn't get the ""<font size="2">"  tag added.

If I manually add the "<font size="2">" tag to the code in any cell it works but it is a massive task to manually adjust each cell in every table .

How can I globaly add this tag and how did I get the two variants in the first place?

Thanks
John
0
Comment
Question by:John_Dempsey
  • 9
  • 3
12 Comments
 
LVL 14

Expert Comment

by:hhammash
ID: 12573774
Hi,

When you manually put <font size="2"> are you replacing something or just inserting it?  If you are replacing something that is only available in tables cells use Edit > Find > Replace.

Otherwise,  you will need to do it using CSS.


hh
0
 
LVL 14

Expert Comment

by:hhammash
ID: 12573888
Hi,

To do it using css:

1- Create a new page
2- Save the page as tbl.css
3- Close the page
4- Open the page again and erase all HTML Code in it.
5- Add the following code to it

.table {
font-size:10pt
}

6- Save the page

7- Go to each page that has a table and add the following line before </head> tag:
<link rel="stylesheet" type="text/css" href="tble.css">
8- Go to the table tag and add:
class="table"

after each <table>  it should look like this:

<table class="table" ......other table properties>

9- Edit > Find <font size="2">
10- Replace with ""

In this case you delete every incident of <font size="2">


Then all your tables will have font size =10pt which means font size="2"

Try it on one page first,  then try the page to see if the text size changeable.  If it is a success,  do it in all pages.

For more saftey backup your pages.

Regards
hhammash
0
 
LVL 14

Expert Comment

by:hhammash
ID: 12573905
Hi,

Sorry:

Find
<font size="2">
Replace with:
Leave the replace with field blank

Then after that
Find
</font>
Replace with
Leave the replace with field blank
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:John_Dempsey
ID: 12574166
Thanks hhammash

I think I have followed your instructions correctly but now I have the opposite effect, none of the text in the table changes size, whereas I wanted all of the text to change size.

Have I made a mistake or did you misunderstand my intentions?

Also, is there anything I should do in future when creating new tables in Frontpage 2003 to ensure I get changeable size text throughout the table?

Regards
John
0
 

Author Comment

by:John_Dempsey
ID: 12574178
To answer your first question, I was inserting, there is nothing to replace unfortunately.

John
0
 
LVL 14

Accepted Solution

by:
hhammash earned 2000 total points
ID: 12574450
Ok,

Yes,  right it won't change.

I hope that you have backed up your pages.  I think you did.

Ok,  let's see:
Do all you tables have the same properties in the <table Tag>?

For example:  If all your tables have:
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="400">

Then change it with
<table border="1" font-size="2"  cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="400">

Select the first one and paste it in the Find field.
Select the second one and paste it in the Replace field

hh

0
 
LVL 14

Expert Comment

by:hhammash
ID: 12574458
This is the fastest way to do it.
0
 
LVL 14

Expert Comment

by:hhammash
ID: 12574494
In the folder list Click once on the root of your web that starts with http://....
Edit > Find
Enter the following in Find what:
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="400">
Then click the checkbox "Find in HTML"
Click "Find in Web" button
The results will be displayed
Click Replace and inster the following in the Find What:
<table font-size="2" border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="400">
Replace All

This way you do not need to open each and every page manually.

0
 
LVL 14

Expert Comment

by:hhammash
ID: 12574499
As long as your tables have the same properties in all pages,  my last post will let you change hunders of pages in a minute.
0
 
LVL 14

Expert Comment

by:hhammash
ID: 12574500
SORRY

In Find Where click on the radio button that says "All Pages"
0
 

Author Comment

by:John_Dempsey
ID: 12574835
Thanks HH

You have made me a very happy man.

The table headers were not all identical but by inserting the "font size="2"" where id did not exist, or by changing "10pt" to "2" in the header where it did, the problem is solved.

Many thanks

John
0
 
LVL 14

Expert Comment

by:hhammash
ID: 12574901
You are welcome John
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question