Closed Thread Icon

Preserved Topic: Resize text Pages that link to <a href="https://ozoneasylum.com/backlink?for=18430" title="Pages that link to Preserved Topic: Resize text" rel="nofollow" >Preserved Topic: Resize text\

 
Author Thread
Keyser Soze
Nervous Wreck (II) Inmate

From:
Insane since: Nov 2001

posted posted 11-20-2001 13:01

Really curious on how to resize text as he did when you resize your browse window. Please help!

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 11-20-2001 14:01

welcome Keyser,

You can put that text in a layer (<div> tag) and then play w/ the layer's styles, for example layer's width.

Keyser Soze
Nervous Wreck (II) Inmate

From:
Insane since: Nov 2001

posted posted 11-20-2001 21:01

Yeah I understand that and I know that will change the size of the layer. But I want it that when the page is resized smaller, the layer wll of course become smaller along with the text size. Go to ozones.com and resize your window smaller and smaller and you'll see what I'm talking about.

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 11-20-2001 22:35

Do you know how to use style sheets? If you don't, learn that first.

Keyser Soze
Nervous Wreck (II) Inmate

From:
Insane since: Nov 2001

posted posted 11-20-2001 23:25

I know how to use Dreamweavers 4's style sheet
Does that count for anything?

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 11-20-2001 23:33

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Keyser Soze
Nervous Wreck (II) Inmate

From:
Insane since: Nov 2001

posted posted 11-21-2001 00:12

Thanks everbody and I really appreciate this. But does anyone know where I can find a tutorial or grab the source of making my text resize to a smaller font when the window is resized or expanded? I really need to know how to do this.

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 11-21-2001 00:55

Dreamweaver? Sadly, that doesn't count for *anything*. =)

Thing is, we'd love to tell you how to make your text size change. But if we don't first teach you all the things behind it, you'll come back later asking how to, say, change a border color, not knowing that it's done almost exactly the same way. If you don't learn what's behind it, you've gained nothing.

So... work on style sheets, and learn how to use JavaScript to access an HTML element and it's style properties, and then it'll be a small step from there.

Keyser Soze
Nervous Wreck (II) Inmate

From:
Insane since: Nov 2001

posted posted 11-21-2001 02:49

Thats why I ask right above to link me to a tutorial or something

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 11-21-2001 05:56

Hmm, well, InI did just give you a pretty good overview of style sheets in his small post up there. The best place to learn style sheets is probably the W3C itself, but looking at other people's code is also a good way to learn this; twItch^'s site comes to mind. (Note that style sheets are commonly in an outside file referred to by the <link> tag.) Another place you might look around is A List Apart; although I'm not sure they have any tutorials, I'm pretty sure they'll have some good style sheet examples in their code to look at...

As for JavaScript? I'm not sure how far you are with that, usually people in this forum have a *slight* amount of knowledge in the area. Unfortunately, the best way to learn this is really through a book. I recommend checking O'Reilly for new books. The one they might have on JavaScript, last I knew, is a bit outdated as far as the Document Object Model goes (which is the way you can change style sheets dynamically through JavaScript), but it's a good way to learn the language itself. Learning the language may take *quite* some time, especially if you have no prior programming experience.

To learn how to use JavaScript with the Document Object Model, in order to manipulate style sheets, you might try a few things... look at the source of pages such as Doc's, with highly dynamic content (my own page has some of this too, but the source is often very looong, and may be hard to learn from). Also try the W3C again. DHTML Central may have some helpful resources, although it tends to be mainly cut&paste scripts, which I discourage you and anyone else from using.

Hope that helps!

eyezaer
Lunatic (VI) Mad Scientist

From: the Psychiatric Ward
Insane since: Sep 2000

posted posted 11-21-2001 06:06

Go to www.w3schools.com Silly! It ROCKS! Only thing they don't teach is PhP... Dig around in there man... Get lost! and enjoy it!

So um... I have been wondering how the Doc did that... Could some one give me a *hint*? Pretty Please? I promise, I will dig around his code... I just dunno what to look for.



WOO!!! WOO!!! THIS IS a special post for me! Check the date!!! hehehe... I somehow feel quite a *bit* older though... yeck...

[This message has been edited by eyezaer (edited 11-21-2001).]

Keyser Soze
Nervous Wreck (II) Inmate

From:
Insane since: Nov 2001

posted posted 11-21-2001 10:54

Thanks a lot lallous, Slime and eyezaer

Those are the only replys I really needed.

« BackwardsOnwards »

Show Forum Drop Down Menu