Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7

Thread: ok, im screwed.

  1. #1
    New to the CF scene
    Join Date
    Feb 2003
    Location
    London
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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 02:58 AM.

  • #2
    New Coder
    Join Date
    Jan 2003
    Location
    NC, USA
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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)?

  • #3
    New to the CF scene
    Join Date
    Feb 2003
    Location
    London
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  • #5
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: ok, im screwed.

    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.

  • #6
    New to the CF scene
    Join Date
    Feb 2003
    Location
    London
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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...

  • #7
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,280
    Thanks
    4
    Thanked 83 Times in 82 Posts
    and in the future read our forum posting guidelines before you create any more topics.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •