Jump to content

div scrolling problem


s7orm

Recommended Posts

Helloi am looking for this to be done: http://i56.tinypic.com/rvhz6b.pngi want the banner to be there, and when you scroll down the banner disappears (just like it would if you where scrolling down on a page) and when the buttons hit the top of the page, it would sit there and act like like a header until you scroll back downis this possible?so far i have the logo, and the bar with a div overlay,but the div overlay is for the bar and i want to make it where when you shrink the page (or if your resolution is smaller) it wont have the scroll bar to the right because its off the page..what i have so far: http://i54.tinypic.com/2q1anw9.pngim just trying to get rid of the hyperlink red line around it, cant get it..if someone could walk me through with any questions on setting up this simple site ill gladly pay them $15 via paypal.let me know,thanks.EDIT:i made it where the stripe is a background to make it easier when people dont have a high resolution. heres my code so far:

<!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>Official Jamez Music</title><link href="style.css" rel="stylesheet" type="text/css" /><body><center><img src="images/Website_logo.png" /><br /><span id="nav" style="position: relative; left:-35px; top:355px; width:449px; height:177px; overflow: hidden;"><a href="http://www.facebook.com/pages/Jamez/152338114805157"><img src="images/Website_FB.png" border="0"></a></span></center><p>DUHH HELLO, WELCOME TO JAMEZ'S WEBSITE YO'!<br />DOWNLOAD WE GOT THE MUNCHIES MIXTAPE HERE: <A HREF="HTTP://OFFICIALJAMEZMUSIC.COM/DOWNLOADS.HTML">DOWNLOAD</a><br />NEXT MIXTAPE IS COMING VERY SOON! THIS IS THE TEMP PAGE FOR IT.<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />QUESTIONS? EMAIL - Tyler@officialjamezmusic.com</p></body></html>

my CSS:

@charset "UTF-8";/* CSS Document */body{	background-image:url(images/Website_BG.png);background-color:#000;}p {color:#fff}</style>.background {	color: #000;	background-color: #000;}

its all messed up for testing purposes only.

Link to comment
Share on other sites

im just trying to get rid of the hyperlink red line around it, cant get it..
add this to your css
#nav a{text-decoration:  none;}

if you are unclear, this means when there in an "a" located inside the "#nav" element, do not "underline it"i see you also have border 0 on the image. a combination of those two should do the trick.Guy

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...