Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-02-2003, 01:56 AM   PM User | #1
choke
New to the CF scene

 
Join Date: Feb 2003
Location: London
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
choke is an unknown quantity at this point
ok, im screwed.

Right, i'm new here, so howdy doodey e.t.c to you all in advance.

I have a big problem. I am currently working on a site, and this site will contain the first examples of layers i have ever worked with. Thus im clueless as to this:

Is it possible to apply my remotely linked css stylesheets and javascripts to content (images/text/links) within a <div> tag?

At the moment they are all linked to in my <head> section as usual, but they seemed to stop working completely once i added layers to the page.

I have three layers on my page (which btw is displayed within an iframe)...all these layers must have the same meriad of styles and javascripts applied to the content inside them.

Please help me out as im totally screwed if i cant use these layers. And i cant discard the scripts/stylesheets either.

ask if you want to see my code or anything.

thankyou very much.
luke.

Last edited by choke; 02-02-2003 at 01:58 AM..
choke is offline   Reply With Quote
Old 02-02-2003, 05:02 AM   PM User | #2
Jimbo
New Coder

 
Join Date: Jan 2003
Location: NC, USA
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Jimbo is an unknown quantity at this point
I am interested to see what is wrong. Because I use iframes on a site I have and everything works perfectly. Do you have the links to the external CSS and Javascript pages inside the <head> of ALL the pages(including the pages inside the iframe)?
Jimbo is offline   Reply With Quote
Old 02-02-2003, 11:26 AM   PM User | #3
choke
New to the CF scene

 
Join Date: Feb 2003
Location: London
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
choke is an unknown quantity at this point
the entire page, with the layers and the stylesheet/javascript references is within an iframe. I just mentioned the iframe incase it brought up complications but now i have a feeling it doesnt.

I just want the stylesheets and javascripts in the <head> tag to apply themselves to the content inside the <div> tags.
choke is offline   Reply With Quote
Old 02-03-2003, 09:41 AM   PM User | #4
ronaldb66
Senior Coder

 
Join Date: Jun 2002
Location: The Netherlands, Baarn, Ut.
Posts: 4,253
Thanks: 0
Thanked 0 Times in 0 Posts
ronaldb66 is an unknown quantity at this point
Code?

It would really help a lot if you could supply the style and page sources, preferrably online, because based on the information you supplied any number of answers is possible, probably neither of which will help you one bit.
__________________
Regards,
Ronald.
ronaldvanderwijden.com
ronaldb66 is offline   Reply With Quote
Old 02-03-2003, 05:07 PM   PM User | #5
cg9com
Senior Coder

 
Join Date: Jul 2002
Posts: 1,628
Thanks: 0
Thanked 0 Times in 0 Posts
cg9com is an unknown quantity at this point
Re: ok, im screwed.

Quote:
Originally posted by choke

Is it possible to apply my remotely linked css stylesheets and javascripts to content (images/text/links) within a <div> tag?
the direct answer to that question would be yes.

what exactly are you trying to apply from your external CSS?
any other problems you have would require some code posting.
cg9com is offline   Reply With Quote
Old 03-03-2003, 10:15 AM   PM User | #6
choke
New to the CF scene

 
Join Date: Feb 2003
Location: London
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
choke is an unknown quantity at this point
woop

sorry for taking so long, i fixed my problem. Although i dont know why there was one in the first place.

I simply re-arranged the order of my stylesheet references in my header and voila. I think they somehow conflicted, thankyou for the help. much appreciated.


regards...
choke is offline   Reply With Quote
Old 03-03-2003, 05:44 PM   PM User | #7
Spookster
Supreme Overlord


 
Spookster's Avatar
 
Join Date: May 2002
Location: Marion, IA USA
Posts: 6,224
Thanks: 4
Thanked 80 Times in 79 Posts
Spookster will become famous soon enough
and in the future read our forum posting guidelines before you create any more topics.
__________________
Spookster
CodingForums Supreme Overlord
All Hail Spookster
Who gave you that Ugging infraction? Yeah that's right it was me!
Spookster is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:42 PM.


Advertisement
Log in to turn off these ads.