A couple of validation errors

bluesguy
bluesguy
edited April 2014 in Campaign Portal Building
Hi,

I just checked out my CSS using the validation link that was posted by @Basileus (thank you). Here are the items in question and the errors:

bc. .campaign-public-layout #banner-container .campaign-banner-image {fixed; height: 299px; width: 1278px; margin-right: auto; margin-left: auto;}

bq. Parse Error fixed

bc. div.overkill {
background-color: transparent;
font-family: 'palatino linotype','palatino','serif';
font-weight: bold;
font-size: 120%;
padding: 5px 5px 0px 10px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 0px;
padding-left: 10px;
padding-left-ltr-source: physical;
padding-left-rtl-source: physical;
padding-right-ltr-source: physical;
padding-right-rtl-source: physical;
}

bq. Property padding-left-ltr-source doesn't exist : physical
Property padding-left-rtl-source doesn't exist : physical
Property padding-right-ltr-source doesn't exist : physical
Property padding-right-rtl-source doesn't exist : physical


Thank you in advance....

Comments

  • Basileus
    Basileus
    Posts: 589
    Hi bluesguy,

    Neither should require much alteration.

    The first is because the "fixed" value isn't associated with any parameter. The easiest thing is simply to remove it (since it isn't doing anything), or you could add "position:" before it (the proper parameter should look like "position: fixed;").

    The second looks like you have some properties (the ltr-source and rtl-source ones) that are specific to Mozilla, but aren't part of the CSS standard. They won't ever validate, but non-Mozilla browsers should just ignore them.


    So my two cents would be to remove both - neither is actively hurting you, but should be ignored by browsers anyway.
  • bluesguy
    bluesguy
    Posts: 127
    Thank you
Sign In or Register to comment.

January 2023
Fake News, Real Adventure

Read the feature post on the blog
Return to Obsidian Portal

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Discussions