CSS Validation Error

Hi there. Would one of you brilliant folks out there explain the following error at the site below? It’s my first attempt building a site with flexible layouts. It’s not all flexible, but I gave it my best shot. I actually really like how it automatically resizes during design. Much more intuitive.

http://www.macrisdirect.com/development/home.html

thanks,
Andrew Macris


W3C CSS Validator results for http://www.macrisdirect.com/development/home.html (CSS level 2.1)

Sorry! We found the following errors (1)
URI : http://www.macrisdirect.com/development/home.html
220

Value Error : position both is not a position value : both


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Assuming I’m seeing the same thing as you there are 2 span class styles “style12” and “style73” that are in the source code but do not appear to applied to any text; essentially you have styles applied to nothing. If this isn’t what you’re referring to let us know.

Todd

On Jul 5, 2008, at 5:41 PM, Andrew Macris wrote:

Would one of you brilliant folks out there explain the following error at the site below? It’s my first attempt building a site with flexible layouts. It’s not all flexible, but I gave it my best shot. I actually really like how it automatically resizes during design. Much more intuitive.

The table with the text:

“Scalable solutions — from 15 to 250 employees…”

has some invalid styling applied to it:

“position:both;”

The table doesn’t look like Freeway code (it uses widths and has a
tbody tag, both of which Freeway doesn’t) so you will need to change
the markup you entered yourself if you want it to validate. Change the
text “both” to “relative” for it to validate.

Hope this helps.

Joe

On 5 Jul 2008, at 23:41, Andrew Macris wrote:

Hi there. Would one of you brilliant folks out there explain the
following error at the site below? It’s my first attempt building a
site with flexible layouts. It’s not all flexible, but I gave it my
best shot. I actually really like how it automatically resizes
during design. Much more intuitive.

http://www.macrisdirect.com/development/home.html

thanks,
Andrew Macris


W3C CSS Validator results for http://www.macrisdirect.com/development/home.html
(CSS level 2.1)

Sorry! We found the following errors (1)
URI : http://www.macrisdirect.com/development/home.html
220

Value Error : position both is not a position value : both


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Todd, I tried to delete style12 and style73. Validation error remained.

Joe, I built everything in Freeway. I haven’t entered any markup at all. The only thing I’ve done is tried to apply a text link style action in a few places – in the table and in the div DIV (I actually used “DIV” in a sentence… first time! woo-hoo.)

I’ll try and rebuild the table and see if that corrects the problem.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It’s possible that an Action is doing what Joe Billings describes. Check the settings of Actions and try it without the Action entirely and see what happens.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

yup, it’s the table. It’s valid CSS after I deleted the table. Merely deleting the text link style action in both places had no effect. Should I try another method to achieve the look without resorting to a table? A bunch of inline DIVs perhaps?

Now, what about the long list of “concerns” the validator had? I’m just starting to learn this CSS thing. I really haven’t defined any styles other than the H1 on the main headings, just let Freeway do it’s thing. Should I go back and try to apply styles to everything?

Thanks gang. You rock.
Andrew.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The concerns are just saying that you have some clashing styles.
Nothing to worry about to be honest.

Could you send the original file to support(a)softpress.com too if you
still have it. If FW tables are producing invalid CSS then we need to
fix it.

Joe

On 6 Jul 2008, at 14:32, Andrew Macris wrote:

yup, it’s the table. It’s valid CSS after I deleted the table.
Merely deleting the text link style action in both places had no
effect. Should I try another method to achieve the look without
resorting to a table? A bunch of inline DIVs perhaps?

Now, what about the long list of “concerns” the validator had? I’m
just starting to learn this CSS thing. I really haven’t defined any
styles other than the H1 on the main headings, just let Freeway do
it’s thing. Should I go back and try to apply styles to everything?

Thanks gang. You rock.
Andrew.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I think I still have the offending file. I’ll send it over. I’m pretty sure that once a text link style action is applied to the table, the code gets messed up, even if you subsequently delete the action.

I ended up deleting the tables and rebuilding them without the text link style action. Both urls pass validation now.

http://www.macrisdirect.com/development/home.html
http://www.macrisdirect.com/development/contactus.html

thanks again,
Andrew


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options