471,618 Members | 1,195 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,618 software developers and data experts.

My texts go strange when font size is changed

Hi all,


I'm having a problem with my web site which I'm working on. The problem is that if I change the size of the font everything turns into a mess - here's my web site: www.sound-creations.net . See the "About" page for example.

On other web sites I've seen that they have made the font size constant. While searching some forums I found that some people thought that seting the font size to a constant was totally against the idea of CSS. You tell me, how can I solve a such problem? I'm personally ok with my default settings and didn't mind looking at the site with constant font sizes.

Maybe there's a better solution?
Oct 16 '07 #1
2 1174
drhowarddrfine
7,435 Expert 4TB
Having a fixed font size is not anti-CSS at all but works against accessibility by those who may need to resize the font to read it. But once you get into fluid layouts it can sometimes get tricky trying to keep it all together. One of the better designers I know says you should allow our site to resize two steps or three but after that, you cannot be faulted if the page breaks.

So, generally, there is nothing wrong with fixed font sizes. Many pages, especially those created by typographers, are fixed point.

On your about page, change the style to this:
width:500px; margin:0 auto; top: 443px; height: 24px;
Oct 16 '07 #2
Thank you. I've solved the problem after some time learning how to create divs and how to float objects.

I totally love my new hobby, making web sites, :)
Oct 29 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

9 posts views Thread by Robert Misiorowski | last post: by
115 posts views Thread by J | last post: by
3 posts views Thread by Jim in Arizona | last post: by
2 posts views Thread by msnews.microsoft.com | last post: by
2 posts views Thread by Phill W. | last post: by
6 posts views Thread by semedao | last post: by
1 post views Thread by XIAOLAOHU | last post: by
1 post views Thread by ZEDKYRIE | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.