top center vs center top

For topics about current BETA or future releases, including feature requests.

top center vs center top

Postby roedygr » Wed Apr 30, 2008 8:22 am

body { background: url("banner.jpeg") center top }

Beta will flag that as an error. That does not make sense. Sometimes it wants the x word first, sometimes second.
User avatar
roedygr
Rank V - Professional
Rank V - Professional
 
Posts: 249
Joined: Fri Feb 17, 2006 6:22 am
Location: Victoria BC Canada

Postby roedygr » Wed Apr 30, 2008 8:51 am

W3C uses this order background-position: top left
in other words Y then X for words, but X then Y for percentages.

This is goofy, but from experiment that is how it seems to work.

see http://mindprod.com/jgloss/css.html#POSITION
User avatar
roedygr
Rank V - Professional
Rank V - Professional
 
Posts: 249
Joined: Fri Feb 17, 2006 6:22 am
Location: Victoria BC Canada

Re: top center vs center top

Postby Albert Wiersch » Wed Apr 30, 2008 3:41 pm

roedygr wrote:body { background: url("banner.jpeg") center top }

Beta will flag that as an error. That does not make sense. Sometimes it wants the x word first, sometimes second.


Can you send me a sample document that reproduces this problem? CSE HTML Validator v9.0 BETA 1 did not generate any errors for me with the following CSS document so I'm not sure what is happening:

Code: Select all
body { background: url("banner.jpeg") center top  }
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2435
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX


Return to CSE BETA Talk

Who is online

Users browsing this forum: No registered users and 2 guests

cron