View Full Version : **h E L P**
I know NOTHING about CSS, but was told it could be used so that my text size would not change in the browser. HOW do I do this??? I saw a code and pasted it but it still didn't work! Can someone view my source code and tell me what I need to do.
Thanks!
Alex D. Jones
it's not a text thing....
it's a layers thing...
have you looked at your site in netscape?..... pretty scary.....
you should probaly use tables.... as opposed to layers.... and if you don't want to go this route..... then you at least need a javascript..... re-direct .... and a page... informing people that the site can only be viewed in IE.....
otherwise.... tables... with absolute sizes set.... will keep the text from running all over.... even if they re-size the text toi largest...
nice layout though.....
Thanks a lot, I will try this. I'm learning more and more each day! :)
You really cannot (completely) control the size of text in every browser. The most current versions of IE and Netscape even give the user the opportunity to INCREASE and DECREASE the size of the text. However, this is *relative*. So, what you CAN do in CSS is the following;
text-size : 100% | 8pt this would control the size of the font based on point-size OR based on a percentage of the current size.
So, by using the percentage you can guarantee that some of your text is ALWAYS 200% the size of the rest (for example).
By using the font-weight (which has a range from 100 to 900) you can also change the "relative" boldness of the text.
Avoid doing too much with Layers because it is "browser specific". That is where we (all webmaster) get into trouble. Sometimes you need to compromise for *almost* the look you envisioned in order to accomodate the largest number of users (and browsers).
I hope this helped you.
Checked your site out using IE6, NetScape 4.78, and NetScape 6.2. Seems to be OK with all three though I did not navigate the whole site. Your HTML/source looks like you got your PhD before you finished HTML101. You can use CSS to control the size and weight of your text just as you might use <font> specifications and it might look like:
.normal {text-decoration : none;
color : #b59c00;
font-weight : bold;
font-family : Arial,verdana, Geneva;
font-size : 10pt;
}
You could then use class=normal at those points most likely to be rendered by a given browser (and it not the same for all browsers). But you could specify, in a table for instance, <tr><td class=normal>text stuff</td></tr>. The real value is being able to effect your entire site with one specification change (to an external .css file) rather than having to global edit some font setting.
I don't quite understand this thing about text largeness/size. Those using a monitor setting of 640x480 will see text larger than those using 800x600, and these will see text larger than those with a 1024x768 and yes, some browser even enable view text as largest, large, medium, etc. You have no control over that and those surfer probable need the larger print and if you have designed a paper print layout, two columns or three columns of text, it's going to go to hell but that not your fault.
Check out this http://hotwired.lycos.com/webmonkey/reference/stylesheet_guide/
THANKS for the info it was VERY informative... oh and by the way.. I used Dreamweaver to build my site, Im a novice at html code and Dreamweaver :( but hey I'm learning... and with the help from you guys I'm on the right track!
If tables are used as oppose to layers..... Even increasing the size of the text.... won't allow it to run all over ..... the text will remian inside the table....
whereas if you use layers..... the layers will expand... and since netscape... " older versions".... doesn't handle it..... it will allow text inside layers..... to ovelap into areas you may not want....
The majority of Netsacpe Browsers that will experience issues... are 4.7 and below...
I actually have an old PC... with Netscape 4.0 , that I test with.... to make sure the site is viewable..... If 4.0 can see it properly.... then any othe browser can see it.....
Can put a TABLE INSIDE OF A TABLE??? Im confused!
alphadesk
5-9-02, 04:36 PM
Yes you can,
I start every site with a table, then insert all tables to work with from there. Try one of my pages and change the text, make the browser smaller larger, change the monitor resolution. You will see that it will generally hold it's look and feel no matter what.
But now I don't have a hole lot of advanced things going on either.
Another thing you may want to think about, people can't get into your website unless they have flash. You may wish to have a "Skip Intro" link that's not flash.
-Scott
OneHeart
5-10-02, 03:24 PM
Originally posted by AlexTude
Can put a TABLE INSIDE OF A TABLE??? Im confused!
You most definitely can. You can put a table inside a table inside a table inside a table inside a table inside a table...etc.
Tip: remember which of the table you're currently working on when you nest tables within tables. Else, it may get very confusing. Indention of your code will help (as well as comments).
Cheers!!
bettyfordclinic
5-10-02, 05:44 PM
As far as I know the text size CAN be set so that it's the same in every browser (as long as the browser reads CSS).
Simply set the text size to pixels. This means that thge text will always take up a certain amount of size per screen.
here's one of my pages that uses pixeled CSS (http://www.fantasyjackpalance.com/fjp/sound/synth/index.html)
Here's a page I created just to show the basics of how CSS can work (http://www.fantasyjackpalance.com/fjp/test/mikes-css-1.html)
bfc
well thought out and well presented. I've used css for some time and use pt or px to specify font size. It appears pt has the same text stability provided by px. Or not.
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.