Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Using my Own Style Sheet
Corey Bryant
#1 Posted : Thursday, 27 October 2011 4:53:51 PM(UTC)
Corey Bryant

Rank: Member

Joined: 25/09/2011(UTC)
Posts: 23
Man
Location: Castle Rock

I am new to the .NET environment and I have been playing around with the GSP. I have my own stylesheet and I was wondering if it is possible to use to maintain some consistency while I am viewing the images?
Corey
Corey Bryant
#2 Posted : Friday, 28 October 2011 2:32:53 PM(UTC)
Corey Bryant

Rank: Member

Joined: 25/09/2011(UTC)
Posts: 23
Man
Location: Castle Rock

Code:
<%@ Page Language="C#" %>
<%@ Register TagPrefix="gsp" Namespace="GalleryServerPro.Web" Assembly="GalleryServerPro.Web" %>
<!DOCTYPE html>
<html>
<head runat="server">
	<meta charset="utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta content="" name="description">
<meta content="" name="keywords">
<meta content="index, follow" name="robots">
<link href="/favicon.ico" rel="shortcut icon" type="image/x-icon">
<link href="../includes/styles.css" rel="stylesheet" type="text/css">
</head>

<body>

<div id="header">
	<!-- Start of Header -->
	<p>Header goes here ...</p>
	<%
Response.WriteFile ("../includes/header.asp") 
%>
	<!-- End of Header --></div>
<div class="colouter threecol">
	<div class="colinner">
		<div class="colmain">
			<div class="colcontent">
				<!-- Start of Main Content -->
				<!-- End of Main Content --></div>
			<div class="colleft">
				<!-- Start of Left Info --><%
Response.WriteFile ("../includes/lefttnav.asp") 
%>
				<!-- End of Left Info --></div>
			<div class="colright">
				<!-- Start of Left Navigation --><%
Response.WriteFile ("../includes/rightnav.asp") 
%>
				<!-- End of Left Navigation --></div>
		</div>
	</div>
</div>
<div id="footer">
	<p>Footer Goes here ...</p>
	<!-- Start of Footer --><%
Response.WriteFile ("../includes/footer.asp") 
%>
	<!-- End of Footer --></div>

</body>

</html>

I did something like this, but received a 500 error: http://www.coreybryant.c...oto-album/default2.aspx

The style sheet is gs/styles/

Thank you!
Corey
Roger Martin
#3 Posted : Friday, 28 October 2011 10:26:27 PM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

Why are you referencing classic ASP pages? Those generally do not belong in a .NET app.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Corey Bryant
#4 Posted : Saturday, 29 October 2011 6:25:58 AM(UTC)
Corey Bryant

Rank: Member

Joined: 25/09/2011(UTC)
Posts: 23
Man
Location: Castle Rock

The code in those pages are just basic html code.
Code:
<div class="mainheader">
<div class="logo">
<br />
</div>
<div class="header">

</div>
</div>


Would it be better if I included it as HTML ?

Corey
Roger Martin
#5 Posted : Saturday, 29 October 2011 9:53:31 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

I don't really understand what you are trying to do, but as best I can tell you are looking to customize GSP, and that is not something I can really provide much support for.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Corey Bryant
#6 Posted : Saturday, 29 October 2011 12:24:53 PM(UTC)
Corey Bryant

Rank: Member

Joined: 25/09/2011(UTC)
Posts: 23
Man
Location: Castle Rock

Sorry I guess the way I am trying to do it is the same way you have it on here. I have a two column website basically, with a left nav and and then the main content.

I'll keep looking / playing around with it. Thanks!
Corey
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.