Forum Moderators: mack

Message Too Old, No Replies

Text size - size really does matter!

How can I make sure that my site retains its shape?

         

claimsweb

7:00 pm on Oct 26, 2002 (gmt 0)

10+ Year Member



Hello all,

I need some help on what I hope is a simple problem. I am a sole trader who has designed a fairly basic table based website. Nothing flashy but Im pleased with the results. Only problem is that when I alter the text size (ie switch from smallest to largest) in my browser the alignment of the text shoots all over the place altering the table height/width and frankly ruins the whole appearance of the site.

Is there any way to control this re-sizing because obviously you dont see this on decent corporate sites so whats the fix? My site is authored on Frontpage and any advice would be greatfully appreciated

Cheers
Clancy

Syren_Song

7:04 pm on Oct 26, 2002 (gmt 0)

10+ Year Member



Try setting your font size using px or em. That should give you a standardized font size that won't fluctuate as much as "small" and "large" will.

Nick_W

7:09 pm on Oct 26, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Actually em is a relative font unit. So You'll have the same problem.

The quick fix is px but in the long run you're better off making more robust designs and using em's ....

Nick

claimsweb

7:41 pm on Oct 26, 2002 (gmt 0)

10+ Year Member



I appreciate your quick responses
Ive never come across px / em before now but Ive located them in FP and Im resetting all the text. Hopefully this will take care of the problem
Many thanks

Syren_Song

7:44 pm on Oct 26, 2002 (gmt 0)

10+ Year Member



Thanks, Nick_W. I didn't realize "em" was relative. I'm still learning about style sheets myself.

Guess I'd better keep learning! lol

Nick_W

8:03 pm on Oct 26, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You're most welcome. CSS is great fun. You get to tinker to your hearts content and as a by-product you get fast, light, extremely search engine friendly pages.

What could be more fun? (actually PHP's pretty cool if you like to tinker also ;))

Nick