Author | Topic: style sheet being ignored | |
---|---|---|
Jeremy Suiter | style sheet being ignored on Thu, 31 Mar 2005 14:29:25 +0100 Hi, I have a style sheet that's being ignored by all waa generated pages. It's being called correctly because I can save the source generated into a new file which works. Anyone have any ideas? TIA Jeremy | |
Martin Altmann | Re: style sheet being ignored on Thu, 31 Mar 2005 16:22:56 +0200 Jeremy, could you show the html-source of one of your WAA-pages that should use the css-file? Are your sure you also included the appropriate link into the head-section of your self-created html-file? e.g. <html> <head> <title>This is the title of the page</title> <link rel="stylesheet" type="text/css" href="styles.css"> </head> <body> And here is some text... </body> </html> Regards, Martin | |
Phil Ide | Re: style sheet being ignored on Thu, 31 Mar 2005 15:33:06 +0100 Jeremy, > I have a style sheet that's being ignored by all waa generated pages. It's > being called correctly because I can save the source generated into a new > file which works. > > Anyone have any ideas? How are you linking the stylesheet to the page? WAA does not allow you to manipulate the <head> section of the web page. The only chance you have is to submit the entire web page to oHtml:put() without pre-initialising and terminating it. Regards, Phil Ide *************************************** * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * *************************************** Celibacy is not an inherited characteristic. | |
Jeremy Suiter | Re: style sheet being ignored on Thu, 31 Mar 2005 15:49:54 +0100 Martin/Phil, I create a header using my own function that links in the style sheet. Here's what it generates. <HTML> <HEAD> <TITLE LANG="English">R&R Intranet</TITLE> <LINK REL="StyleSheet" TYPE="text/css" HREF=".\style.css" /> </HEAD> <BODY> <CENTER> <H2>Property List</H2> <TABLE BORDER=0> <TR> <TD BGCOLOR=SILVER>PCODE</TD> </TR> </TABLE> </CENTER> </BODY> </HTML> Like I said if I save this source as a html file the stylesheet works OK. Jeremy "Phil Ide" <phil@idep.org.uk> wrote in message news:1b8xw2g04d6o5.dlg@idep.org.uk... > Jeremy, > >> I have a style sheet that's being ignored by all waa generated pages. >> It's >> being called correctly because I can save the source generated into a new >> file which works. >> >> Anyone have any ideas? > > How are you linking the stylesheet to the page? WAA does not allow you to > manipulate the <head> section of the web page. The only chance you have > is > to submit the entire web page to oHtml:put() without pre-initialising and > terminating it. > > Regards, > -- > Phil Ide > > *************************************** > * Xbase++ FAQ, Libraries and Sources: * > * goto: http://www.idep.org.uk/xbase * > *************************************** > > Celibacy is not an inherited characteristic. | |
Phil Ide | Re: style sheet being ignored on Fri, 01 Apr 2005 10:54:10 +0100 Jeremy, > <LINK REL="StyleSheet" TYPE="text/css" HREF=".\style.css" /> Wrong! What you have here is LOCAL FILE SYSTEM ADDRESS, not a URI. Try this: <LINK REL="StyleSheet" TYPE="text/css" HREF="style.css" /> Regards, Phil Ide *************************************** * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * *************************************** Read the dox?!!? Yea, rite... | |
Vladimir Iahnenco | Re: style sheet being ignored on Thu, 31 Mar 2005 09:51:06 -0500 Hi Jeremy, CSS style-sheets works fine with WAA. Regards, Vladimir "Phil Ide" <phil@idep.org.uk> wrote in message news:1b8xw2g04d6o5.dlg@idep.org.uk... > Jeremy, > > > I have a style sheet that's being ignored by all waa generated pages. It's > > being called correctly because I can save the source generated into a new > > file which works. > > > > Anyone have any ideas? > > How are you linking the stylesheet to the page? WAA does not allow you to > manipulate the <head> section of the web page. The only chance you have is > to submit the entire web page to oHtml:put() without pre-initialising and > terminating it. > > Regards, > -- > Phil Ide > > *************************************** > * Xbase++ FAQ, Libraries and Sources: * > * goto: http://www.idep.org.uk/xbase * > *************************************** > > Celibacy is not an inherited characteristic. | |
Jeremy Suiter | Re: style sheet being ignored on Thu, 31 Mar 2005 15:53:35 +0100 Vladimir, I just figured that one out. I gave the style sheet a full http path to it's location and it worked fine. Thanks all Jeremy "Vladimir Iahnenco" <iahnenco@yahoo.com> wrote in message news:nOW2REgNFHA.3104@S15147418... > Hi Jeremy, > CSS style-sheets works fine with WAA. > > -- > Regards, > > Vladimir > > > "Phil Ide" <phil@idep.org.uk> wrote in message > news:1b8xw2g04d6o5.dlg@idep.org.uk... >> Jeremy, >> >> > I have a style sheet that's being ignored by all waa generated pages. > It's >> > being called correctly because I can save the source generated into a > new >> > file which works. >> > >> > Anyone have any ideas? >> >> How are you linking the stylesheet to the page? WAA does not allow you >> to >> manipulate the <head> section of the web page. The only chance you have > is >> to submit the entire web page to oHtml:put() without pre-initialising and >> terminating it. >> >> Regards, >> -- >> Phil Ide >> >> *************************************** >> * Xbase++ FAQ, Libraries and Sources: * >> * goto: http://www.idep.org.uk/xbase * >> *************************************** >> >> Celibacy is not an inherited characteristic. > > | |
Vladimir Iahnenco | Re: style sheet being ignored on Thu, 31 Mar 2005 09:59:14 -0500 Yep, sure, Just was going to tell that to you Regards, Vladimir "Jeremy Suiter" <jeremys@rendallandrittner.co.uk> wrote in message news:49TcpFgNFHA.1256@S15147418... > Vladimir, > > I just figured that one out. I gave the style sheet a full http path to > it's location and it worked fine. > > Thanks all > > Jeremy > > "Vladimir Iahnenco" <iahnenco@yahoo.com> wrote in message > news:nOW2REgNFHA.3104@S15147418... > > Hi Jeremy, > > CSS style-sheets works fine with WAA. > > > > -- > > Regards, > > > > Vladimir > > > > > > "Phil Ide" <phil@idep.org.uk> wrote in message > > news:1b8xw2g04d6o5.dlg@idep.org.uk... > >> Jeremy, > >> > >> > I have a style sheet that's being ignored by all waa generated pages. > > It's > >> > being called correctly because I can save the source generated into a > > new > >> > file which works. > >> > > >> > Anyone have any ideas? > >> > >> How are you linking the stylesheet to the page? WAA does not allow you > >> to > >> manipulate the <head> section of the web page. The only chance you have > > is > >> to submit the entire web page to oHtml:put() without pre-initialising and > >> terminating it. > >> > >> Regards, > >> -- > >> Phil Ide > >> > >> *************************************** > >> * Xbase++ FAQ, Libraries and Sources: * > >> * goto: http://www.idep.org.uk/xbase * > >> *************************************** > >> > >> Celibacy is not an inherited characteristic. > > > > > > |