I have the following in my css sheet:
body {
font-family: verdana, arial, sans-serif;
font-size: 14px;
line-height: 16px;
background-color: #7E95F7;
background-repeat: repeat-y;
background-position: center;
margin-top: 0px;
margin-bottom: 0px;
text: #BEC8F5;
}
The problem is that ordinary text typed in the body with no other
attributes is not showing up in the color specified above in text:.
I cannot on earth figure out why this is.
Similarly, I can't text colors to work in tables either, even though I
have this:
table, td {
text: #BEC8F5;
font-family: verdana, arial, sans-serif;
font-size: 14px;
line-height: 16px;
}
.... which is the same color.
In both instances, the text will come out black on all browsers. Other
issues, such as the font size are working fine. Any ideas? This is my
first time using css.
Thanks,
Jaxon 8 5736 ja**********@gmail.com wrote: I have the following in my css sheet:
body { font-family: verdana, arial, sans-serif; font-size: 14px; line-height: 16px; background-color: #7E95F7; background-repeat: repeat-y; background-position: center; margin-top: 0px; margin-bottom: 0px; text: #BEC8F5; }
The problem is that ordinary text typed in the body with no other attributes is not showing up in the color specified above in text:.
I cannot on earth figure out why this is.
Similarly, I can't text colors to work in tables either, even though I have this:
table, td { text: #BEC8F5; font-family: verdana, arial, sans-serif; font-size: 14px; line-height: 16px; }
... which is the same color.
In both instances, the text will come out black on all browsers. Other issues, such as the font size are working fine. Any ideas? This is my first time using css.
Thanks, Jaxon http://www.htmlhelp.com/reference/cs...und/color.html
I am clearly not with it, as I have tried both font-color and
text-color with neither do anything to change the color of the body
text from black to my desired choice.
What is the correct syntax to get unspecified text a chosen default
color?
Jaxon
God, I've tried putting font-color and text-color in the body {} are of
my css, i have also tried putting:
text {
color: #BEC8F5;
}
and
font {
color: #BEC8F5;
}
in the css. I am stumbling in the dark, apparently. Someone help
correct my novice woes.
thanks
Jaxon ja**********@gmail.com wrote: body { font-family: verdana, arial, sans-serif; font-size: 14px; line-height: 16px; background-color: #7E95F7; background-repeat: repeat-y; background-position: center; margin-top: 0px; margin-bottom: 0px; /* text: #BEC8F5; */
color: #BEC8F5; }
table, td { /* text: #BEC8F5; */
color: #BEC8F5; font-family: verdana, arial, sans-serif; font-size: 14px; line-height: 16px; }
And you were so close...
Mike
Thank you very much Mike.
Jaxon Bridge <ja**********@gmail.com> wrote: God, I've tried putting font-color and text-color in the body {} are of my css,
That would specify the (nonstandard) font-color and text-color properties
for the (standard) body element.
text { color: #BEC8F5; }
That would specify the (standard) color property for the (nonstandard) text
element.
font { color: #BEC8F5; }
That would specify the (standard) color property for the (standard, but
deprecated) font element.
I am stumbling in the dark, apparently. Someone help correct my novice woes.
I think you're trying to set the color property for the body element.
body {
color: ... ;
background: ... ;
...
}
I recommend http://westciv.com/style_master/academy/css_tutorial/
See also http://css.nu/faq/ciwas-mFAQ.html#C05
--
Darin McGrew, mc****@stanfordalumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp.com, http://www.HTMLHelp.com/
"Entering Yosemite National Park: laws of gravity strictly enforced"
On 05/06/28 20:44 ja**********@gmail.com apparently typed: I have the following in my css sheet:
body { font-family: verdana, arial, sans-serif; font-size: 14px; line-height: 16px; background-color: #7E95F7; background-repeat: repeat-y; background-position: center; margin-top: 0px; margin-bottom: 0px; text: #BEC8F5; }
The problem is that ordinary text typed in the body with no other attributes is not showing up in the color specified above in text:.
I cannot on earth figure out why this is.
Similarly, I can't text colors to work in tables either, even though I have this:
table, td { text: #BEC8F5; font-family: verdana, arial, sans-serif; font-size: 14px; line-height: 16px; }
... which is the same color.
In both instances, the text will come out black on all browsers. Other issues, such as the font size are working fine. Any ideas? This is my first time using css.
Run your stylesheet through the validator. Keyword will be "color". Reading
this should also be helpful: http://www.mozilla.org/docs/web-deve...tylenotworking
Before you finish, get rid of "font-size: 14px;". It's half the size of my
default. I cannot read it. If the text on your page is too big for you, it's
because you've neglected to set your default appropriately. Don't assume
your users haven't adjusted to their needs or that you know better what they
need or want.
--
"Love does not demand its own way." 1 Corinthians 13:5
Team OS/2 ** Reg. Linux User #211409
Felix Miata *** http://members.ij.net/mrmazda/auth/
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =---- ja**********@gmail.com: body { font-family: verdana, arial, sans-serif;
Read up on using Verdana. (Don't.)
Read up on specifying 'font-family' at all for general text. (Be
careful. Know what you are doing.)
font-size: 14px;
Read up on using 'px' for 'font-size'. (Don't, use 'em', '%' or keywords
instead.)
Read up on specifying 'font-size' at all for general text. (Don't.)
line-height: 16px;
Read up on using 'px' for 'line-height'. (Don't, use no unit, which is
similar to 'em' in (and only in) this case.)
background-color: #7E95F7; background-repeat: repeat-y; background-position: center;
You seem to have no 'background-image' specified, so the latter two
rules are pretty pointless. Also read up on the 'background' shorthand
property.
margin-top: 0px; margin-bottom: 0px;
Note that some browsers use a default 'padding', not 'margin', for 'body'.
text: #BEC8F5;
'Color'. The contrast between #BEC8F5 and #7E95F7 is qui^Wtoo low. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: nAmYzArC |
last post by:
Hi everyone,
I'm setting the body of an email using values from a form
firstname = bob
lastname = dole
ebody = 'First Name: ' + firstname + '\r\n' + 'Last Name: ' + lastname
...
|
by: Bender |
last post by:
Hi,
I am wanting to capture an onmousedown event without firing the body tags
onload event.
Also, if anyone could explain why this happens that would be excellent. I
can't see how an...
|
by: Terry |
last post by:
I'm real new at this, so this may be a basic question, but I want to
get off on the right foot.
I thought it would be reasonable to use the following on a page:
body {
margin: 3em;...
|
by: Patrick |
last post by:
Hi
I am a newbie struggling a little with css.It is hard to get it right
in all browsers, so i decided to read the CSS2 specification on the w3
site.
What is the following from the CSS2...
|
by: Sentinel |
last post by:
how can i place a script in body (it must be ran automaticly when html
interpreter reaches it) that will redirect to another page?
what i am doing is
checking in php if login is successful...
|
by: Noozer |
last post by:
Is it possible to detect where on a page the click occurred when the OnClick
event of the BODY tag is fired?
Thx
|
by: localhost |
last post by:
I would like to wrap all of the HTML inside of my <body> tag inside a <div> with in my code-behind. I do not want to touch the .aspx page template at all. I know how to make the body tag...
|
by: mazdotnet |
last post by:
Hi,
I have a master file with the following setting
<body runat="server" id="Body">
and in the .cs I have
Body.Attributes.Add("onload",
"menuCurrentPage('current','navlist');");
Now in one...
|
by: sadieslc |
last post by:
I'm working on a PHP script, and the info from the form shows up in the headers of the email that I receive, but it doesn't show up in the body of the email. Can you please help me figure out what...
|
by: david.karr |
last post by:
If in my CSS I set the "background-color" property on the "body"
element, it only covers the background of the elements defined in the
body, up to the current width and height of the page. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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,...
|
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,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |