navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

External stylesheet in the body?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> External stylesheet in the body?
Page: [1]
 
mtfm

 

Posts: 421
Joined: 1/13/2006
From: Mesa, AZ
Status: offline

 
External stylesheet in the body? - 12/8/2006 11:03:50   
I have a site made and maintained in a CMS. I want to use this CMS and link to my own external stylesheet. I have managed to do it and it works (at least in IE6), but I can only insert the link to my stylesheet in the body of the page.

AFAIK this is not correct...is it?

It does work, but I don't think it should and I am hesitant to go through all this trouble and then have things break in IE7.

Input, anyone?
Tailslide

 

Posts: 6003
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: External stylesheet in the body? - 12/8/2006 11:10:32   
Nope - the stylesheet link should definitely go in the document head. Do you have access to the files that the CMS uses to construct the pages or access to the stylesheet the CMS is using?

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to mtfm)
mtfm

 

Posts: 421
Joined: 1/13/2006
From: Mesa, AZ
Status: offline

 
RE: External stylesheet in the body? - 12/8/2006 11:25:45   
Thanks for confirming that. I was 99% sure, but then when it actually worked, it threw me. Since it does work though maybe I can put a disclaimer in that you must only use IE 6 or else risk not seeing anything correctly. (That was a joke, by the way!) :)

As to accessing those files, it's all very locked down. There's no way. The whole point of moving to this CMS is for uniformity across all groups (this is a worldwide company with many many divisions, and they're trying to put all their intraweb resources in one place.) Uniformity is one goal they are definitely achieving, though at the expense of several others. I was hoping to import my own CSS to change a few things around and bring in a CSS menu.

Just trying to be a rebel, I guess! :)

ah, well.

(in reply to Tailslide)
Tailslide

 

Posts: 6003
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: External stylesheet in the body? - 12/8/2006 11:40:44   
quote:

ORIGINAL: mtfm

Just trying to be a rebel, I guess! :)

ah, well.


Well you could always write your own stylesheet and have firefox apply it when you're on the site so at least it will look different to you!

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to mtfm)
womble

 

Posts: 5510
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: External stylesheet in the body? - 12/8/2006 12:16:01   

quote:

ORIGINAL: mtfm

As to accessing those files, it's all very locked down. There's no way. The whole point of moving to this CMS is for uniformity across all groups (this is a worldwide company with many many divisions, and they're trying to put all their intraweb resources in one place.) Uniformity is one goal they are definitely achieving, though at the expense of several others. I was hoping to import my own CSS to change a few things around and bring in a CSS menu.


You could try contacting whoever maintains the CMS and asking if it's possible to add your stylesheet, or your styles to the existing stylesheet. I've just started doing some editing on our website and intranet at work (the one I do 2.5 days a week that's 90% not web stuff) - the site's horrible and the CMS is even more horrible (just looking at the code it produces the other day made me feel ill :)), and I'm very limited to what I can do with pages (nasty horrid templates that leave no room for doing anything vaguelly creative), but if I need a different style for something I have to contact the head web guy and get him to add my styles into the global stylesheet. If you can justify why you need styles additional to the "standard" ones, like for a CSS menu, they may just be amenable. Whatever, good good my fellow rebel :) I was very naughty and put some text in in <whispers very quietly>a different font</whispers> the other day! :)


_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to mtfm)
jaybee

 

Posts: 14144
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: External stylesheet in the body? - 12/8/2006 13:08:12   
Usually the CMS itself is broken down into several bits. If you look through the files you may find something in there called header.php or asp or whatever you're using. If you take a look in there it may be possible to add the stylesheet link.

If not, then it's a case of hunting through all the files trying to find the one that writes the header info and meta tags.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to womble)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> External stylesheet in the body?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts