3 replies [Last post]
shadowalker
Offline
newbie
Last seen: 17 years 40 weeks ago
Joined: 2004-04-18
Posts: 2
Points: 0

no matter WHAT style sheet i rebuild with, my site still appears completely plain. white background... black text... times new roman font... everything's there, but just.... err... boring.

and no matter what style sheet i use, it always appears the same... anyone care to help?

http://www.fake-smile.com/emotionless/indexx.htm thats my blog

can anyone please AIM me to help me or just tell me here? =(

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 3 years 12 weeks ago
A hilly place, UK
Joined: 2004-02-05
Posts: 2902
Points: 0

My blogging (MOVABLE TYPE) wont link to the style sheets..

Hi

Your problem is because you are using iframes (why?) and each is a file in its own right.

I don't use them, so I'm not sure where the problem lies, but obviously you are setting the style in the wrong file. I know so little about iframes that I don't even know if they should be complete documents like you have them (doctype, links etc).

Trevor

shadowalker
Offline
newbie
Last seen: 17 years 40 weeks ago
Joined: 2004-04-18
Posts: 2
Points: 0

My blogging (MOVABLE TYPE) wont link to the style sheets..

i dunno i just think iframes are cool Sad allt he forums im goin to ask this questions are askin me why i use iframes... u dont use iframes? what do u use? ..... boxes? or what do u recommend me using so the blog can link to the stylesheet?

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 3 years 12 weeks ago
A hilly place, UK
Joined: 2004-02-05
Posts: 2902
Points: 0

My blogging (MOVABLE TYPE) wont link to the style sheets..

Hi

Well, let's say a site's page is constructed like this:

--------------------------------------
Common Header pt1 to all Site Pages
--------------------------------------
Title for this page
Meta tags for this page
Plus more head stuff just for this page (like java)
--------------------------------------
Common Header pt2 to all Site Pages
--------------------------------------
Some body html, doesn't change
--------------------------------------
Some body html that changes, kept in external file
--------------------------------------
Some body html, doesn't change
--------------------------------------
Some body html that changes, generated by an app (maybe blogs)
--------------------------------------
Some body html, doesn't change
--------------------------------------

Not an unusual setup. You can use php to include these files. Often, deecent blog apps store the blogs in a mysql db and use php to recall them, so you can use the bit of script supplied to fetch the stuff where you want.

Each included bit can be put in a div. For example:

<div class="myclass">
<?php include 'myfile.htm';?>
</div>

Note that the included files have nothing except the html required for inclusing. No head, no style, anything they refer to will be accessed via the main file styles.

Almost all servers (unix) have php, all it requires is to change the filename to end in .php

Of course, you can use any server side include language you want, I juts use php coz it's easy and free.

Trevor