Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

style sheet warnings.. what do they really want

 
   Web Hosting Problem Solving Community! (Home) -> Webmaster RSS
Related Topics:
how to create "style sheet" in frontpage?? - Hi there... As referred to the was abit loss on this.. would be if someone could guide me step by step.. Thanks (P.s: please reply to the group, as the email is a DUMMY address. thanks) --- this Outgoing mail is certified Virus..

Style Sheet disappears when content delivered as XHTML - This is weird. I have made a simple page using XHTML & CSS. It works great on all browsers when the content is delivered as HTML: However, when I deliver the content as XHTML, the style sheet is not on..

Passing parameters to style sheet, e.g. "mystyle.css?color.. - How can I pass to my style sheets? I have noticed a couple of sites are now passing variables to the style sheet, which appear to be at run time. For example: <link

Anyone have a detailed product sheet? - Hi all; I'm looking for a detailed and varied product sheet in an Excel or CSV format in order to write a demo of a dynamic inventory display system. Ideally, I'd like a product listing with the following columns (or close to it): SKU

how to create a new sheet in excel when writing reports - as i'm sure many of you know, you can write to an excel by changing the http headers. to write to the rows and colums, you simply write stuff like i've just tried creating a separate sheet by writing a new table...
Next:  Webmaster: Provider of webinars for non-profits?  
Author Message
Helen Martin

External


Since: Apr 27, 2006
Posts: 8



(Msg. 1) Posted: Wed May 03, 2006 8:21 pm
Post subject: style sheet warnings.. what do they really want
Archived from groups: alt>www>webmaster (more info?)

hi.. I just ran my stylesheet through the validator.. and it validated
but I got a ton of warnings, which I assume means something else would
be preferred, but I can't figure out what... like.. why should anyone
care if I have no background color on my 1st level headings? and if
offering a font family is the last alternative, what is the first?? I
don't want to have Times New Roman for my whole page...

advice? Helen

here is my styesheet

h1 {
font: 36px bold;
color: #A52A2A; /*Brown*/
text-align: center;
font-family: "Arial Rounded MT Bold";
}

h2 {
font: 30px bold;
color: #A52A2A; /*Brown*/
font-family: "Arial Rounded MT Bold";
}

h3 {
font: 26px bold;
color: #A52A2A; /*Brown*/
font-family: "Arial Rounded MT Bold";
}

body {
font-size: 20px;
background: #FAEBD7; /*AntiqueWhite*/
margin-left: 26px;
margin-right: 26px;
font-family: "Bookman OldStyle";
}

table {
background: #F5DEB3; /*Wheat*/
margin-right: 20px;
}

a {text-decoration: none; }
a:link {color: #000000} /*black*/
a:visited {color: #808080} /*Gray*/
a:active {color: #C71585} /*MediumVioletRed*/
a.fancy {text-decoration: underline; }


here are my warnings..

* Line : 2 font-family: You are encouraged to offer a generic
family as a last alternative
* Line : 3 (Level : 1) You have no background-color with your color
: h1
* Line : 5 font-family: You are encouraged to offer a generic
family as a last alternative
* Line : 5 (Level : 2) Redefinition of font-family : h1
* Line : 5 (Level : 2) font-family: You are encouraged to offer a
generic family as a last alternative : h1
* Line : 9 font-family: You are encouraged to offer a generic
family as a last alternative
* Line : 10 (Level : 1) You have no background-color with your
color : h2
* Line : 11 font-family: You are encouraged to offer a generic
family as a last alternative
* Line : 11 (Level : 2) Redefinition of font-family : h2
* Line : 11 (Level : 2) font-family: You are encouraged to offer a
generic family as a last alternative : h2
* Line : 15 font-family: You are encouraged to offer a generic
family as a last alternative
* Line : 16 (Level : 1) You have no background-color with your
color : h3
* Line : 17 font-family: You are encouraged to offer a generic
family as a last alternative
* Line : 17 (Level : 2) Redefinition of font-family : h3
* Line : 17 (Level : 2) font-family: You are encouraged to offer a
generic family as a last alternative : h3
* Line : 22 (Level : 1) You have no color with your
background-color : body
* Line : 25 font-family: You are encouraged to offer a generic
family as a last alternative
* Line : 25 (Level : 2) font-family: You are encouraged to offer a
generic family as a last alternative : body
* Line : 29 (Level : 1) You have no color with your
background-color : table
* Line : 34 (Level : 1) You have no background-color with your
color : a:link
* Line : 35 (Level : 1) You have no background-color with your
color : a:visited
* Line : 36 (Level : 1) You have no background-color with your
color : a:active

 >> Stay informed about: style sheet warnings.. what do they really want 
Back to top
Login to vote
Helen Martin

External


Since: Apr 27, 2006
Posts: 8



(Msg. 2) Posted: Wed May 03, 2006 9:52 pm
Post subject: Re: style sheet warnings.. what do they really want [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Helen Martin wrote:
> hi.. I just ran my stylesheet through the validator.. and it validated
> but I got a ton of warnings, which I assume means something else would
> be preferred, but I can't figure out what... like.. why should anyone
> care if I have no background color on my 1st level headings? and if
> offering a font family is the last alternative, what is the first?? I
> don't want to have Times New Roman for my whole page...
>
> advice? Helen
>
> here is my styesheet
>
> h1 {
> font: 36px bold;
> color: #A52A2A; /*Brown*/
> text-align: center;
> font-family: "Arial Rounded MT Bold";
> }

ok.. I've been reading this and reading it and I'm starting to get some
of it.. they want me to put the font stuff all on one line.. like this..


h1 {
font: 36px "Arial Rounded MT Bold";
font-weight: bold;
color: #A52A2A; /*Brown*/
text-align: center;
}

and I think the warning about last alternatives means they want me to
offer one in case the person doesn't have Arial..

so.. is there a list someone of "safe fonts" that one could use for
those alternatives..

however, I still don't understand why the warning about background color..


> * Line : 2 font-family: You are encouraged to offer a generic family
> as a last alternative
> * Line : 3 (Level : 1) You have no background-color with your color


Helen

 >> Stay informed about: style sheet warnings.. what do they really want 
Back to top
Login to vote
Jim Moe

External


Since: Sep 01, 2005
Posts: 50



(Msg. 3) Posted: Thu May 04, 2006 12:12 am
Post subject: Re: style sheet warnings.. what do they really want [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Helen Martin wrote:
>
> so.. is there a list someone of "safe fonts" that one could use for
> those alternatives..
>
Browsers use "serif" by default. The alternatives are sans-serif (*very*
popular), monospace, cursive and fantasy. Anything else is just a hope
that the visitor might have the font installed.
Arial is popular because it is installed on almost all Windows OSes.
Helvetica is popular because it is installed on almost all computers.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
 >> Stay informed about: style sheet warnings.. what do they really want 
Back to top
Login to vote
www

External


Since: Jun 29, 2003
Posts: 720



(Msg. 4) Posted: Thu May 04, 2006 10:29 am
Post subject: Re: style sheet warnings.. what do they really want [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 03 May 2006 20:21:57 -0700, Helen Martin
<hrmartin.TakeThisOut@nospam.uniserve.com> wrote:

>advice? Helen

* Don't run with scissors in your hand.

* Look both ways before and while crossing the road

* Don't wear a BNP promoting t-shirt when visiting your Asian dentist

Matt
 >> Stay informed about: style sheet warnings.. what do they really want 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]