473,327 Members | 2,012 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,327 software developers and data experts.

Keeping Dynamically Sized Images On One Line

Here is my problem:

see: http://users.belgacom.net/gc905142/test.htm

If you have your resolution set to over 800x600 this issue will probably
never be a problem, but I am trying to make 800x600 my beginning point.

The problem is that the images width can change and I want to always
keep the two div's on the same line and always have them centered (The
height is always the same).

The problems are that if the images are a little narrow they pull to the
left and if they are too wide the second box wraps to a new line.

Any suggestions?

Jul 20 '05 #1
1 2469
DU
Heath wrote:
Here is my problem:

see: http://users.belgacom.net/gc905142/test.htm

If you have your resolution set to over 800x600 this issue will probably
never be a problem, but I am trying to make 800x600 my beginning point.

The problem is that the images width can change
then make their width as a percentage of the available width given by
their parent node. That way, these images should never overflow.
..box elements have already the declaration width:35%.

and I want to always keep the two div's on the same line and always have them centered (The
height is always the same).

The problems are that if the images are a little narrow
I can not see nor test nor examine this at the given url. So it's
impossible to recommend anything here.

they pull to the left and if they are too wide the second box wraps to a new line.
In which browser do you see that? I ask this because overflow:visible is
buggy in MSIE 5+.

DU

Any suggestions?


Jul 20 '05 #2

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

Similar topics

1
by: Mike Blackett | last post by:
Hi all, I have several folders of images. Inside each folder is a JS file defining an array of the images with a description of each image. When a user selects a 'gallery'/folder on my site,...
1
by: antishok | last post by:
Hi, I'm writing a page which has a somewhat similar folder tree to that of the windows explorer, where each folder is made of a <SPAN> tag consisting of the folder image (closed or open) and the...
179
by: SoloCDM | last post by:
How do I keep my entire web page at a fixed width? ********************************************************************* Signed, SoloCDM
5
by: Carlos | last post by:
Hi all, I am from the C++ world, and just making baby steps into C#. Just wanted to ask you about the best way to create a dynamically sized array, and maintain it effectively (yeah, I know...
6
by: Ivan Demkovitch | last post by:
Hi! Here is my problem: I'm inserting script for Trust Logo from one of the SSL authorities. It works fine when I do it in HTML, but I need to build it dynamically: HtmlTableRow tR = new...
0
by: Carl Gilbert | last post by:
Hi I am working on a site using ASP.NET, VB.NET and SQL Server. I have a page that displays images, and I want to display additional links to other images within the same category. When the...
48
by: Michel Rouzic | last post by:
I know it must sound like a newbie question, but I never really had to bother with that before, and I didn't even find an answer in the c.l.c FAQ I'd like to know what's the really proper way...
11
by: GaryB | last post by:
Hi Guys, I've been battling with this one for hours - I hope that you can help me! My code modifies the <aon a page, from a standard document link into a link with a tailored onclick event. ...
9
by: netasp | last post by:
hi all, how can I populate one aspx form when page is loading based on page ID? for example: loading page A (to search for VB code) would display labels and texboxes, dropdown lists all related...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.