I have divs on 2 different sites (neither on the internet unfortunately) the css for one is:
#main {
position: relative;
top: 5%;
height: 62%;
width: 90%;
padding: 10px;
text-align: justify;
font-family: "arial", Helvetica, sans-serif;
font-size: 14pt;
color: #333333;
overflow: auto;
}
and for the other is:
#main{
position: relative;
left: 2.5%;
height: 75%;
width: 95%;
font-family: "arial", Helvetica, sans-serif;
color: #444;
font-size: 15px;
overflow: auto;
}
Whichever way I swap them round on one on opera I get a scroll bar for my overflow: auto; and for another it just ignores the auto tag and extends itself down the page. I've tried testing them on the same server and on 1 page the second one works and on 1 page not. Have I got other settings on my pages that could be affecting this??
Thanks in advance,
IxxItry: instead of using position relative use a second div with a margin.
That's just a suggestion btw, I really have no idea what's wrong...Just tried taking the position relative and top specification out and it made no difference. I've edited my 1st post btw, so it might have more info in it.
IxxItry cutting it down to height, width and overflow. if that fails try giving us the rest of the stylesheet.Tried it and it didn't work - I've shoved it on the web - go to <!-- w --><a class="postlink" href="http://www.whiterosefives.co.uk">www.whiterosefives.co.uk</a><!-- w --> click on enter site and then news - thats where the problem is - and I'm baffled.
IxxI
PS: I've sorted out the text at the bottom in case you were worrying - just haven't had time to update yet...which version of Opera?The newest Download ed today (7.54) and 7.53.I've discovered what it is. it's not only simple but baffling.
I discovered that on the pages in question the divs themselves had a <center> tag around, so I removed it as I was positioning them using css. When I did this suddenly I got scroll bars in my overflow: auto; div!! Weird eh?!
IxxIglad you got it, one suggestion for your site though is lose the into page to the site. having a link saying 'enter site' is both annoying and doesnt help w/ search engines. They are pointless pages gl w/ all
#main {
position: relative;
top: 5%;
height: 62%;
width: 90%;
padding: 10px;
text-align: justify;
font-family: "arial", Helvetica, sans-serif;
font-size: 14pt;
color: #333333;
overflow: auto;
}
and for the other is:
#main{
position: relative;
left: 2.5%;
height: 75%;
width: 95%;
font-family: "arial", Helvetica, sans-serif;
color: #444;
font-size: 15px;
overflow: auto;
}
Whichever way I swap them round on one on opera I get a scroll bar for my overflow: auto; and for another it just ignores the auto tag and extends itself down the page. I've tried testing them on the same server and on 1 page the second one works and on 1 page not. Have I got other settings on my pages that could be affecting this??
Thanks in advance,
IxxItry: instead of using position relative use a second div with a margin.
That's just a suggestion btw, I really have no idea what's wrong...Just tried taking the position relative and top specification out and it made no difference. I've edited my 1st post btw, so it might have more info in it.
IxxItry cutting it down to height, width and overflow. if that fails try giving us the rest of the stylesheet.Tried it and it didn't work - I've shoved it on the web - go to <!-- w --><a class="postlink" href="http://www.whiterosefives.co.uk">www.whiterosefives.co.uk</a><!-- w --> click on enter site and then news - thats where the problem is - and I'm baffled.
IxxI
PS: I've sorted out the text at the bottom in case you were worrying - just haven't had time to update yet...which version of Opera?The newest Download ed today (7.54) and 7.53.I've discovered what it is. it's not only simple but baffling.
I discovered that on the pages in question the divs themselves had a <center> tag around, so I removed it as I was positioning them using css. When I did this suddenly I got scroll bars in my overflow: auto; div!! Weird eh?!
IxxIglad you got it, one suggestion for your site though is lose the into page to the site. having a link saying 'enter site' is both annoying and doesnt help w/ search engines. They are pointless pages gl w/ all