| Nancy Timper |
|
|
Prescott, AZ |
Oh how I wish we could ignore IE6, but alas......
This test page, based on a template I downloaded from Layout Gala & modified, seems to work fine so far in FF and Safari, with the div "left" holding imagery resting along the left side of the page. But in IE6 there's a margin on the left. The CSS for the div has the margin-left set to -100%, which I guess is the problem. http://www.permacultu... Any suggestions for a fix? Thank you!!! Nancy |
| Nancy Timper |
|
|
Prescott, AZ |
Never mind.....doing something else instead!
|
| Kally M |
|
|
Prescott Valley, AZ |
I looked at your code when you posted it, but had to go out of town for a couple of days, so didn't get my reply posted sooner.
Did you end up using a CSS solution? Even if you don't need this solution maybe it will help someone else... You could pare the code back, cut out the two divs that were causing problems and try the code below. It works in IE 6.0 and Firefox. I didn't check in IE 7.0. On another note: I noticed you set the height to 1000px. Was that to get the footer below the screen? I've used some scripts that always put the footer at the bottom of the screen if the text is short or at the bottom of the page if the text is longer. Here's one example. http://www.strictlycs... A google search will give you some alternate examples. Kathleen ~~~ CSS Left and Right borders: html,body{margin:0;padding:0; background-color:#E9DABC} body{ font:Verdana, Arial, Helvetica, sans-serif 11px; background-image: url(TinyTile.jpg); background-repeat: repeat-y; background-position: left top; } #container { background-image: url(TinyTileRev.jpg); background-repeat: repeat-y; background-position: right top; margin: 0px; width: 100%; } p{margin:0 10px 10px} a{display:block;color: #981793;padding:10px} div#header{height:130px; width: 100%;margin:0; padding:10px; background-image:url(TinyHead.jpg); background-repeat:no-repeat; background-position:center;} div#content p{line-height:1.1} div#left{background:#E9DABC} div#right{background:#E9DABC} div#left_content {background-image:url(images/blend.jpg); background-repeat:repeat-y; float:left; width:152px; border: solid 1px; border-color:BF996C;} div#footer{background: #333;color: #FFF} div#footer p{margin:0;padding:5px 10px} div#wrapper{ float:left; padding-left: 53px; padding-right: 53px; height: 1000px; } div#content{margin: 0 200px; padding:5px;} div#footer{clear:left;width:100%} Page: <div id="container"> <div id="wrapper"> <div id="header"></div> <div id="left_content"> <p> This is the left content div.</p></div> <div id="content"> <p><strong>1) Content here.</strong> column long long column very long fill fill fill long text text column text silly very make long very fill silly make make long make text fill very long text column silly silly very column long very column filler fill long make filler long silly very long silly silly silly long filler make column filler make silly long long fill very.</p> <p>very make make fill silly long long filler column long make silly silly column filler fill fill very filler text fill filler column make fill make text very make make very fill fill long make very filler column very long very filler silly very make filler silly make make column column </p> <p>fill long make long text very make long fill column make text very silly column filler silly text fill text filler filler filler make make make make text filler fill column filler make silly make text text fill make very filler column very </p> <p>column text long column make silly long text filler silly very very very long filler fill very fill silly very make make filler text filler text make silly text text long fill fill make text fill long text very silly long long filler filler fill silly long make column make silly long column long make very </p> </div> </div> <div id="footer"><p>Here it goes the footer</p></div> </div> |
Powered by mvnForum






