Are you still using tables?
Moderator: kfury77
- syrupcore
- Top Contributor
- Posts: 917
- Joined: Thu Jul 21, 2005 12:58 am
- Location: Portland, Oregon, usa
- Contact:
-1. ;pdaredare wrote:+2
you do realize that
was in reference tochrisjlocke wrote:I think you need to back that up. Apart from displaying tabular data, I can't think of one instance where it is better to use tables, rather than CSS.
right?daredare wrote:i think that sometimes tables can be much more consistent than div style layout. not to replace all the layout with tables but using them in certain cases
- syrupcore
- Top Contributor
- Posts: 917
- Joined: Thu Jul 21, 2005 12:58 am
- Location: Portland, Oregon, usa
- Contact:
good news! That's completely untrue. http://alistapart.com/articles/howtosizetextincss
you can ignore all the em parts if you want. just learning to set the font sizes on both the body and html elements and off you go. You might consider working with ems if you'd like the sites you've worked so hard on to be viewable and enjoyable by as many people as possible. I know I want as many people as possible enjoying the stuff I worked on.
I mean, if you like changing a million font tags every time you want to tweak something on your sites, rock on.
If you need help getting it to work, why not make a new thread and post a link. Maybe some one here can help.
will
you can ignore all the em parts if you want. just learning to set the font sizes on both the body and html elements and off you go. You might consider working with ems if you'd like the sites you've worked so hard on to be viewable and enjoyable by as many people as possible. I know I want as many people as possible enjoying the stuff I worked on.
I mean, if you like changing a million font tags every time you want to tweak something on your sites, rock on.

If you need help getting it to work, why not make a new thread and post a link. Maybe some one here can help.
will
- syrupcore
- Top Contributor
- Posts: 917
- Joined: Thu Jul 21, 2005 12:58 am
- Location: Portland, Oregon, usa
- Contact:
did you read the whole article?daredare wrote:yes but what if i dont work with <p> or whatever other html font related element? i only work with font-size:XXemsyrupcore wrote: and html elements and off you go.
font sizes cascade. set the html element to 100%. then set the body element to a percentage, say 78% (depends on the size you need). your p elements will pick that up from the body tag. if you need to adjust the p to be larger or smaller, you can set it in either % or in em.
reality is people browse with different size text. most people see it in a menu at one point or other, resize the text and then never look back. don't rely on your font size cause it's not what all of your users are seeing. If you're not building to accommodate increased/decreased font sizes, your site looks horrible to some users. plain truth... unless you just use image maps.

Will