Gossamer Forum
Home : Products : Gossamer Links : Discussions :

css not working on add.cgi?

Quote Reply
css not working on add.cgi?
I'm using the base 'yahoo' templates for my new website. Changed the home-, category- and the include-search -template. They are all working fine.
But now i'm changing the add-template, but on that page it is not possible to get my stylesheet working.

This is the code i'm using:

<title><%site_title%>: Voeg een website toe</title>
<link rel=stylesheet href="<%css%>" type="text/css" title="<%site_title%> style sheet">
<div align="center">
<table width="760" bgcolor="ffffff">
<tr><td colspan="3">
<%include include_header.html%>
<td width="20%" valign="top">
<%include include_search_bar.html%>
<%include include_zijlinks.htm%>
<td width="50%" valign="top" align="left">

<nobr><b>Voeg een website toe</b></nobr>

Vul het formulier helemaal in. Wij zullen uw toevoeging zo snel mogelijk beoordelen.
U krijgt van ons bericht als uw inzending wordt toegevoegd of afgewwezen.
</b></font> </p>
<%if error%>
<p><font color="red"><b><%error%></b></font></p>
<form action="<%db_cgi_url%>/add.cgi" method="POST" name="">
<div class="margin">
<table border ="0" cellspacing="3" cellpadding="0" width="356">
<%include include_form.html%>
<input type="SUBMIT" name="add" value="Stuur in">

<td width="30%" valign="top" align="left">
<%include include_zijkant.htm%>
<td colspan="3">
<%include include_footer.html%>

You can see the site:
http://www.pageone.nl/cgi-bin/add.cgi?d=1 and then look for the home-page and notice the difference. Both using the same stylesheet.

What did I do wrong?????
Quote Reply
Re: [Frest] css not working on add.cgi? In reply to
What does your CSS hold? Are you assigning your own classes, or simply just using globals (i.e all links, look like this, and all normal text looks like this...etc).

You don't seem to be using class="" in any of the <p> , <table> or <div> calls, which is probably why its not being applied? You may have just been lucky on the other page, and it happens to show correctly cos you have a 'class' wrapped around it somewhere.

Anyones guess really :(


Andy (mod)
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] css not working on add.cgi? In reply to
BlushYou're right Andy.
I just was lucky on the other pages. And then looked the wrong way.
Just messy coding from my side.

Problem (well: there wasn't any...) solved. Thanks. Smile