View Full Version : link css
harryweiss
01-07-2006, 04:38 PM
looked at tutorial and can't make out the example.
I currently have stylesheet.css used by every page.
index.html
a.html
b.html
index.html holds links to the other pages, and i will be adding about 30 pages over the next 3 months.
all the other pages are independent linking only internally or to index.
as i add pages index.html will be updated
how do i do this using isolox?
thank you
iSilo
01-07-2006, 05:48 PM
Which example and which tutorial are you referring to? What exactly do you want to do that is special? What is it that is not working? Please explain in enough detail so that we can try to help you. If you posted some sample files, that would help too.
harryweiss
01-08-2006, 08:49 AM
I want to put the equivalent of a web site on the palm.
I started off with a page named index.HTML and a style sheet named
stylesheet.css. I have a link in index to style.
This works on the web; see http://test.harryweiss.com/ (http://test.harryweiss.com/).
I can't seem to make it work on iSiloX.
My plan is to add pages one at a time. Index.HTML will be updated to include an href to the new pages (this works). The new pages will branch back to index.HTML which obviously is acting as a menu (this also works). I will also have internal branches via anchors with the use of 'id' tags. Everything just like putting up a regular site.
This is what I want to do.
What I can't do is the link to the external sheet (the css works internally).
Also, will I have to rebind all pages each time I change the sheet?
iSilo
01-08-2006, 01:51 PM
In your stylesheet.css, you have some portions that you would add if the stylehsheet was part of an HTML document, but which are not specifically valid in a strict CSS file. Namely, you can not have the <style> tag and <!-- --> for delimiting comments. In a CSS file, use /* */ to delimit comments.
You need to remove the parts shown in red here:
<style type="text/css">
<!--
body {background-color: #fffdda;color: maroon; font-weight:bold;}
#toparea {background-color: maroon;color: #fffdda; font-weight:bold;text-align:center;}
#textarea {background-color:#fffdda;color:maroon;font-weight:bold;}
#textarea a:link {color: blue;background-color:yellow;font-weight: 900;}
#textarea a:visited {color:blue;background-color:yellow;}
#textarea a:hover {color: red; font-size: 95%; background-color: yellow; font-weight: 900;}
#textarea a:active {color:blue;background-color:yellow;}
#textarea a {text-decoration: none;}
p {text-indent: 2cm;}
h1 {
font-weight: 900; color:green;text-align: center;font-variant: small-caps;
text-decoration: none; }
h2, h3
{
font-weight: 900; color:green;text-align: left; font-variant: small-caps;
text-decoration: none; }
h4
{
font-weight: 900; color:green;text-align: right; font-variant: small-caps;
text-decoration: none; }
-->
</style>
<!-- ================================================== ============= -->
<!-- === End Style === -->
<!-- ================================================== ============= -->
iSilo
01-08-2006, 01:52 PM
Also, will I have to rebind all pages each time I change the sheet?
If you change anything, then you will need to reconvert.
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.