Css and frames

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bob Bedford

    Css and frames

    On my site they are various article to sell from various companies.

    The companies update the database directly on my server.

    Now, some companies would like to "integrate" their articles also on their
    website.

    For this, we are doing the job to have their articles coming from our site
    in a frame.

    BUT !!! when we try to apply a CSS on the frame, we have a big problem:
    nothing appens.

    We'd like the customers to manage their own CSS, instead of asking us to
    change for them.

    <link href="test.css" rel="stylesheet " type="text/css">
    <title>No title</title>
    </head>
    <frameset cols="80,*" frameborder="NO " border="0" framespacing="0 ">
    <frame src="leftmenu.h tm" name="leftFrame " scrolling="NO" noresize>
    <frame src=www.mysite. com name="mainFrame ">
    </frameset>

    we'd like www.mysite.com to takes the test.css.

    How to do so? Our client don't have access to scripts (no php, no asp...)

    Bob



  • Steve Pugh

    #2
    Re: Css and frames

    "Bob Bedford" <bedford1@notfo rspammershotmai l.com> wrote:
    [color=blue]
    >On my site they are various article to sell from various companies.
    >
    >The companies update the database directly on my server.
    >
    >Now, some companies would like to "integrate" their articles also on their
    >website.
    >
    >For this, we are doing the job to have their articles coming from our site
    >in a frame.[/color]

    Oh dear.
    [color=blue]
    >BUT !!! when we try to apply a CSS on the frame, we have a big problem:
    >nothing appens.[/color]

    Browsers are very limited in the amount of styling they can apply to a
    frameset. In theory you would expect to be able to have some control
    over the borders.

    Of course styling of the actual pages within the frames is handled
    normally.
    [color=blue]
    >We'd like the customers to manage their own CSS, instead of asking us to
    >change for them.[/color]

    Sensible. So you should provide a way for them to get the data out of
    your database and apply their own formatting to it.
    [color=blue]
    ><link href="test.css" rel="stylesheet " type="text/css">
    ><title>No title</title>
    ></head>
    ><frameset cols="80,*" frameborder="NO " border="0" framespacing="0 ">
    > <frame src="leftmenu.h tm" name="leftFrame " scrolling="NO" noresize>
    > <frame src=www.mysite. com name="mainFrame ">[/color]

    Do you really have a file on your server called www.mysite.com?
    [color=blue]
    ></frameset>
    >
    >we'd like www.mysite.com to takes the test.css.[/color]

    Then you'll need to reference test.css from inside the file
    www.mysite.com.
    [color=blue]
    >How to do so? Our client don't have access to scripts (no php, no asp...)[/color]

    Then they'll have to take what they're given. If they want something
    fancier they'll have to move to a web host that gives them the tools
    they need.

    Steve

    --
    "My theories appal you, my heresies outrage you,
    I never answer letters and you don't like my tie." - The Doctor

    Steve Pugh <steve@pugh.net > <http://steve.pugh.net/>

    Comment

    • Christoph Paeper

      #3
      Re: Css and frames

      *Steve Pugh* <steve@pugh.net >:[color=blue]
      >
      > Do you really have a file on your server called www.mysite.com?[/color]

      Psst, that link phishing trick is not that well known yet.

      --
      "Not only does God play dice with the universe,
      but sometimes he throws them where they cannot be seen."
      Stephen Hawking

      Comment

      • Bob Bedford

        #4
        Re: Css and frames

        >><frameset cols="80,*" frameborder="NO " border="0" framespacing="0 ">[color=blue][color=green]
        >> <frame src="leftmenu.h tm" name="leftFrame " scrolling="NO" noresize>
        >> <frame src=www.mysite. com name="mainFrame ">[/color]
        >
        > Do you really have a file on your server called www.mysite.com?
        >[/color]

        no, it's Outlook express that remove "" around links. Didn't see it. The
        source is a website.


        Comment

        • Steve Pugh

          #5
          Re: Css and frames

          Christoph Paeper <christoph.paep er@nurfuerspam. de> wrote:
          [color=blue]
          >*Steve Pugh* <steve@pugh.net >:[color=green]
          >>
          >> Do you really have a file on your server called www.mysite.com?[/color]
          >
          >Psst, that link phishing trick is not that well known yet.[/color]

          It's okay. I won't tell if you won't.

          Steve

          --
          "My theories appal you, my heresies outrage you,
          I never answer letters and you don't like my tie." - The Doctor

          Steve Pugh <steve@pugh.net > <http://steve.pugh.net/>

          Comment

          • Steve Pugh

            #6
            Re: Css and frames

            "Bob Bedford" <bedford1@notfo rspammershotmai l.com> wrote:[color=blue]
            > Steve Pugh wrote:[color=green]
            >>"Bob Bedford" <bedford1@notfo rspammershotmai l.com> wrote:[color=darkred]
            >>>
            >>> <frame src=www.mysite. com name="mainFrame ">[/color]
            >>
            >> Do you really have a file on your server called www.mysite.com?[/color]
            >
            >no, it's Outlook express that remove "" around links. Didn't see it. The
            >source is a website.[/color]

            Whether there are quotes around it or not is irrelevant to my
            question. That is not a web site address. It's missing something
            important.

            Steve

            --
            "My theories appal you, my heresies outrage you,
            I never answer letters and you don't like my tie." - The Doctor

            Steve Pugh <steve@pugh.net > <http://steve.pugh.net/>

            Comment

            • Bob Bedford

              #7
              Re: Css and frames


              "Steve Pugh" <steve@pugh.net > a écrit dans le message de news:
              9tb9219ggut6ngp k0m0qf6c3e5069u mvls@4ax.com...[color=blue]
              > "Bob Bedford" <bedford1@notfo rspammershotmai l.com> wrote:[color=green]
              >> Steve Pugh wrote:[color=darkred]
              >>>"Bob Bedford" <bedford1@notfo rspammershotmai l.com> wrote:
              >>>>
              >>>> <frame src=www.mysite. com name="mainFrame ">
              >>>
              >>> Do you really have a file on your server called www.mysite.com?[/color]
              >>
              >>no, it's Outlook express that remove "" around links. Didn't see it. The
              >>source is a website.[/color]
              >
              > Whether there are quotes around it or not is irrelevant to my
              > question. That is not a web site address. It's missing something
              > important.
              >
              > Steve[/color]
              Do you mean http? or it is irrelevant ?
              I took mysite as a general URL only because I won't tell everybody the
              correct address.

              Or I'm missing something here ? Sorry, I may not undersand what you mean !

              Bob


              Comment

              • Steve Pugh

                #8
                Re: Css and frames

                "Bob Bedford" <bedford1@notfo rspammershotmai l.com> wrote:[color=blue]
                >"Steve Pugh" <steve@pugh.net > a écrit dans le message de news:
                >9tb9219ggut6ng pk0m0qf6c3e5069 umvls@4ax.com.. .[color=green]
                >> "Bob Bedford" <bedford1@notfo rspammershotmai l.com> wrote:[color=darkred]
                >>> Steve Pugh wrote:
                >>>>"Bob Bedford" <bedford1@notfo rspammershotmai l.com> wrote:
                >>>>>
                >>>>> <frame src=www.mysite. com name="mainFrame ">
                >>>>
                >>>> Do you really have a file on your server called www.mysite.com?
                >>>
                >>>no, it's Outlook express that remove "" around links. Didn't see it. The
                >>>source is a website.[/color]
                >>
                >> Whether there are quotes around it or not is irrelevant to my
                >> question. That is not a web site address. It's missing something
                >> important.
                >>[/color]
                >Do you mean http?[/color]

                Bingo. Without that you're referencing a URL on your server not one on
                another server.
                [color=blue]
                >I took mysite as a general URL only[/color]

                Without checking that www.mysite.com actually exists.
                www.example.com exists for the purpose of examples like this.

                Steve

                --
                "My theories appal you, my heresies outrage you,
                I never answer letters and you don't like my tie." - The Doctor

                Steve Pugh <steve@pugh.net > <http://steve.pugh.net/>

                Comment

                Working...