Free hanging text style

S

soup_or_power

Hi All
I have a free hanging text like this:
<font size="2"> my text </font>
The problem is the font is getting bigger in IE7. On Chrome and IE8
it
appears correctly.
The page also has several text instances with style attributes that
appear all right.
Tried <span> which doesn't seem to make a difference.
Can you please help me out?
Thanks
 
C

Chris F.A. Johnson

Hi All
I have a free hanging text like this:
<font size="2"> my text </font>
The problem is the font is getting bigger in IE7. On Chrome and IE8
it
appears correctly.
The page also has several text instances with style attributes that
appear all right.
Tried <span> which doesn't seem to make a difference.
Can you please help me out?

Remove all <font> tags. If you need to change the font size from
the default (which you should rarely do), use a CSS stylesheet.
 
D

dorayme

I have a free hanging text like this:
<font size="2"> my text </font>
The problem is the font is getting bigger in IE7. On Chrome and IE8
it
appears correctly.

What is captured text, what is the opposite of free text? Perhaps you
could provide a URL and say what you want?
 
H

Harlan Messinger

Hi All
I have a free hanging text like this:
<font size="2"> my text </font>

What is "free hanging text"?
The problem is the font is getting bigger in IE7.

Bigger than what? Getting bigger when? When you feed it? When you leave
it in sunlight?
On Chrome and IE8
it
appears correctly.
The page also has several text instances with style attributes that
appear all right.
Tried <span> which doesn't seem to make a difference.

Tried using it to do what?
Can you please help me out?

You're going to need to do a better job of explaining what your problem
is. A URL would be very helpful.
 
N

Neredbojias

Hi All
I have a free hanging text like this:
<font size="2"> my text </font>

The problem is the font is getting bigger in IE7. On Chrome and IE8
it
appears correctly.
The page also has several text instances with style attributes that
appear all right.
Tried <span> which doesn't seem to make a difference.
Can you please help me out?

Are you using a strict doctype? If not, you should. Also,
<span></span> by itself will do nothing. It must be properly styled
using css, and that can be done in more than one way. And as others
have stated, a url would be advantageous to your cause.

Moseltov
 
S

soup_or_power

What is captured text, what is the opposite of free text? Perhaps you
could provide a URL and say what you want?

Sorry I don't have the document in public domain. As I stated, it
depends on the browser. I checked the following URL

http://www.w3.org/MarkUp/Guide/Style.html

And it uses font tag to change the color/size of the text that is not
enclosed in any markup which is not working on IE7 (works on EI8 and
Chrome). What I mean by free hanging text is text that is not inside
any markup (other than body/head/html).

Thanks
 
S

soup_or_power

    Remove all <font> tags. If you need to change the font size from
    the default (which you should rarely do), use a CSS stylesheet.

--
   Chris F.A. Johnson, webmaster         <http://Woodbine-Gerrard.com>
   ===================================================================
   Author:
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)

How do I use CSS for text not inside any markup?
Thanks
 
C

Chris F.A. Johnson

On 2008-10-14, (e-mail address removed) wrote:
....
Sorry I don't have the document in public domain. As I stated, it
depends on the browser. I checked the following URL

Put up a document that exhibits the problem.
http://www.w3.org/MarkUp/Guide/Style.html

And it uses font tag to change the color/size of the text that is not
enclosed in any markup which is not working on IE7 (works on EI8 and
Chrome). What I mean by free hanging text is text that is not inside
any markup (other than body/head/html).

That is not valid HTML. Everything must be inside a block-level
element.
 
D

dorayme

"Chris F.A. Johnson said:
On 2008-10-14, (e-mail address removed) wrote:

That is not valid HTML. Everything must be inside a block-level
element.

Depends on the doctype, under some it does not have to be.
 

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

Members online

Forum statistics

Threads
474,091
Messages
2,570,605
Members
47,225
Latest member
DarrinWhit

Latest Threads

Top