Welcome to WebmasterWorld Guest from 54.205.251.179

Forum Moderators: not2easy

Message Too Old, No Replies

How is solved background and MIN,MAX width?

   
3:12 pm on Aug 28, 2011 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



I like to test how is solved background image if I have MIN,MAX width.

How to enlarge/resize background in this case?
It works when you do not have MAX,MIN as background will be placed. Issue is when there is MIN,MAX...

I have defined borders as following:
[PHP]

#middlewrap {
min-width: 1008px;
max-width: 1340px;
/* background: #FFFFFF url(../images/homepage/background1.jpg) repeat-y top; */
margin-left: 0px;
text-align: left;
overflow: hidden;
}

[/PHP]

Is there any possibility to add this background as dinamic to MAX,MIN width.

Background is as image and how will detect browser this resolution?
It works when you do not have MAX,MIN as background will be placed. Issue is when there is MIN,MAX...
8:53 pm on Aug 28, 2011 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



Isn't that one of the hot new features of CSS3?

Oh, I have to mention something you didn't ask about. Do as I say, not as I do.
background: #FFFFFF url(../images/homepage/background1.jpg) repeat-y top;

Is this page-specific CSS or is it shared? Relative links are perilous at all times and they are doubly perilous in CSS shared by pages in different directories. Links such as background images are relative to the CSS, not to the page that displays them. (Voice Of Experience.) So be very very very careful ;)