Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   Ordered list in gossamer (http://www.greenguysboard.com/board/showthread.php?t=27182)

Jel 2005-12-19 05:49 AM

Ordered list in gossamer
 
Try as I might, I cannot get my list items to show up as ordered on http://www.cfnmparty.co.uk/cfnm/

The paysites are called from a file using gossamer links, which the link.html template is:



  • <%Title%>

    <%if isNew%>
    new
    <%endif%>
    <%if isPopular%>

    <%endif%>

    <%if Description%>
    - <%Description%>
    <%endif%>


  • in my html on my site I use:





    If I remove that piece of code, my freesites show up as ordered, so I'm thinking there's gotta be a problem with my gossamer template, but no matter what I try, I can't get the list to show as ordered - I'm 99.99% sure I've done nothing to the page or the gossamer template since all was working when I started to use it, but as the list(s) are now unordered, that seems physically impossible, I just _cannot_ imagine what I would have touched to make it behave like it is now.

    Any ideas?

    Maj. Stress 2005-12-20 01:20 AM

    I doubt if it will solve your problem but you have an /font tag without a font tag preceeding it near the top of your code. Might fix that and see if you get lucky :)

    Also, shouldn't you have an
      and
    for and ordered list? Or is that somewhere else on the page?

    Jel 2005-12-20 07:26 AM

    Hi majick :)

    Thanks for spotting that font tag, removed it - no joy.

    added
      - no joy.

      Tried 1001 variations of
      1. and their closing counterparts, no dice. I spent so much time yesterday on it that I now officially give up. Thanks for taking a look though |shake|

      PR_Tom 2005-12-20 09:39 AM

      Maybe edit the css class .link and try defining the list-style in there?

      is not needed btw, but or is required.

      Mattinblack 2005-12-20 06:41 PM

      you got two and only one which will confuse things.

      Give it a go... I would!

      Maj. Stress 2005-12-21 01:04 AM

      I just loked at your source code for the page in question. You have an html nested within an html page. Big no no. You need to fix that.
      Now, I think the problem is coming from the fact that the nest html page is not calling the style sheet since it is not loaded to the browser in the initial html head tag. Hope that made sense.
      You really need to clean up the coding on the page and put the call to the style sheet in the initial "head" tag and get rid of the nested html tags. You only need < html > once on a page.
      I would do my best to make sure the page validates at www.w3.org to avoid problems like this. :)

      Jel 2005-12-21 11:56 PM

      Quote:

      Originally Posted by Maj. Stress
      I just loked at your source code for the page in question. You have an html nested within an html page. Big no no. You need to fix that.
      Now, I think the problem is coming from the fact that the nest html page is not calling the style sheet since it is not loaded to the browser in the initial html head tag. Hope that made sense.
      You really need to clean up the coding on the page and put the call to the style sheet in the initial "head" tag and get rid of the nested html tags. You only need < html > once on a page.
      I would do my best to make sure the page validates at www.w3.org to avoid problems like this. :)

      |shake|

      That explains a lot, I was looking in my editor for the 2nd instance of html you mentioned but couldn't find it, seems that the type of include I'm using is causing the problem - not being a shtml page, I had to do it this way to get the include there - which isn't gonna fly it seems. Sooo.... It must have always been unordered (I hate those .000000000001 %'s lol) in which case I'll call an inc file instead - thanks for that, my head was really starting to hurt!


      All times are GMT -4. The time now is 12:45 AM.

      Powered by vBulletin® Version 3.8.1
      Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
      © Greenguy Marketing Inc