Jump to content

horizontal div won't expand on ie 6


jc624
 Share

Recommended Posts

Is there a fix for this:CSS:

body {font-size: 11px;font-family: Verdana, Arial, SunSans-Regular, Sans-Serif;padding:0px;margin:0px;background: url(images/bg.gif) repeat-y;}#containerb {width: 771px;}#banner {background-color: #000000;background: #000 url (images/spacer.gif) repeat-x;text-align: left;position: absolute;right: 0;left: 0;width: 100%;height: 34px;padding: 0px;margin: 0px;}
HTML:
<div id="containerb"><div id="banner"><img src="images/header.gif" width="771" height="34" alt="" /><br /></div></div>
It expands no matter how big you make your bowser (horizontally) fine on FF3/2 and IE7 but not IE 6....any ideas? Is it the containerb? Thanks
Link to comment
Share on other sites

Then I didn't understand what your problem exactly is.If you want to elaborate, I could try and help you out, otherwise just wait for another member to reply.

Link to comment
Share on other sites

What version CSS are you using? CSS Version 2.1 has been known to not display certain values in IE Versions 4 through 8. Look at my site in IE. Most likely you will see my navigation menu is diagonal instead of horizontal.

Link to comment
Share on other sites

Then I didn't understand what your problem exactly is.If you want to elaborate, I could try and help you out, otherwise just wait for another member to reply.
Well the black(color I gave that div) won't expand all the way. In FF/IE7, you open it and you enlarge the browser horizontal it always grows....but in IE 6, it doesn't even show the black just the image(header) that is within that div.....if I make that div a width of 1000px then I can see it in IE6 but don't want to do that..... I hope that makes sense.
Link to comment
Share on other sites

What version CSS are you using? CSS Version 2.1 has been known to not display certain values in IE Versions 4 through 8. Look at my site in IE. Most likely you will see my navigation menu is diagonal instead of horizontal.
hmm I justy have it like this:<style type="text/css"></style>
Link to comment
Share on other sites

Well, either resize your banner to fit at least a 1200x1600 screen or just live with your regular banner...
If I do that and if I have a 1024 scree then I'll have to scroll horizontally and that I can't do either...Thanks for your help anyways
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...