Help - Search - Members - Calendar
Full Version: One More Stylesheet Problem
Movable Type Community Forum > Using Movable Type > Default Stylesheets
fahs01
So, I have fixed my IE page width problem, and fixed my font size problem, but looked all over the board and couldn't find a thread on my last problem:

my site TVGasm usually loads up just fine, but at times, the content pushes up over the banner as such(a reload of the page usually takes care of the problem, but if there is a root cause, i would like to fix it):

screenshot

I have tried a few things on my stylesheet, but haven't been able to figure it out and thought maybe I could get suggestions here.

my stylesheet:

http://www.tvgasm.com/styles-site.css
colburn
Run your HTML and CSS through the validators at W3C and you'll get a starting point for a number of errors.

For example, the CSS validator returns the following errors as well as complaining about your HTML:
QUOTE
W3C CSS Validator Results for http://www.tvgasm.com/styles-site.css

To work as intended, your CSS style sheet needs a correct document parse tree. This means you should use valid HTML.
Errors
URI : http://www.tvgasm.com/styles-site.css

    * Line: 0 Context : #banner a , #banner a:link , #banner a:visited , #banner a:active , #banner a:hover

      Invalid number : font-sizenormal is not a font-size value : normal
    * Line: 0 Context : #imgcent

      Property align doesn't exist : center
    * Line: 0 Context : .title

      Invalid number : font-sizenormal is not a font-size value : normal
    * Line: 0 Context : .question

      Invalid number : font-sizenormal is not a font-size value : normal
    * Line: 0 Context : .answer

      Invalid number : font-sizenormal is not a font-size value : normal
    * Line: 0 Context : #menu

      Invalid number : font-sizenormal is not a font-size value : normal
    * Line: 0 Context : .date

      Invalid number : font-sizenormal is not a font-size value : normal
    * Line: 0 Context : .sideshow

      Invalid number : font-sizenormal is not a font-size value : normal
    * Line: 0 Context : .side

      Invalid number : border-colorParse Error - ##66c
fahs01
Thanks for the heads up. I was planning on getting to the validators, but I guess that is as good a place as any to start with the problems.

So, my my stylesheet now validates and the index at my wesbsite is now free of errors except for a few link problems and image definitions (I guess I'll get on my authors).

I am still experiencing the problem with the content pushing up over the top image banner.
fahs01
Looks like defining the height and width of my banner image took care of the problem.

thanks again.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.