Forum Moderators: not2easy
This is my 1st website trying to use css and I recently found out that my text is huge on some computers. I love the effects ive seen people do with css but getting it all to work is another story. ;)
Any help would be greatly appreciated.
Thanks,
Anna
[edited by: SuzyUK at 4:33 pm (utc) on Aug. 20, 2004]
[edit reason] no signatures please- tos [webmasterworld.com] [/edit]
Font size settings are available in CSS, in HTML, in the browser settings, and in the system settings. Therefore they are often confusing and inconsistent across platforms and even among machines using the same OS. Your best bet is to find out all you can about the machines that render your page incorrectly, and then set up a machine to duplicate that environment. This might be as simple as downloading and testing using a copy of the browser that they are using.
Jim
You can check (at least on XP) by going to Control panel; Display; Advanced, General.
Normal size is 96 dpi.
Here is the css code I use and site is in profile. It is probably something simple but I have messed with it for several days now and am at wits end!
BODY,
a:link { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #663399; text-decoration: underline}
a:visited { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #663399; text-decoration: underline}
a:hover { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #9966FF; text-decoration: none}
a:active { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #663399; text-decoration: none}
BODY {scrollbar-face-color:#666699 ; scrollbar-darkshadow-color: #666699; scrollbar-shadow-color: #9966FF; scrollbar-highlight-color: #666699; scrollbar-3dlight-color: #9999cc; scrollbar-track-color: #9999cc; scrollbar-arrow-color: #9999cc; }
a.top:link { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #9999FF; text-decoration: none}
a.top:visited { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #9999FF; text-decoration: none}
a.top:hover { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #9966FF; text-decoration: none}
a.top:active { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #663399; text-decoration: none}
a.box:link { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #333333; text-decoration: none}
a.box:visited { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; text-decoration: none}
a.box:hover { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #663399; text-decoration: underline}
a.box:active { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; text-decoration: none}
.darktext { font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000; text-decoration: none; font-size: 11px}
a.bot:link { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; text-decoration: none}
a.bot:visited { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; text-decoration: none}
a.bot:hover { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #9999cc
; text-decoration: none}
#000000 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #487490} text-decoration: underline}
.sitetext { font-family: Verdana; font-size: 12px; color: #333333}
.titles { font-family: Verdana; font-size: 12px; color: #FFFFFF ; font-weight: bold}
.names { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small; font-style: normal; font-weight: bold; text-decoration: none}
Thanks again for all of your assistance!
A note to help you in the future, as soon as anyone mentions error on one of your sites, get the Op System, version, browser etc. Helps eliminate variables.
I received this search engine submission spam email that has it with huge text also: <snip>
This css stuff can be pretty frustrating then getting spammed to show me my mistakes to rub it in!
Thanks again and I hope image helps.
[edited by: SuzyUK at 4:37 pm (utc) on Aug. 20, 2004]
[edit reason] oops no URLS per TOS #13 [webmasterworld.com] [/edit]
* {font-family...} and it will style everything at once. The trick with CSS is then to override anything you want a different font or style by applying it separately to some elements later on. Er, I mean, like this:
* {font-family:Arial;}
em {font-family:Georgia;}
Sorry if this is offtopic, just tryin' to help.
Next visit to the dentist I will check it out since I removed the H1 tags and hope it works! Dentist usually means pain and not my favorite place to visit if ya know what I mean :P
So much to learn w/ CSS and DW and I am still trying to figure out if the newer version DW 2004 MX is much better than my DW 4?
I know in 4 it seems I can't change anything in the "head" section when using a template and if the newer versions allow this for changing my keywords for search engines.
So much to learn and so little time!
Thanks again and stay happy & healthy. :)