473,385 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Image positioning question

I want to build this page:
http://www.robocommerce.com

With the following requirements:
1. If the browser is small, I don't want the side borders to appear
(the shaded area outside the page itself)
2. As the user resizes the page, I want the images on the side to
show up, but from the inside out (ie, as the user expands the browser,
(s)he should see the innermost part of the graphic first).
3. I don't want to use frames (for obvious reasons)

The "first-pass" as I see it is to make a table with a fixed width to
the inner-most cell, and let the outer cells resize themselves as
appropriate (and make the images background images). The problem I see
with that is that I don't know how to lock the image along the left of
the cell containing hte page.

Anyway, I'd appreciate any advice anyone has.

Thanks,
Brian Rosenthal
Jul 20 '05 #1
2 1534
go****@mybesthealth.com (Brian Rosenthal) wrote:
I want to build this page:
http://www.robocommerce.com
Oh well, I suppose you didn't see the design until it was too late to
advise the client against it. Happens a lot.
With the following requirements:
1. If the browser is small, I don't want the side borders to appear
(the shaded area outside the page itself)
Background image.
2. As the user resizes the page, I want the images on the side to
show up, but from the inside out (ie, as the user expands the browser,
(s)he should see the innermost part of the graphic first).
Center background image.
3. I don't want to use frames (for obvious reasons)
Fine.
The "first-pass" as I see it is to make a table with a fixed width to


Ugh. The fixed width part is bad enough but seems to be an fundamental
part of the design (one of the reasons why they should have let a web
specialist see it before it was signed off). But why bring tables into
it?

See http://steve.pugh.net/test/test82.html (note that I've only made
the background image 1600px wide in this case so at larger window
widths there will be white down both sides)
The horizontal bar is done as the centered background to an absolutely
positioned div.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 20 '05 #2
Steve, you're my hero. Thanks a million!

--Brian

Steve Pugh <st***@pugh.net> wrote in message news:<jq********************************@4ax.com>. ..
go****@mybesthealth.com (Brian Rosenthal) wrote:
I want to build this page:
http://www.robocommerce.com


Oh well, I suppose you didn't see the design until it was too late to
advise the client against it. Happens a lot.
With the following requirements:
1. If the browser is small, I don't want the side borders to appear
(the shaded area outside the page itself)


Background image.
2. As the user resizes the page, I want the images on the side to
show up, but from the inside out (ie, as the user expands the browser,
(s)he should see the innermost part of the graphic first).


Center background image.
3. I don't want to use frames (for obvious reasons)


Fine.
The "first-pass" as I see it is to make a table with a fixed width to


Ugh. The fixed width part is bad enough but seems to be an fundamental
part of the design (one of the reasons why they should have let a web
specialist see it before it was signed off). But why bring tables into
it?

See http://steve.pugh.net/test/test82.html (note that I've only made
the background image 1600px wide in this case so at larger window
widths there will be white down both sides)
The horizontal bar is done as the centered background to an absolutely
positioned div.

Steve

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Anna | last post by:
Hi all. I hope this is the right group for my question. If not, please tell me, where can I ask this. I wrote a client-side image map, using <img>, <map> and <area> tags. I want to be able,...
6
by: Haines Brown | last post by:
I find that when I use list-style-image with galeon or mozilla, padding is inserted between the symbol image and the following list text, while under IE 5.0 it seems to be inserted before the image...
14
by: D. Alvarado | last post by:
Hello, I am trying to open a window containing an image and I would like the image to be flush against the window -- i.e. have no padding or border. Can I make this happen with a single call to a...
7
by: Doc | last post by:
I've read in a couple of different places including the archives of this forum that html doesn't allow you to precisely dictate the position of an image, but I found this command (again in the...
6
by: Jerry Camel | last post by:
I want to center an image on the screen and have text centered over the image. What's the best way to do this? I've been playing with style tags and I can get the stuff to center automatically...
14
by: Schraalhans Keukenmeester | last post by:
I am building a default sheet for my linux-related pages. Since many linux users still rely on/prefer viewing textmode and unstyled content I try to stick to the correct html tags to pertain good...
5
by: mr. ambastha | last post by:
Hello, I have 4 large images ( 1024 x 1024). All four images constitute one large image when kept side by side. I want to show that larger image on a webpage with a smaller image area (say,...
3
by: vunet | last post by:
When I use image as a bullet within LI element I have different image positioning results in Firefox and IE6. IE6 puts the image on top and far from left LI's border. Firefox puts it nicely in the...
9
by: pek | last post by:
Here is what I want: I have an image, let's say a JPEG 800x600... I want to create a transparent 128x128 PNG image and then resize the 800x600 to fit in the center of my transparent 128x128 PNG.....
3
by: RK | last post by:
Is there an image handling guru out there than can help a newbie with understanding dynamic image creation? The question: I can create an image from within Javascript with MyPic = new Image()...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.