473,385 Members | 1,919 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

what is the problem with my css?

Hi Friends!

I had posted a query in the comp.infosystems.www.authoring.html group
Thanks for your guidance. Please check for the document now. I have
once again updated the website....

http://seashellwebs.com
I got the following reply...........

I've wondered why your default style is to make my preferred font
size 70% of what it is?... making the text size pretty microscopic >
for me to read.


Can i know what is actually wrong.

thanks!
ganesh j. acharya
Jul 21 '05 #1
6 1502
Els
Ganesh J. Acharya wrote:
I had posted a query in the
comp.infosystems.www.authoring.html group
http://seashellwebs.com


I got the following reply...........
I've wondered why your default style is to make my
preferred font size 70% of what it is?... making the text
size pretty microscopic for me to read.


Can i know what is actually wrong.


I think that normally, you would ask the person who wrote that
what's wrong. Not take his answer to another group to ask.

However, it so happens that most of us know the answer to this
one, so I'll reply anyway:
You apparently set the font-size to 70%. This means it's 70% of
what the visitor has set in his/her browser as preferred size.
70% of that could be really small.

If I set IE to font-size medium, it's because I like that size.
Then you come along and tell me I should view it 30% smaller
than that!

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Jul 21 '05 #2
Ganesh J. Acharya wrote:
I've wondered why your default style is to make my preferred font
size 70% of what it is?... making the text size pretty microscopic >
for me to read.
Can i know what is actually wrong.


Browsers let users set the font size they want. 70% is 70% of that size. So
you have told the browser that no matter what font size the user wants, to
make it less then three quarters of that size.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 21 '05 #3
"Ganesh J. Acharya" wrote in
comp.infosystems.www.authoring.stylesheets:
I got the following reply...........

I've wondered why your default style is to make my preferred font
size 70% of what it is?... making the text size pretty microscopic >
for me to read.


Can i know what is actually wrong.


You were told what is wrong. Don't set font-size:70% for body or p,
because by definition that makes the text smaller than the viewer
finds comfortable.

--

Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
Jul 21 '05 #4
While on the subject, what is the default browser setting for
font-size, and what is the recommended way of setting
font-size in CSS design? I've seen lots of debate about this
according to which book or article you read. Most advise to
use pixels, but then some suggest percentages. So it would
seem the best solution would be to start with a default setting
and base the design on that, using pixels; but what is the
default? And while we're at it, what is considered the default
resolution, or the resolution of choice from a design point of view?

On 13 Feb 2005 12:53:52 GMT, Els <el*********@tiscali.nl> wrote:
Ganesh J. Acharya wrote:
I had posted a query in the
comp.infosystems.www.authoring.html group
http://seashellwebs.com


I got the following reply...........
I've wondered why your default style is to make my
preferred font size 70% of what it is?... making the text
size pretty microscopic for me to read.


Can i know what is actually wrong.


I think that normally, you would ask the person who wrote that
what's wrong. Not take his answer to another group to ask.

However, it so happens that most of us know the answer to this
one, so I'll reply anyway:
You apparently set the font-size to 70%. This means it's 70% of
what the visitor has set in his/her browser as preferred size.
70% of that could be really small.

If I set IE to font-size medium, it's because I like that size.
Then you come along and tell me I should view it 30% smaller
than that!


Jul 21 '05 #5
no*********@nowhere.com wrote:
So many questions...
While on the subject, what is the default browser setting for
font-size,
Whatever your visitor has hir computer set at.
and what is the recommended way of setting font-size in CSS design?
I've seen lots of debate about this according to which book or
article you read. Most advise to use pixels,
Old style, or poorly trained designers.
but then some suggest percentages.
New style, and correct.
So it would seem the best solution would be to start with a default
setting and base the design on that, using pixels;
No. Don't do that.
but what is the default?
Whatever your visitor has hir computer set at.

*Your* style sheet should say:

body, td {font-size: 100%;}
h1 {font-size: 140%;
h2 {font-size: 130%;}
..legalese, .copyright {font-size: 90%;}

and so forth. Then, the visitor will get hir default size. And so will
you. If you don't like what you see in your browser, change your own
browser's default.
And while we're at it, what is considered the default resolution,
or the resolution of choice from a design point of view?


Resolution is not relevant. Browser window size may be, if you don't
design fluid layouts. Not everyone surfs with maximized windows,
especially those with high-resolution monitors. Consider PDAs and
mobile phones, too.

Please don't top-post.

--
-bts
-This space intentionally left blank.
Jul 21 '05 #6
On Mon, 14 Feb 2005 20:11:56 GMT, in
comp.infosystems.www.authoring.stylesheets no*********@nowhere.com
wrote:
| While on the subject, what is the default browser setting for
| font-size, and what is the recommended way of setting
| font-size in CSS design? I've seen lots of debate about this
| according to which book or article you read. Most advise to
| use pixels, but then some suggest percentages. So it would
| seem the best solution would be to start with a default setting
| and base the design on that, using pixels; but what is the
| default? And while we're at it, what is considered the default
| resolution, or the resolution of choice from a design point of view?


Try this:

<html>
<head>
<style type="text/css">
..pixels {font-size: 8pt; }
..pct {font-size: 150%; }
</style>
</head>
<body>
<P>Standard Font<BR>Lorem ipsum dolor sit amet, consectetuer
adipiscing elit. Vestibulum nisl leo, faucibus varius, venenatis quis,
faucibus non, pede.</P>
<P class="pixels">Standard Font + Pixel Class<BR>Lorem ipsum dolor sit
amet, consectetuer adipiscing elit. Vestibulum nisl leo, faucibus
varius, venenatis quis, faucibus non, pede.</P>
<P class="pct">Standard Font + Percentage Class<BR>Lorem ipsum dolor
sit amet, consectetuer adipiscing elit. Vestibulum nisl leo, faucibus
varius, venenatis quis, faucibus non, pede.</P>
</body>
</html>

In your browser change the default font size. Note what happens to the
first and last lines of text. The second line will not adjust.

---------------------------------------------------------------
jn******@yourpantsyahoo.com.au : Remove your pants to reply
---------------------------------------------------------------
Jul 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Al Davis | last post by:
Note: I tried cross-posting this message to several newsgoups, including comp.lang.perl.misc, c.l.p.moderated, comp.infosystems.www.authoring.cgi, comp.lang.javascript and comp.lang.php. Nothing...
2
by: thecrow | last post by:
Alright, what the hell is going on here? In the following code, I expect the printed result to be: DEBUG: frank's last name is burns. Instead, what I get is: DEBUG: frank's last name is...
220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
54
by: Brandon J. Van Every | last post by:
I'm realizing I didn't frame my question well. What's ***TOTALLY COMPELLING*** about Ruby over Python? What makes you jump up in your chair and scream "Wow! Ruby has *that*? That is SO...
3
by: Chris Cioffi | last post by:
I started writing this list because I wanted to have definite points to base a comparison on and as the starting point of writing something myself. After looking around, I think it would be a...
92
by: Reed L. O'Brien | last post by:
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption?...
137
by: Philippe C. Martin | last post by:
I apologize in advance for launching this post but I might get enlightment somehow (PS: I am _very_ agnostic ;-). - 1) I do not consider my intelligence/education above average - 2) I am very...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
8
by: Midnight Java Junkie | last post by:
Dear Colleagues: I feel that the dumbest questions are those that are never asked. I have been given the opportunity to get into .NET. Our organization has a subscription with Microsoft that...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.