importing css

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have designed a webpage with textboxes, buttons, drop-down lists etc.
while disregarding the formatting.

I imported a .css file using 'add new item'. Seems to be o.k, except the
formatting hasn't taken effect. I tried manipulating it myself (like changing
font sizes of the button etc.) but no effect is visible on the webpage.

For example, the css file reads:
----------------------
input.checkbox, input.radio{
color: #00FFFF;
background-color: #AAAAAA;
font: 11px Arial, sans-serif;
color: #333;
border: 0px solid #FFFFFF;
}
 
Ido said:
Hi,

I have designed a webpage with textboxes, buttons, drop-down lists
etc. while disregarding the formatting.

I imported a .css file using 'add new item'. Seems to be o.k, except
the formatting hasn't taken effect. I tried manipulating it myself
(like changing font sizes of the button etc.) but no effect is
visible on the webpage.

For example, the css file reads:
----------------------
input.checkbox, input.radio{
color: #00FFFF;
background-color: #AAAAAA;
font: 11px Arial, sans-serif;
color: #333;
border: 0px solid #FFFFFF;
}

I know its obvious but have you added the link to your page and is the
link correct?

Also, don't forget that the stylesheets are cached client side. In IE
try CTRL + R to refresh everything, including the stylsheet. I'm not
sure of other browsers.. you may need to clear the cache to be able to
see the changes.

Good Luck

Dirc

--
 
Back
Top