Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 6th, 2007, 11:00 AM
Registered User
 
Join Date: Jan 2007
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default please help me as soon as possible

i add a aspx page using master page within that i am using CSS in that inherit masterpage always giving one error style can not be nested within 'td'...
bellow i have given all codes


<%@ Page Language="VB" MasterPageFile="~/schoolmaster.master" AutoEventWireup="false" CodeFile="khsgallery.aspx.vb" Inherits="khsgallery" title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<style type="text/css" > (error in this line)

/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.gallerycontainer{
position: relative;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
border: 1px solid white;
margin: 0 5px 5px 0;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: 1px solid blue;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 0;
left: 230px; /*position where enlarged image should offset horizontally */
z-index: 50;
}

</style>




<div class="gallerycontainer">


<a class="thumbnail" href="#thumb"><img src="images/templewithmaakali.PNG" alt="kalima photo"width="100px" height="70px" border="0" /><span><img src="images/templewithmaakali.PNG" alt="kalima" /><br />By the bless of Maa Kali</span></a>

<br />

<a class="thumbnail" href="#thumb"><img src="images/templewithmaakali.PNG" alt="kalima photo"width="100px" height="70px" border="0" /><span><img src="images/templewithmaakali.PNG" alt="kalima" /><br />By the bless of Maa Kali</span></a>
<br />
<a class="thumbnail" href="#thumb"><img src="images/templewithmaakali.PNG" alt="kalima photo"width="100px" height="70px" border="0" /><span><img src="images/templewithmaakali.PNG" alt="kalima" /><br />By the bless of Maa Kali</span></a>
<br />
<a class="thumbnail" href="#thumb"><img src="images/templewithmaakali.PNG" alt="kalima photo"width="100px" height="70px" border="0" /><span><img src="images/templewithmaakali.PNG" alt="kalima" /><br />By the bless of Maa Kali</span></a>
<br />

<a class="thumbnail" href="#thumb"><img src="images/templewithmaakali.PNG" alt="kalima photo"width="100px" height="70px" border="0" /><span><img src="images/templewithmaakali.PNG" alt="kalima" /><br />By the bless of Maa Kali</span></a>
<br />
<a class="thumbnail" href="#thumb"><img src="images/templewithmaakali.PNG" alt="kalima photo"width="100px" height="70px" border="0" /><span><img src="images/templewithmaakali.PNG" alt="kalima" /><br />By the bless of Maa Kali</span></a>
</div>



</asp:Content>



Narayan Nayak
Reply With Quote
  #2 (permalink)  
Old January 6th, 2007, 11:29 AM
Friend of Wrox
 
Join Date: May 2006
Location: San Diego, CA, USA.
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This looks a bit like ASP.NET, not ASP Classic.
You will probably get a better response if you post this in one of the ASP.NET forums.

Woody Z
http://www.learntoprogramnow.com
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off



All times are GMT -4. The time now is 02:25 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.