Toast, this doesn't stretch the to bottom of the screen! Thanks anyway![]()
uoba, you could use Tantek's mid pass to filter ie5mac problems... www.tantek.com
Also, I've looked your site, you don't need any table here, come on... that's simple to do !
<div id="top"></div>
<div id="content"></div>
#top { height: /* your image height + your text's height + a few pixels */;
background: url(your_picture.jpg) no-repeat left bottom; }
#content { margin: 10px; background: #999; }
body { background: #fff; }
Gone ! Want to keep in touch: email - iChatAV: brat270783
Toast, this doesn't stretch the to bottom of the screen! Thanks anyway![]()
Fix the height yourself (height: unit) and/or tell the float to shut up if the text wraps (float: none).
Gone ! Want to keep in touch: email - iChatAV: brat270783
Trying to fix the height as so it sticks to 10px away from the bottom of the screen at all times just doesn't work. This is what I was trying to achieve (which I've done with the current site)... the bottom positioning property works on every browser except... _ _ _ _ _ _ _ _ _ _
You've got 3 guesses![]()
![]()
I'd say MSIE because of Big John : www.positioniseverythig.net I think the URL is. Doesn't fit your gaps, but still. Get the last line of your code with a big padding-top to throw it downscreen, that should do. But this problem does have a non-table solution. I recommend asking the css-discuss.com (or .org) list.
Gone ! Want to keep in touch: email - iChatAV: brat270783
Not sure if you guys got that CSS layout to work. if not, give this a shot should work for you.
CSS Code:
HTML CodeCode:body { height: 100%; } .matte { position: absolute; width: 100%; height: 100%; background-color: #300; } .header { width: 100%; height: 150px; background-color: #eee; } .main { color: #fff; }
Code:<body> <div class="matte"> <div class="header"> header </div> <div class="main"> body </div> </div> </body>
.: Quicksilver G4 1.33GHz: OSX 10.4.1: Radeon9800Pro: 1.5GB: 80GB
.: Al 15" 1.25GHz: 10.4.1: Radeon9600Mobility: 512MB: 80GB: Superdrive: AE: Bluetooth
.: www.excalibur-design.com :.
.: End of line...
Almost... don't work in IE5 Mac
Roll up, roll up... next!![]()
Oh well, I got a work around that works if you are javascript fluent. If the position of the .matte class is relivent the code works on IE 5, for Mac, BUT... breaks the other browsers.Originally Posted by uoba
So what you can do is have a browser detect for IE5 and have it just doa document write and swap out absolute to relative... hope that makes sense. Seems that there is just a bug with IE 5 on this issue with it basically doing all its formatting from the topCode:Opera/NS/Safari code .matte { position: absolute; width: 100%; height: 100%; background-color: #300; } IE 5 modification .matte { position: relative; width: 100%; height: 100%; background-color: #300; }
.: Quicksilver G4 1.33GHz: OSX 10.4.1: Radeon9800Pro: 1.5GB: 80GB
.: Al 15" 1.25GHz: 10.4.1: Radeon9600Mobility: 512MB: 80GB: Superdrive: AE: Bluetooth
.: www.excalibur-design.com :.
.: End of line...
Bookmarks