 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
Maggical
Joined: 10 Jan 2005 Posts: 46 Location: Rosario - Argentina
|
Posted: Fri Nov 20, 2009 11:58 am Weird Scroll |
|
|
|
Hi there, just wanted to see if someone could help me out here...
My portfolio is made in flash and it's scaled to a 100% both in width and height, but it also has an alternate content for people or devices that doesn't ahve flash.
The thing is that when flash is active the scrollbar shouldn't display (it has overflow:auto;) but it does leaving some pixels at the bottom...
http://www.javierespana.com/
Any ideas how to correct this?
Thanks,
Javier |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 4287 Location: MS
|
|
Maggical
Joined: 10 Jan 2005 Posts: 46 Location: Rosario - Argentina
|
Posted: Sat Nov 21, 2009 11:25 am |
|
|
|
Just corrected all the errors and I keeo seeing the scroll in Firefox 3, Safari is not showing it... I don't have IE here...
Any other ideas? Thanks,
Javier |
|
sticks464

Joined: 31 Dec 2006 Posts: 2625
|
Posted: Sat Nov 21, 2009 1:52 pm |
|
|
|
If you use 100% height correctly it will work.
| Code: |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>100% height and width</title>
<style type="text/css">
* {margin:0; padding:0;}
body:before {/*Opera min-height 100% Fix*/
content:"";
height:100%;
float:left;
width:0;
}
body {
background: #A6A6A6;
font:100% arial,"trebuchet ms",tahoma;
color: #000;
height: 100%;
}
html {
overflow-y:scroll; /*keep scrollbar position present in FF at all times*/
height: 100%;
}
#content {
width:100%;
min-height:100%;
background:#EEF;
}
</style>
</head>
<body>
<div id="content">
</div>
</body>
</html> |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|