You are here: background image expansion in a css file. « HTML « IT news, forums, messages
background image expansion in a css file.

Posted by Dave Kelly on 09/10/07 00:05

I read here: http://www.w3.org/TR/css3-background/
and took this under 'background-size'

Here are some examples. The first example stretches the background image
independently in both directions to completely cover the content area:

div {
background-image: url(plasma.png);
background-size: 100%;
background-origin: content}

to mean that the image would not tile and only show once taking up
the whole container, both vertically and horizontally.

Look here for my problem. http://www.texasflyfishers.org/newindex.htm

Those columns will be different length at different times. Is there a
better way to set the length to the conditions?

Running the css code thru the W3C css validate and I get 4 errors:
URI : http://texasflyfishers.org/newtff3col.css
69 #navigation Property background-size doesn't exist : 100%
70 #navigation Property background-origin doesn't exist : content
102 #rightcol Property background-size doesn't exist : 100%
103 #rightcol Property background-origin doesn't exist : content


--
A little rum in the morning coffee. Just to clear the cobwebs, ya know.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация