Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 10:22 PM
Heath
Guest
 
Posts: n/a
Default 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?

  #2  
Old July 20th, 2005, 10:23 PM
DU
Guest
 
Posts: n/a
Default Re: Keeping Dynamically Sized Images On One Line

Heath wrote:
[color=blue]
> 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[/color]

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[color=blue]
> 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[/color]

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[color=blue]
> left and if they are too wide the second box wraps to a new line.[/color]

In which browser do you see that? I ask this because overflow:visible is
buggy in MSIE 5+.

DU
[color=blue]
>
> Any suggestions?
>[/color]

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles