Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6024563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:10:26+00:00 2026-05-23T04:10:26+00:00

I’ve a CSS question. I’m using Rails 3.0 and trying to design a site

  • 0

I’ve a CSS question. I’m using Rails 3.0 and trying to design a site of mine. I found this anoying problem previously also but now is the time to find a solution.

The situation: I set up a CSS like this:

*               {margin: 0;padding: 0;}
body            {background-color: #1d1122; font:12px/18px Arial, Tahoma, Verdana, sans-serif #fff; width: 100%;}
a               {color: blue; outline: none; text-decoration: underline;}
a:hover         {text-decoration: none;}
p               {margin: 0 0 18px}
img             {border: none;}
input           {vertical-align: middle;}
#wrapper        {width: 955px; margin: 0 auto;}

/* Header
-----------------------------------------------------------------------------*/
#header         {background: transparent url(../images/header.jpg) no-repeat; height: 413px;}
#navigation     {background: transparent url(../images/menu_bg.jpg) no-repeat; height:36px;}

/* Middle
-----------------------------------------------------------------------------*/
#middle         {width: 100%; height: 1%; position: relative;}
#middle:after   {content: '.'; display: block; clear: both; visibility: hidden; height: 0;}
#container      {background: transparent url(../images/main_bg.jpg) no-repeat; width: 100%; float: left; overflow: hidden;}
#content        {padding: 0 270px 0 0;}

/* Sidebar Right
-----------------------------------------------------------------------------*/
#sideRight      {float: left; margin-right: -3px; width: 313px; margin-left: -313px; position: relative;}

/* Footer
-----------------------------------------------------------------------------*/
#footer         {background: transparent url(../images/footer.jpg) no-repeat; height: 63px;}

/*Content
-----------------------------------------------------------------------------*/
#prediction_box {width:290px; height:200px; position:relative; background-color:#392b3f; border: 1px solid #000; margin: 25px 25px 40px 40px;}

When I start to write something on my index page, this wont be 12px Arial as I set in the body tag. The wierness starts if I wan’t to have the text in white.

body            {font-color:#fff; background-color: #1d1122; font:12px/18px Arial, Tahoma, Verdana, sans-serif #fff; width: 100%;}

If I use the font-color:#fff; than nothing happens. However if I use font: #fff 12px/18px etc… than suddenly the texts will be Arial 12px but still in black!

Can you explain how is this possible?

Looking forward your answears,

Kael

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T04:10:27+00:00Added an answer on May 23, 2026 at 4:10 am

    CSS does not define a font-color property. You’ll need to use the color property as so: color: #fff; in order for the foreground colour (font colour) to become white.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
this is what i have right now Drawing an RSS feed into the php,
I have a French site that I want to parse, but am running into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.