473,320 Members | 1,857 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,320 software developers and data experts.

How to keep banner image from wrapping when resizing width of browser window

Hi there,
How can I keep the banner image from wrapping when resizing the width of the
window smaller? Firefox seems to do this but not I.E.

Any ideas for: http://www.officeactivate.com/ ? thank you very much.
Mar 4 '06 #1
3 2337
Add a minimum width that is the size of the whole header:

#header {
min-width: ??px;
}

Mar 4 '06 #2

"josh" <jo**********@yahoo.com> wrote in message
news:11*********************@v46g2000cwv.googlegro ups.com...
Add a minimum width that is the size of the whole header:

#header {
min-width: ??px;
}


Thanks Josh,

It still has the same effect in FireFox. The banner image wraps around. so
the background images are above and then the banner image is on the line
below.
I have a right-most image and a background image behind the banner image
that are not staying together.
You may have to look at the site to see what I am saying.

I am pretty sure that min-width is not supported in IE 5 and 5.5 either.
(but that does not really matter as it works fine in IE 6.x, just not in
Firefox).

Mar 4 '06 #3

"Dan V." <d@d.com> wrote in message
news:ae******************************@golden.net.. .

"josh" <jo**********@yahoo.com> wrote in message
news:11*********************@v46g2000cwv.googlegro ups.com...
Add a minimum width that is the size of the whole header:

#header {
min-width: ??px;
}


Thanks Josh,

It still has the same effect in FireFox. The banner image wraps around.
so the background images are above and then the banner image is on the
line below.
I have a right-most image and a background image behind the banner image
that are not staying together.
You may have to look at the site to see what I am saying.

I am pretty sure that min-width is not supported in IE 5 and 5.5 either.
(but that does not really matter as it works fine in IE 6.x, just not in
Firefox).



Thanks Josh,

I had to make the #header min-width about 40px larger then the image to make
it work in FF.

Thank you kindly!
Mar 4 '06 #4

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

Similar topics

6
by: Weng kin | last post by:
Hi everyone, I have a problem trying to load an image without the image resizing itself to fit into the window. My simple javascript is as follows: function viewImage(filename) { features =...
2
by: Dan V. | last post by:
Why does the banner image wrap around when I choose a small window size? http://officeactivate.com/schuit/index.shtml I am 1/2 way done a css book and am using this code from a CSS generator....
2
by: Tyrone Slothrop | last post by:
I am coding a site which involves uploading images. All of the PHP and display is OK but the client wants to be able to display the image thumbnail on the upload page and show the full image on...
4
by: dgk | last post by:
I have an app that has many subdirectories containing one or more images (jpg, gif, bmp). When the user selects a directory, my plan is to show the images if there are only one or two, or show...
2
by: sgMuser | last post by:
Hi, I am not a good developer of Javascript codes. Needs this help to make some modification to this famous free javascript from Anarchos. i am using this in one of my webpage. What it does is,...
5
by: GTi | last post by:
Q1) I have searched around after a cross browser JavaScript that can resize my popup window with a specified width and height. I want to set the width and height of the browsers document content....
10
by: mishrarajesh44 | last post by:
hii all, I am facing a problem currently.. i have a script for image uploading and resizing.. the image uploading takes place properly for every size images.. but, the resizing works for...
24
by: GloStix | last post by:
I'm trying to center this banner, it's in a div that has the same width so it's not exactly "centering" but it's screwed up, It works in safari but in Firefox it's messed up. I uploaded a Video to...
11
by: shapper | last post by:
Hello, I am displaying an image on a few pages. The image size is 50 px height and 50 px width. In some pages I need the image to be 30x30 px in others 40x40 px and in others 50x50px. Can I...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
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...
1
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.