Is this achievable, with current technology?

I have an idea for a layout, but was wondering if it was
technically
achievable.
Easy part :
- Centered fixed-width design (let's say 770px wide, 100%
high).
- Left side (335px) is empty. Right side (335px) is a text
column.
- Normal browser vertical scrolling to accomodate long pages.
So far so good -- but here's where it gets touchy...
- The background image is actually much larger than 335px. It
extents
off-screen to the left, so that if you pull the browser
wider, more of it
becomes uncovered (naturally, because it's a centered design,
an equal
amount of "blank" becomes uncovered to the right of the
text).
- The background image must not generate any scrollbars.
- The image should never slide under the text -- but it can
slide away from
it if need be. This means that no more than 335px of it can
slide into the
centered layout... more than that, and it touches the text
column.
Can this be done? The closest I've come to succeeding is
left-justifying a
huge background image with no-repeat, but this doesn't stop
it from sliding
under the text.
Should I be centering an enormous background with half of it
being
transparent information? That's the only other way I can
think of... but to
even do that would mean using PNGs, and the file size would
be ridiculously
huge, since it would have to be twice the width of the tree
image itself.

"Joe Makowiec" <[email protected]> wrote in
message
news:[email protected]..
>
> Just make the image 2 * X wide, and put the portion you
want revealed
> to the left of center. Then set it to position "top
center"
> (vertical/horizontal), thus:
>
> body {
> background-image : url(myimage.png) ;
> background-repeat : repeat-y ;
> background-position : top center ;
> }
I thought of that, but the resulting image would be GIGANTIC.
I was
wondering if there was a way to do it with only the left half
(the one with
actual image data).
The actual background of the site is a vertical gradient (not
a solid
color). A single GIF with 200 hues making up a gradient, 1px
wide, repeating
on X only, and only 7k in weight. So if I tried it the
obvious way (the one
you suggested) it would have to be a gigantic GIF (so the
colors match --
when one background ends, the other picks up) or a JPG
(compression would
almost ensure the gradient be banding at that size) or,
finally, a PNG (I
could use alpha channels here to make most of the image
invisible, thus
taking care of the gradient vs gradient problem... but can
you imagine a
1600x1200 PNG file? It must easily be over a meg large).
Ideally, I'd place the PNG a bit to the left, with only the
part with actual
data on file (800px instead of 1600). But I'm not sure
there's a way to do
"center image, but make it 400px off-axis to the left" so as
to "feign" the
presence of 800 invisible pixels on the right of the image.
Sorry if I'm not being as clear as I'd like, I'm just not
used to explaining
this type of stuff. It's all very clear in my head, honest.
Mike

Similar Messages

  • How to compare user entered date with current date

    Hi all
    my requirement is, user allowed select one date, in code i have compare this date with current day date. it should be 15days gap other wise display error message.
    I am worried about how to get current date in code. Is there any code to get current date. please reply me with code or mail me at [email protected]
    Thanx
    keerthi

    Keerthi,
    Use the method <b>getDifference()</b> of the DateHelper.java available here.<a href="http://www.koders.com/java/fid14A61FEB1B45A64E42E1DCAD7070B46AE46340BA.aspx">DateHelper</a>
    1. Create a new folder, say Util under your src folder. (com.xyz.util)
    2. Put this DateHelper.java file in that folder,(com.xyz.util) .
    3. Now, write an import statement for this java class in the required view.
    4. Use the getDifference() method of this class to the difference in days between two days.
    Or
    Simply use this code.
    // Get msec from each, and subtract.
    long diff = currDate.getTime() - selectedDate.getTime();
    int noOfDays = diff / (1000 * 60 * 60 * 24);
    where currDate is today's Date and selectedDate is the Date selected by the User.
    Bala

  • How to fill a prompt in webi with current date?

    A webi report is being generated on BEx Query.
    IN BEx query variables are defined for some date fields to prefill them with current date.
    Foe ex. there is license start date. For this field variable is defined so that in variable screen License start date is automatically filled with greater than or equal to current date(which is system date). WHich is a mandatory variable.
    On BO side, a webi report is being developed on a Universe (based on this BEx query).
    When the webi report is run, the license start date(mandatory variable in BEx) is automatically prompted, but date is not getting prefiiled with current date.
    How to prefill this prompt with current date?
    the prompt should be like
    LIcense start date >= <current date>

    Hi,
    Yes, it isn't possible to reference anything like 'Current Date' in the universe (like you would with a SQL data source).
    The solution I have seen recently goes like this, I don't know the exact details (so I might have some terminology wrong), but someone with ABAP skills should get what I mean.
    Assuming you want to filter on 0CALDAY.
    In ABAP, create a customer EXIT that calculates the current date as a number (so today might be 40651). Do the same for 0CALDAY.
    In the BEx create a formula variable that references each of those, then a Formula Key Figure (I forget the exact name of them) that's just the current day number minus the 0CALDAY number. This gives you the 'age' of that row of data.
    Your Webi report can then have a built in filter (or prompt with a default value) of, say Age <= 30. The report can be scheduled and will always run with the last 30 day's data.
    We actually did the customer exists to show the 'age' in months.
    Sorry I can't explain it any better, but it's working great for us.
    Hope that helps.

  • Need lightroom 4.4 asmac is 10.6.8 and not compatible with anything higher. Does this come with the creative cloud? Would really like a disc but that doesn't seem to happen anymore. Currently have cs4 and d7100 hence need 4.4 to open raw Any idea

    need lightroom 4.4 asmac is 10.6.8 and not compatible with anything higher. Does this come with the creative cloud? Would really like a disc but that doesn't seem to happen anymore. Currently have cs4 and d7100 hence need 4.4 to open raw Any ideas? Is this now customer service or does adobe have a customer service team . Site not user friendly. Thanks

    Graham Giles wrote:
    Have you seen this type of problem before? I think it could be a serious issue for anyone in a similar position.
    No; but then, I've not had occasion to use TDM. I've been using firerwire drives for over 10 years, both FW400 and FW800, with no issues except a bit of instability using a B&W G3 machine.
    TDM should be safe. Using cautious, manual copying of files from the Target machine to the Host machine should not result in unexpected loss of files or damage to the Target drive's directories. It should behave exactly the same as if it were an external (to the Host) firewire drive.
    •  I don't suppose there is anything I can do to 'put back' lost items from a separate Time Machine drive which has an up to date backup on it.
    There is probably a way to do that - seems to me that's one of the reasons for a Time Machine volume.
    On the other hand, if the Time Machine volume is rigidly linked to the now-absent OS on the original drive, there may be no way to effectively access the files in the TM archive.
    I know that using a cloned drive would work well in this instance.
    I have no experience with Time Machine, so perhaps someone who has will chime in with suggestions.
    With the machine in TDM with the other machine, have you tried running Disk Utility to see if you can effect repairs to the drive?

  • This iphone is currently linked to an apple id *********sign in with the apple id that was used to  set up this iphone...i got this when i connect my iphone to itunes...who can help me???plzzz

    this iphone is currently linked to an apple id *********sign in with the apple id that was used to  set up this iphone...i got this when i connect my iphone to itunes...who can help me???plzzz

    Are you the original owner of this phone? If so sign in with the Apple ID and password you used when you first set it up.
    Or did you buy is phone used? Contact the person you bought it from and have him/her correct the problem or refund your money.
    You have encountered activation Lock that prevents stolen or lost phones from being activated. As stated the only way around this problem is to have the original owner clear the phone for your use.

  • How do I achieve this effect with a drop cap letter?

    How do I achieve this effect with a drop cap letter as shown in the picture below in indesign?:
    Thanks.

    Apply drop caps then select the letter and create outline from type menu. Select the outline letter and apply drop shadow

  • This ipod is currently linked to an Apple ID. Sign in with the Apple ID that was used to set up this iPod what do i do??

    This ipod is currently linked to an Apple ID. Sign in with the Apple ID that was used to set up this iPod what do i do??

    Use that iD to sign and use the iPod.
    You can go to Settings>iTunes and App stores and change the ID for purchases. The ID is also used in Settings>FaceTime, Setting>iCloud, Settings>Messages>Send abd receive and Settings>Game Center and can ne changed in those locations.

  • HT4759 I just got a new IPAD and transferred everything through the cloud from my old IPAD2. The new one says "this IPAD is currently being restored. It has been that way for about 2 hours. Also, I books will open and then close right away with no content

    I just got a new IPAD and transferred everything through the cloud from my old IPAD 2. The new one says "this IPAD is currently being restored. It has been that way for over two hours. Also, I Books opens and then closes right away with no content. Does it take this long, or is there an issue?

    I also tried manually underlining a few things on the new iPad and when highlighting a paragraph, it would skip a few lines and the line would go through a few as well. Looks like a major iBooks glitch needs to be addressed here.

  • Iphone 5 - When people call my phone they get a message saying this phone is currently unavailable, even though phone is switched on with plenty of signal.  Any ideas?

    Iphone 5 - When people call my phone they get a message saying this phone is currently unavailable, even though phone is switched on with plenty of signal.  Any ideas?

    Have you contacted your service provider to find out if there is a service interuption in your area or geographical region?

  • I bought an iphone4s on a pawnshop but it wont let me use it it says This phone is currently linked to an apple id sign in with the apple

    i bought an iphone4s on a pawnshop but it wont let me use it it says This phone is currently linked to an apple id sign in with the apple

    If it has iOS 7 installed Activation lock will prevent using until it is unlocked by the Apple ID of the previous user
    or that ID is removed by the previous owner from the iPhone
    See here
    http://support.apple.com/kb/PH13695

  • My phone is locked and show (this iphone is currently linked to an apple ID sign in with the appleID

    my phone is locked and show (this iphone is currently linked to an apple ID sign in with the appleID that was used to set up this iPhone.
    i put my Apple ID and password but dosnt work what shoul i do help please

    Find My iPhone Activation Lock- Removing a device from a previous owner’s account
    You will have to find the person whose Apple ID is currently tied to the phone. Only they can remove the activation lock. If you are unable to find them or they won't remove the lock, then your phone is useless. Take it back to the vendor and get your money back if you can.

  • I currently use Aperture. I understand Adobe is developing a conversion to Lightroom. I currently store all my photos on an external RAID server and I want to continue to do so. Is this allowed with Creative Cloud?

    I currently use Aperture. I understand Adobe is developing a conversion to Lightroom. I currently store all my photos on an external RAID server and I want to continue to do so. Is this allowed with Creative Cloud?

    So, what if I (1) connected an external hard drive to my wi-fi router so I could remote access pics w/a network connection-- this way even my wife's macbook could connect to it, creating our own cloud.
    A strong warning: If you're trying to edit the Library (that is, make albums, move photos around, keyword, make books or slideshows etc.) or edit individual photos in it via Wireless be very careful. Dropouts are a common fact of wireless networking, and should one occur while the app is writing to the database then your Library will be damaged. Simply, I would not do this with my Libraries. 
    Or (2) had a way to save the most recent 6mo on my locally and the rest on said external HD?
    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    Now you have two full versions of the Library.
    3. On the Internal library, trash the Events you don't want there
    Now you have a full copy of the Library on the External and a smaller subset on the Internal
    Some Notes:
    As a general rule: when deleting photos do them in batches of about 100 at a time. iPhoto can baulk at trashing large numbers at one go.
    You can choose which Library to open: Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Choose Library'
    You can keep the Library on the external updated with new imports using iPhoto Library Manager
    how do you keep photos accessible in iPhoto when your HD is full?
    Move the Library to an external disk -  see above.
    Do you just switch to Aperture and have multiple libraries?
    Aperture uses as much space as iPhoto and both can do multiple libraries.
    Regards
    TD

  • My question is this: Can good teaching be enhanced with new technology?

    Can good teaching be enhanced with new technology? Adobe eLearning Suites is certainly a high-end product with many users and a lot of finance and research behind it. My question is why? Where is eLearning going and, again, is face-to-face teaching going the way of the dodo as a result of this new type of technology?

    Hello,
    Hope you were not too startled by my reaction, your question reminds me of all the antagonism I have to struggle with every day in the college (with colleagues and management), hence my 'passionate' reaction. Reactions like 'I've written a good course some years ago, I'm a good teacher, why should I need all those hypes you are talking about...'. But that is not what you are interested in...
    You asked about tests reported. Vaguely I remember (from a training in 2009) some tests, but have to search for the right references. My personal opinion about those tests is that first of all one should know precisely what to test: when is a training successful or more successful? What do you want to measure: it is very easy to test the 'short time' knowledge acquired by a training, that is what we academics are doing most of the time. But I'm not sure that this really is a measure for training success. Who would dare to postpone the test a couple of months after the end of the training?
    I'm still teaching F2F, but nowadays not at all like I did 20 yrs ago. Was a rather good teacher, my lessons were very good prepared, with a clear structure and was able to explain in a language comprehensible to most of the students, felt successful when at the end of a lesson, trying to test if the proposed subject was clear to (almost) everone the result was positive. Students felt good too: at that moment, leaving the classroom, they had understood what I had tried to explain. Everyone happy. Was this good teaching? There was a good written course, but when studying the course for the final exam, students were confident, they had understood everything in the lesson, but ... that was so long ago... And, like Rick also pointed out, a lot of questions arrived, and I started explaining again, and again... Who feels well? Some colleagues are still happy with every answer they can give, but I got pretty unhappy. Some students do not dare to ask questions, some need 'audio', others need 'video', ...
    Doing some sort of blended learning now: try to present some structure, basic ideas F2F and get them to work on their own. Most of them do not like to read long written courses, so give them small chunks they can digest when they need it for their tasks. And use everything to make it less boring: video, audio, interactivity, self-assessments, let them twitter, chat, discuss on a forum, blog, create a wiki, search, explain to each other... We have the tools, just need some creativity.
    Did I do some research with my students? Not in the regular structured way tests are normally conducted. But I'm often starting a lesson with a survey (on our LMS) where students (anonymously) are given their idea about their proper knowledge about the subject, about the used techniques, about their 'digestion' of the previous lesson, about the work they have done: purpose is for me to have some feedback and a base to go on, for each student to have an idea of his position in the group. We are looking at the statistics together and discussing it briefly. When introducing some new 'hype'  there is never an obligation, they can try it out and give their opinion. Just an example: when starting to offer CP-SWF's I offered demonstrations, training simulations and assessments. Feedback from the students pushed me just at never creating demo's again. For the moment I introduced Twitter for a project, will have their feedback after next week and judge then.
    Sorry again for a too long answer (begging you pardon, Rick too). When I find the references I have been mentioning I'll post them. Now it is getting rather late, have quite a lot of meetings tomorrow with students.
    Lilybiri

  • HT202447 is this dealing with the current "security" issues Apple is now addressing ?

    By disabling the Java web plug in in Safari does this deal with/fix the current "security" issues Apple is now addressing?

    If Software Update reports that the update is available, it means that you are or have been running Java. Install it. It will remove the Flashback malware.
    If Security Update 2012-003 does not appear, then you have not been running Java. Leave it disabled.
    In other words, merely un-checking the "enable Java" checkbox will not remove the malware if it is already present. You should install the update if it is offered to you.

  • Compare Hiredate with Current date in PCR

    As per the requirement I have, a certain type of accrual needs to occur on the employee's anniversary date, this accrual should only happen on the first anniversary. How can I compare hire date with current date ignoring the year, and then ignoring the same logic from second year on-wards.
    Can someone please help me with the possible method of implementing this requirement in a time PCR.

    In my humble opinion, I think that you should achieve that by means of an ABAP program, it should be scheduled to run every day and compare the hiring date with the current date of every employee, then create a batch input to Infotype 2013... it would be easier to track and monitor, since you would have all logs in SM35
    Best regards,
    Federico.

Maybe you are looking for