PDA

View Full Version : My page will not read the changes I made to the CSS


Mcharvet
04-13-2007, 05:54 PM
I am new to web design. I am using a template that is html/css.

I wanted to make the font bigger on my pages so I went into the CSS style sheet. Found the section that is related to the main page and located the font size. I simply changed the font size from "1.6"em to "2". I saved it in my css and then refreshed my html page.

The font size did not change.

Then - to really check it I went back to my css page and changed the font to a VERY LARGE size-just to make sure it was not working. I saved it and then refreshed my html page and still- the font is the same size.

I am certain the css page is linked to my html page as it holds all the styles for the entire page.

What am I doing wrong?

rmedek
04-13-2007, 05:58 PM
Hard to say without seeing the page or your code…


the font size could be overwritten somewhere else in the stylesheet
the font size could be entered incorrectly
there could be a typo in the css rendering certain rules useless
the html could be so grossly invalid it isn't properly applying the stylesheet


etc…

Mcharvet
04-13-2007, 06:06 PM
Hi Richard,

Here is the website so you can view html: www.thenannyforum.com

The css is called "style.css" and you can get to it (which im sure you know) by going to www.thenannyforum.com/style.css

Id really appreciate any help- Im really new to this and figured getting advice would be much better than spending 2+ hours staring at it and not understanding

rmedek
04-13-2007, 06:25 PM
To change the general font size of the page, change the percentage to something more appropriate:

body {
background:#6B6BA5;
color:#303030;
font:76% Verdana,Tahoma,Arial,sans-serif;
margin:0;
padding:0;
text-align:center;
}

Font sizing in CSS is pretty basic stuff…for extra guidance I would highly suggest reading a good beginner's webdesign tutorial, like the ones found at http://htmldog.com.