HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Picture over a scroll box and be able to scroll down
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table
View previous topic :: View next topic  
Author Message
jonsolo



Joined: 02 Aug 2008
Posts: 2

PostPosted: Thu Aug 07, 2008 2:17 pm     Picture over a scroll box and be able to scroll down Reply with quote

Hey guys,

I'm trying to put a picture over a scroll box and have the picture disappear and reveal the scroll box when I put the mouse over it.

I can get the picture over the scroll box and have it hover, but when the picture disappears and shows the scroll box, I cant scroll down on the scroll box.

Heres what I have...

<style>

a.rollover {
text-indent: -9999px ;
text-decoration: none ;
display: block ;
width: 290px ;
height: 240px ;
background: transparent url(http://i285.photobucket.com/albums/ll71/smirk838/warriorsfinal.png) no-repeat left top ;position:absolute; top:8px; left:13px;

}

a.rollover:hover {
text-indent: 0 ;
background: none ;
}
p.rollover:hover {
text-indent: 0 ;
background: none ;
}
http://i285.photobucket.com/albums/ll71/smirk838/warriorsnew.png

</style>
<a class="rollover">
</a>

<div style="width: 280px; height: 230px; background-color: white;background-image:url(http://i285.photobucket.com/albums/ll71/smirk838/240-280-30-2.png);background-repeat:no-repeat ;background-position:center center;family: arial; font-size: 10px; font-weight: bold; text-align: left; overflow: auto; padding: 4px;"><font color="#1569C7">

<font color="#ff3399"> Marissa: testinggg
<br /></font>
Jon: Hi
<br />
<font color="#ff3399">Marissa: woot
<br /></font>
Jon: Yay it works :DDD
<br />
Jon: blah
<br />
<font color="#ff3399">Marissa: hi
<br /></font>
<font color="#ff3399">Marissa: hello
<br /></font>
Jon: pwnt
<br />
<font color="#ff3399">Marissa: nub
<br /></font>
Jon: pro
<br />
<font color="#ff3399">Marissa: blah
<br /></font>
Jon: hi
<br>
<font color="#ff3399"> Marissa: testinggg
<br /></font>
Jon: Hi
<br />
<font color="#ff3399">Marissa: woot
<br /></font>
Jon: Yay it works :DDD
<br />
Jon: blah
<br />
<font color="#ff3399">Marissa: hi
<br /></font>
<font color="#ff3399">Marissa: hello
<br /></font>
Jon: pwnt
<br />
<font color="#ff3399">Marissa: nub
</div>
</td></tr>

Thanks if you can help, Smile
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1416
Location: Biloxi, MS

PostPosted: Sat Aug 16, 2008 5:42 am     Reply with quote

Try using visibility:hidden for the hover effect.

Why is "
Code:
http://i285.photobucket.com/albums/ll71/smirk838/warriorsnew.png
" in the style tags?
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial