I am working on a site that requires cross browser compatibility (including IIS first) and I have a sidebar That uses the gradients but it turns out that it is almost a million times easier to use a set background image, I have the height at the base of the main container, and the height of the image is properly rehearsed, but I want to widen it.
I know how to spread the div on the basis of another size, but I want to know how can I have a conditional statement that will repeat until the end of the image so that it can be div . Just set the image to move!
I am getting the repeated height using it:
& lt; Script type = "text / javascript" & gt; Var theHeight = $ ('# Container') Height () - 260; $ ('# Secondary Content'). CSS ('minimum height', the height); & Lt; / Script & gt; I'm trying to use this code:
& lt; Script type = "text / javascript" & gt; Var divWidth = $ ('# secondary content'). Width () + 1; If (divWidth.width ()> 200) {Warning ('hello'); $ ('# Secondary content'). CSS ('background', 'url (../images / background_service page)', 'repeat-x 18% 0%'); } & Lt; / Script & gt; However it seems unable to find anything within the div.
This CSS can help
background-repeat: repeat ; Repeat repeat x and y: repeat x; repeat x; // repeat x background-repeat: repeat-y; // repetition y
Comments
Post a Comment