Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 6th, 2007, 11:00 AM
Registered User
 
Join Date: Jan 2007
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
 
Old January 6th, 2007, 11:29 AM
Friend of Wrox
 
Join Date: May 2006
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









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.