Welcome to Omgili,
Omgili ( Oh My God I Love It ;) is a search engine for discussions. With Omgili you can find answers and solutions, debates, discussions, personal experiences, opinions and more... To learn more about Omgili click here.
This is a complete preview of the discussion as it was indexed by Omgili crawlers. Use this preview if the original discussion is unavailable.
Click here to view the original discussion.
 |
|
 |
|
myspace page centers on myspace banner - Forums - CreateBlog
I have a little problem and I hope someone can help me.
I'm designing a myspace profile and I'm not good with codes.
I've put header image above the myspace add and search bar but every time I open the myspace page the browser automatically centers (scrolls down) on myspace banner ad.
How can I avoid that?
I want the browser to display the page from top...
(and I don't want to put myspace banner on top of the page...)
here's my page:
www.myspace.com/robertbutkovic
|
|
 |
|
 |
 |
|
 |
|
Could you please supply us with the codes that you are using?
Are you trying to get those little dark green lines to connect?
|
|
 |
|
 |
 |
|
 |
|
I'm just trying to avoid browsers centering / scrolling down on myspace banner.
That's it.
What lines are you talking about?
here is the code that's in my CSS window:
CODE ]{!-- START code to Place Top Banner --!}
{!
Code author:Eileen, all rights reserved !}
{!-Banner very top of Page -!}
div.wrap {padding-top:712px;
background-image:url("http://i538.photobucket.com/albums/ff348/divljach/majspejs/header960.jpg");
background-position:center top;
Background-repeat:no-repeat;}
{!
Reverse conflicts with other commonly used code !}
div.contentTop table td {background-image:none;
Width:auto; height:auto;}
{!-- End code to Place Top Banner --!}
{ Created using FreeCodeSource.com Profile Editor }
{ Text Properties }
div.content, li, p, div {font-family:tahoma ;
Font-size:10px ; color:black ;
Font-weight:normal;
}
.btext, h4, div.basicInfoDetails h2, h3.moduleHead span span {font-family:tahoma ;
Font-size:18px ; color:rgb(155,234,134) ;
Font-weight:bold;
Font-style:normal;
}
div.commentsModule p.datePosted, .blacktext11, .blacktext12, ul.moduleList li h4, ul.moduleList li strong, span.count, span.count, .text {font-family:tahoma ;
Font-size:10px ; color:rgb(46,65,40) ;
Font-weight:normal;
Font-style:normal;
}
{ Link Properties }
a:active, a:visited, a:link {font-family:Geneva ;
Color:rgb(155,234,134) ;
Font-weight:normal;
Font-style:normal;
}
a:hover {font-family:Geneva ;
Color:rgb(255,255,255) ;
Font-weight:normal;
Font-style:normal;
}
div.basicInfoModule {display:none;}
div#header, div#googlebar {
background-color: transparent;
}
div#googlebar, div#header
{background-image:url("http://i538.photobucket.com/albums/ff348/divljach/majspejs/pozadinabenera.jpg");
}
div#topnav
{background-image:url("http://i538.photobucket.com/albums/ff348/divljach/majspejs/pozadinabenera2.jpg");}
#topnav ul li, #topnav ul {border: none;}
.freecodesourcedotcom {topnav border line color}
div#topnav ul#leftNav li,
div#topnav ul#leftNav,
div#topnav ul#rightNav,
div#topnav ul#rightNav li
{border-color:BLACK}
.freecodesourcedotcom {topnav font color}
div#topnav ul li a,
div#topnav ul#leftNav li a#nav2.open,
div#topnav ul#leftNav li a.open,
div#topnav ul#leftNav li a.open,
div#subnav ul#subNav3 li a,
div#subnav ul#subNav4 li a,
div#subnav ul#subNav10 li a,
div#subnav ul#subNav2 li a
{ background-image:none;
Color:BLACK;}
.freecodesourcedotcom {topnav hover color}
div#topnav ul li a:hover,
div#topnav ul#leftNav li a#nav2.open:hover,
div#topnav ul#leftNav li a.open:hover,
div#topnav ul#leftNav li a.open:hover,
div#subnav ul#subNav3 li a:hover,
div#subnav ul#subNav4 li a:hover,
div#subnav ul#subNav10 li a:hover,
div#subnav ul#subNav2 li a:hover
{background-color:black;
Color:rgb(46,65,40)}
{!
Hiding elements to prepare for Div Layout, code By Eileen !}
{!
For terms of use please see xiii.us/tou !}
{!
Http://xiii.us/tou !}
{!
Views-under-construction.blogspot.com !}
{!
Http://xiii.us/ !}
.i {display:none;}
{!
Hide people you may know !}
div#module-1 {display:none;}
{!
Hide blurbs header !}
div.blurbsModule h3 {display:none;}
{!
Hide about me header !}
div.blurbAboutMe h4 {display:none;}
{!
Hide entire meet section !}
div.blurbLikeToMeet {display:none;}
{!
Myspace 2.0 div layout preparation code by Eileen xiii.us/tou !}
{!
Remove extra space caused by padding, margins, min-height settings !}
div.basicInfoDetails {min-height:0px;
Padding:0px;}
div.profileDemographics {min-height:0px;
Padding:0px; height:0px;
Width:0px;}
div.basicInfoModule {margin:0px;
Height:0px; padding:0px;
Min-height:0px; }
div.basicInfoModule div.moduleBody {height:0px;
Min-height:0px; margin-top:0px;
Margin:0px; padding:0px;
}
div.contentMid2 {padding:0px;}
{!
Override default padding in blurbs module !}
div.blurbsModule {margin:0px;
Padding:0px}
div.blurbsModule div.moduleBody, div.blurbsModule div.moduleMid{padding:0px;}
{!
Myspace 2.0 div layout preparation code by Eileen xiii.us/tou !}
{!!!
Cause any absolute positioning, to position relative to div.contentMid2 !!!}
div.contentMid2 {position:relative;}
{!
Set width of my core div, and surrounding divs !}
div.wrap, div#row1, div.contentMid2, div.contentMid, div.contentMid1, div.myCoreDiv {width:960px;}
{!
Control width of top area, when making the rest of the page wider !}
div.globalWidth, div#leaderboard {width:960px;
Max-width:960px; }
div#googlebar {width:920px}
I don't have that problem in Opera, only in Safari and Firefox.
Reason for edit: Please use [codebox][/codebox] tags when posting long codes.
Thanks. - TJ
|
|
 |
|
 |
 |
|
 |
|
Posts Merged.
I'm not sure what you mean about
Quote: the browser automatically centers (scrolls down) on myspace banner ad.
I'm trying to look for what you're talking about, but everything looks fine for me and I'm using Safari.
|
|
 |
|
 |
 |
|
 |
|
What? Wait, so do you want the banner under the advertisement/navigation area so your page starts from there instead of your banner?
|
|
 |
|
 |
 |
|
 |
|
The position is ok.
I want everything to look like it does now.
But somehow when I open myspace page the browsers scrolls the page down to the advertisment/banner.
And I don't want that to happen.
here, let me post a pic so you can see what happens:
click to enlarge
All I want is to avoid that.
When my page loads I want it to start from top.
I don't want the browser scrolling down to the banner.
Reason for edit: Please thumb large images.
Thanks - TJ
|
|
 |
|
 |
 |
|
 |
|
^ Maybe it's your computer.
It doesn't do that for me at all.
|
|
 |
|
 |
 |
|
 |
|
Really?
what OS/browser do you use?
I use OSX and Firefox and this shit happens all the time...it's quite annoying and I don't know how to get around that...
|
|
 |
|
 |
 |
|
 |
|
Sorry but it doesn't do that for me either and I'm using Firefox.
|
|
 |
|
 |
 |
|
 |
|
Is it possible that the generated advertisment/banner has some sort of a script in it so when I open my page with that kind of banner it automatically makes the browser scroll down to it???
(my guess is that you don't get the same banner I do...)
or maybe it's my computer or something I have installed...
I don't know..
|
|
 |
|
 |
 |
|
 |
|
Maybe it's because your stuff isn't maximized maybe?
|
|
 |
|
 |
 |
|
 |
|
MySpace earns money when people click on their ads so yeah, most likely.
I suggest just putting your banner in between the navigation and your actual page with this code instead of having it on the very top.
|
|
 |
|
 |
 |
|
 |
|
^ I don't think that will work Mike, cause he's using Profile 2.0
|
|
 |
|
 |
 |
|
 |
|
Oh, is he? I didn't realize.
Use my code , then.
That should do it.
|
|
 |
|
 |
 |
|
 |
|
I think I know what was the problem:
google search bar!
I removed it and now my browser doesn't scroll down any more.
Does anyone know is it a breach of myspace terms of use to remove google search bar?
|
|
 |
|
 |
 |
|
 |
|
You can remove it, you just can't remove the advertisment and bottom links.
|
|
 |
|
 |
|
|
|