# Font Size

**URL:** https://forum.kirupa.com/t/font-size/184108
**Category:** flash
**Created:** [April 2, 2006, 2:32am UTC](https://forum.kirupa.com/t/font-size/184108 "2006-04-02T02:32:40Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![audrius\_05](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@audrius\_05](https://forum.kirupa.com/u/audrius_05)
#### Post date: [April 2, 2006, 2:32am UTC](https://forum.kirupa.com/t/font-size/184108/1 "2006-04-02T02:32:40Z")

</div>

does anyone know how to make in css or or any other way font size on the website that wouldn’t change even when you define size using view/text size/  
in another words to make font size let’s say 11px and no matter if you use your browser to increase font size it will still remain 11px. I know this can be done I ve seen before but I don’t know how to do it.

---

<div class="post-metadata">

### Author: ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)
#### Post date: [April 2, 2006, 2:36am UTC](https://forum.kirupa.com/t/font-size/184108/2 "2006-04-02T02:36:33Z")

</div>

That’s against the whole point of accessibility? What happens if your user needs a bigger font size? Then they get screwed, and they can’t view the page, because of your rule. Why would you _ever_, _ever_ want to do something like that?

---

<div class="post-metadata">

### Author: ![audrius\_05](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@audrius\_05](https://forum.kirupa.com/u/audrius_05)
#### Post date: [April 2, 2006, 2:38am UTC](https://forum.kirupa.com/t/font-size/184108/3 "2006-04-02T02:38:38Z")

</div>

[http://www.kirupa.com/forum/showthread.php?t=187073&highlight=font+size](http://www.kirupa.com/forum/showthread.php?t=187073&highlight=font+size)

actually i read a few posts before and all of them had no help but tellin gthat locking a font size is a bad idea, well I know it may be bad for some folks however I still need to know how to do it, I need to know how to to lock font to certain size.

thanks everyone

---

<div class="post-metadata">

### Author: ![simplistik](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/simplistik/32/7747_2.png) [@simplistik](https://forum.kirupa.com/u/simplistik)
#### Post date: [April 2, 2006, 2:38am UTC](https://forum.kirupa.com/t/font-size/184108/4 "2006-04-02T02:38:50Z")

</div>

only works in IE, all you’d have to do is

```auto
font-size: 10px

```

… but again… only works in IE

---

<div class="post-metadata">

### Author: ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)
#### Post date: [April 2, 2006, 2:40am UTC](https://forum.kirupa.com/t/font-size/184108/5 "2006-04-02T02:40:02Z")

</div>

I considered telling you that, but decided it’d be a better world if you didn’t implement that. 😉

---

<div class="post-metadata">

### Author: ![audrius\_05](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@audrius\_05](https://forum.kirupa.com/u/audrius_05)
#### Post date: [April 2, 2006, 2:40am UTC](https://forum.kirupa.com/t/font-size/184108/6 "2006-04-02T02:40:36Z")

</div>

> [@nokrev](#):
>
> That’s against the whole point of accessibility? What happens if your user needs a bigger font size? Then they get screwed, and they can’t view the page, because of your rule. Why would you _ever_, _ever_ want to do something like that?

yeah how about flash sites, how do u increase font on flash? same thingy, but most ppl never play with font sizes I am not planning to set on a very tiny font.

---

<div class="post-metadata">

### Author: ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)
#### Post date: [April 2, 2006, 2:41am UTC](https://forum.kirupa.com/t/font-size/184108/7 "2006-04-02T02:41:52Z")

</div>

Well, I’m also against Flash, but that’s besides the point. 😉

If you’re using a small font, you have even more reason to allow increased font sizes, as your text will be hard to read for even more people.

And how do you know that few people use that?

---

<div class="post-metadata">

### Author: ![audrius\_05](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@audrius\_05](https://forum.kirupa.com/u/audrius_05)
#### Post date: [April 2, 2006, 2:44am UTC](https://forum.kirupa.com/t/font-size/184108/8 "2006-04-02T02:44:24Z")

</div>

> [@nokrev](#):
>
> Well, I’m also against Flash, but that’s besides the point. 😉
> 
> If you’re using a small font, you have even more reason to allow increased font sizes, as your text will be hard to read for even more people.
> 
> And how do you know that few people use that?

well I don’t know for sure but I am assuming that most ppl don’t ecven know where to increase the size, I amjust telling you based on my usage, I never increase or dicrease font size. but its me. 🙂 well besides I don’t know if I use that feature I am just saying I ve seen it before and I liked it

---

<div class="post-metadata">

### Author: ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)
#### Post date: [April 2, 2006, 2:46am UTC](https://forum.kirupa.com/t/font-size/184108/9 "2006-04-02T02:46:50Z")

</div>

Well, based on the fact that you’re on a Flash forum, I suspect you have rather good eyesight, and therefore it’s unnecessary for you to need larger fonts to see text. I wouldn’t make an assumption about world use of a feature based on my own experience.

For example, I’ve never used a machine with two 30" monitors. Does that mean nobody that could visit my site might have one? Most certainly not!

---

<div class="post-metadata">

### Author: ![audrius\_05](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@audrius\_05](https://forum.kirupa.com/u/audrius_05)
#### Post date: [April 2, 2006, 2:47am UTC](https://forum.kirupa.com/t/font-size/184108/10 "2006-04-02T02:47:06Z")

</div>

> [@simplistik](#):
>
> only works in IE, all you’d have to do is
> 
> ```html
> font-size: 10px
> 
> ```
> 
> … but again… only works in IE

where do I add this code?

---

<div class="post-metadata">

### Author: ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)
#### Post date: [April 2, 2006, 2:47am UTC](https://forum.kirupa.com/t/font-size/184108/11 "2006-04-02T02:47:27Z")

</div>

In the css for the item you want to be statically sized.

For example, if you want all h2’s to be statically sized, it’d be like this:

```auto
h2 {
    font-size: 10px;
}

```

🙂

---

<div class="post-metadata">

### Author: ![audrius\_05](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@audrius\_05](https://forum.kirupa.com/u/audrius_05)
#### Post date: [April 2, 2006, 2:51am UTC](https://forum.kirupa.com/t/font-size/184108/12 "2006-04-02T02:51:26Z")

</div>

> [@nokrev](#):
>
> Well, based on the fact that you’re on a Flash forum, I suspect you have rather good eyesight, and therefore it’s unnecessary for you to need larger fonts to see text. I wouldn’t make an assumption about world use of a feature based on my own experience.
> 
> For example, I’ve never used a machine with two 30" monitors. Does that mean nobody that could visit my site might have one? Most certainly not!

you’re right nokrev,

I have a menu that is text, and background image which is a photo I just need to figure out other ways of atchieving what I need.

when I resize font size it messes up my whole site: menu buttons become ugly as hell , background photo is duplicated since its set as background image, so I am thinking maybe I have to play with css and define classes for buttons, titles, bg images etc ,

---

<div class="post-metadata">

### Author: ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)
#### Post date: [April 2, 2006, 2:54am UTC](https://forum.kirupa.com/t/font-size/184108/13 "2006-04-02T02:54:13Z")

</div>

Look at this: [http://alistapart.com/articles/slidingdoors](http://alistapart.com/articles/slidingdoors)

It’s sliding doors (hence the name), which support increasing and decreasing the font, despite a background image.

That’s a very common method. 🙂

---

<div class="post-metadata">

### Author: ![audrius\_05](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@audrius\_05](https://forum.kirupa.com/u/audrius_05)
#### Post date: [April 2, 2006, 2:56am UTC](https://forum.kirupa.com/t/font-size/184108/14 "2006-04-02T02:56:04Z")

</div>

> [@nokrev](#):
>
> Look at this: [http://alistapart.com/articles/slidingdoors](http://alistapart.com/articles/slidingdoors)
> 
> It’s sliding doors (hence the name), which support increasing and decreasing the font, despite a background image.
> 
> That’s a very common method. 🙂

who is the man? you’re the man? 😃

---

<div class="post-metadata">

### Author: ![audrius\_05](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@audrius\_05](https://forum.kirupa.com/u/audrius_05)
#### Post date: [April 2, 2006, 4:42am UTC](https://forum.kirupa.com/t/font-size/184108/15 "2006-04-02T04:42:29Z")

</div>

> [@nokrev](#):
>
> In the css for the item you want to be statically sized.
> 
> For example, if you want all h2’s to be statically sized, it’d be like this:
> 
> ```auto
> h2 {
> font-size: 10px;
> }
> 
> ```
> 
> 🙂

Nokrev any suggestions how to define h2 in text (html )so I can set css to

```auto
h2 {
    font-size: 10px;
}

```

---

<div class="post-metadata">

### Author: ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)
#### Post date: [April 2, 2006, 4:49am UTC](https://forum.kirupa.com/t/font-size/184108/16 "2006-04-02T04:49:44Z")

</div>

Use an h2 tag…

```auto
<h2>header text</h2>

```

:lol:
