Hello,
I have a background image that needs to continue to infinity.
Currently, I have a band-aid solution where I've made my background
image 3000px and kept it pretty small in file size with the height set
to 'auto'. However, I've always wanted to do this the right way and was
hoping someone could help me and/or point me to a good tutuorial
creating infinity backgrounds with nested <div>'s.
The page I'm working on can be found at http://www.smartwebdevelopment.com/css/cities.html
Thanks in advance for any suggestions.
Aaron 2 3491
On 2006-10-12, acorn71 <ac*****@gmail. comwrote:
Hello,
I have a background image that needs to continue to infinity.
Currently, I have a band-aid solution where I've made my background
image 3000px and kept it pretty small in file size with the height set
to 'auto'. However, I've always wanted to do this the right way and was
hoping someone could help me and/or point me to a good tutuorial
creating infinity backgrounds with nested <div>'s.
The page I'm working on can be found at http://www.smartwebdevelopment.com/css/cities.html
You could divide your image into two images, the top bit, and the bit
below that that goes on forever.
Then put another div outside .pageBlockTop with the repeating bit as a
repeating background image:
<div style="backgrou nd-image: url("stripe.jpg ");
background-repeat: repeat-y">
<div class="pageBloc kTop">
</div>
</div>
Then you can edit your 3000px image to be just long enough to get as far
as the repeating stripe at the bottom.
Also set background-color: transparent on pageBlockTop (although it's
usually the default anyway).
On 2006-10-12, acorn71 wrote:
Hello,
I have a background image that needs to continue to infinity.
Currently, I have a band-aid solution where I've made my background
image 3000px and kept it pretty small in file size with the height set
to 'auto'. However, I've always wanted to do this the right way and was
hoping someone could help me and/or point me to a good tutuorial
creating infinity backgrounds with nested <div>'s.
The page I'm working on can be found at http://www.smartwebdevelopment.com/css/cities.html
Since you want solid colours, use background colours.
(And while you are at it, get rid of the fixed px-sized widths.
See how it looks in my browser at
<http://cfaj.freeshell. org/testing/roomers.jpg>.)
--
Chris F.A. Johnson <http://cfaj.freeshell. org>
=============== =============== =============== =============== =======
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: John Ramsden |
last post by:
I have a PHP script that is run via a 'wget' command within
an MS SQL trigger, and relies on accessing the database
record updated by the SQL statement that triggered the
script in the first place.
For this reason, to avoid the script reading the old record
or getting into a deadly embrace, it must "return" in order
to complete the 'wget' command but then carry on and do the
actual work required.
|
by: Rey |
last post by:
Howdy all.
Am attempting to delete a large number of records (123K) from a table
using:
db.execute "delete from tblname"
Then I double check (code below) to see if records still remain as
during my testing they have...and that causes problems when the app
reloads the table w/current data and encounters already existing
keys...
|
by: Patrick |
last post by:
Hi All,
Background image is in place and a Div (yellow border) inside center Div
column is positioned where I want it to be. Now the problem is that in
Mozilla my third column div is dropping down below the wrapper but is
exactly where it is supposed to be in IE. I've tried some clears and
stuff like that but to no avail. What is causing this and how do I fix it?
http://ocg6.marine.usf.edu/patrick/test_css/test.html
|
by: nicky77 |
last post by:
Hi, I've created a nav bar using a background image for rollover effects. Everything works as I had hoped, however, for some reason it seems that an area of whitespace (the same size of the background image) is hyperlinked underneath the nav bar. I can't see any errors in the coding below. Any ideas what may be causing this?
the page is at http://www.maguiresonline.co.uk/wosis/files/nickysnav.html
the html....
<body...
|
by: Eddie |
last post by:
I am opening a windows (well, technically a greybox() call GB_show()
which shows a nicer window than normal), and want to wait until that
window is closed before moving to the next command. However, when I
open the window, JavaScript immediately issues the next command
statement. How can I get JavaScript to wait until the window is
closed before continuing? Here's visually what I'm trying to do:
statement1;
GB_show('mycaption,...
| |
by: virgiloz |
last post by:
Continuing on from my heartache post earlier, can I nest a <choose> element inside of:
<td align="center" style="border: 3px solid #CC0033" bgcolor="#FFAABF" class="v10">
Ie: is the following statement correct?
<td align="center" style="border: 3px solid #CC0033" bgcolor="#FFAABF"
<xsl:choose>
|
by: Jon Slaughter |
last post by:
Say I have two nested foreach loops, is there any simple way of continuing
out of the outter most loop depending on what happens in the inner most?
e.g.,
foreach(int i in I)
{
foreach(int j in J)
if (j == 3)
break.continue;
|
by: madankarmukta |
last post by:
Hi,
What should I do for continuing my task even if the user gets logged off?
Thanks!
|
by: Lucress Carol |
last post by:
Hi everyone,
I'm having troubles with pausing and continuing MFC Thread.For test
purposes I've created in my MFC Dialog application a progress Bar
Control, a Start Button and a Stop Button.The idea is to start the
progress Bar Control by clicking on the Start Button and I would like
to pause (Stop Button) the process at anytime and continue it when I
click on the Start Button.I had a look at the following homepage:...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |