|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi All,
I am a little confused as what to use and what not to use when it comes to coding my site with css. I am not a big fan of tables and therefore would like ot shift away from that to using containers in CSS. Could you please shed some light on these questions: - what do I need to use for text sizes (absolute? relative? and do I use em? or %? - what do I need to follow to ensure the site would show ok in most browsers? are there websites that you would recommend to read before I make a start? - do I use relative? or absolute? or BOTH for the containers on the site? I am getting worried to make a start on my website incase I start off designing and end up finding out I need to start again because the choice I made was incorrect. thanks for your time. T |
|
|||||
|
Quote:
Quote:
Then just adjust it the same way you would in a document editor like Word. Quote:
Quote:
Quote:
|
|
||||
|
Quote:
Quote:
The thing to remember about absolute positioning is that your positioned element will be removed from the flow of the document and placed in the area you define for it, regardless of what's in that area already...so make sure there's nothing there. If used properly, absolute positioning can be a godsend. If used incorrectly, it can be hell in high heels. Quote:
__________________
Toronto Web Design | Search Engine Friendly, Standards-Compliant Layouts | Walk on my Path (my blog) |
|
|||
|
- do a lot of people use Netscape? and do I need to go around and look for netscape fixes at a later stage?
- if I use font sizes that change, and I use absolute positioning for the containers on the page, doesnt this make the text extend and look out of proportion from the surrounding borders? or is there usually a solution for that? - what do you think of this code? the replies for this post are great:) - thanks a lot I will make a start on the design and do like you said, keep testing using both browsers instead of just one..this should keep me heading in the right direction. |
|
||||
|
Quote:
You *need* fixed sizes only for rigid, fixed, print-oriented designs which fall apart on changing font size. IMO, font size should be user-selectable, so relative units should be preferred. One way of doing this is pointed out at http://alistapart.com/articles/relafont faglork |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |