CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 5th, 2002, 03:08 PM
sykes sykes is offline
Blabbermouth Wanker
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: New York
Posts: 60 sykes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
forcing CSS in a frame

If I have frames based site. And one of the frames will contain HTML content that my client has no access to the content or layout. Can I apply their CSS styling to that frame from within the frameset?

as and FYI, the frame is a paid for online database, that they just want to look like the rest of the site, rather than how it looks now - which looks pretty alien.

Reply With Quote
  #2  
Old April 6th, 2002, 07:39 PM
apk's Avatar
apk apk is offline
Potato with a mask
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Sarajevo- BiH
Posts: 25 apk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
No i do not thik so but..

It is not posible for a page in a frame to pick up css settigs of the page in another frame.

But..

1. If they have an external css file you could jut link your frame to it with one line of code in your head content

<link rel="stylesheet" href="http://path_to_css_file/file.css" type="text/css">

2. If it is an internal css code try viewingg source then copy/paste to other frame.

also in head content.

This is all i could think of.

Reply With Quote
  #3  
Old April 12th, 2002, 01:18 AM
sykes sykes is offline
Blabbermouth Wanker
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: New York
Posts: 60 sykes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
I think there's a misunderstanding:

I have control of three of teh four frames, they all are styled off an external CSS, that I have written.

into frame 4 I am loading a URL that I have no control over the html content. I want to somehow force that frame to also have the CSS.

If I can apply a CSS to a frameset and it get applied to all frames within that set, or if there is any otyher work around.


Reply With Quote
  #4  
Old April 26th, 2002, 09:46 PM
bulliver bulliver is offline
slacker
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Penticton BC Canada
Posts: 35 bulliver User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via AIM to bulliver
If I were you I would replace the frames based layout (which is notorious for bugs and user-unfriendlyness) and redesign it using multiple <div> tags and css positioning. You can create seperate scrollable parts of a page without using frames, and one stylesheet would apply to the whole thing for an example go see http://www.bulliver.com/madprofessor/picdisco.html

say no to frames!!!
__________________
Support the mob or mysteriously disappear!!

Reply With Quote
  #5  
Old May 2nd, 2002, 02:34 PM
jflowers jflowers is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Location: Canton, OH, USA
Posts: 37 jflowers User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
There are advantages to frame(s) that don't accrue to cssP. When you stuff a URL into a frame, the page works pretty much as it was designed. you can follow secondary links, the embedded objects work (even dubs), scrollbars appear when needed and history is maintained, to cite but a few. Try entering:

Code:
http://demo.ezo.net/pws/mod.php?mod=showinmain&page=http://www.bulliver.com/madprofessor/


in your browser address window to see what I mean.

Reply With Quote
  #6  
Old May 2nd, 2002, 04:36 PM
bulliver bulliver is offline
slacker
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Penticton BC Canada
Posts: 35 bulliver User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via AIM to bulliver
He he,

I guess people will always debate about which techniques they like better. That's the fun of programming: There is always countless ways to do the same thing!

Many problems with frames though - if anyone's interested read this article about the problems with frames .

I'll stick to the CSS. . .

Reply With Quote
  #7  
Old June 21st, 2002, 03:24 PM
sykes sykes is offline
Blabbermouth Wanker
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: New York
Posts: 60 sykes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Sorry for the delay - been away on biz

Quote:
Originally posted by bulliver
If I were you I would replace the frames based layout (which is notorious for bugs and user-unfriendlyness) and redesign it using multiple <div> tags and css positioning. You can create seperate scrollable parts of a page without using frames, and one stylesheet would apply to the whole thing for an example go see http://www.bulliver.com/madprofessor/picdisco.html

say no to frames!!!


That still doesn't solve the issue.

My client uses an ASP (application service provider) for it's data mangement - this can be accessed from the web at a URL which is on the ASP's server.

They want to embed this information into their site, but make it look as much like their site as possible.

They can not access or change that HTML page (you can customize it a little - but not to the extent they want to).

So using CSS rather than frames would be impossible.

There has to be some trickery to change a html page to look like you want it to look, if you have no access to the original page.

How about if I capture it with a server side script (ASP available), add the CSS link and spit it out ?

Reply With Quote
  #8  
Old June 22nd, 2002, 09:48 AM
w3exit w3exit is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 21 w3exit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I don't think you can apply your CSS settings to an external page .. unless you fetch that page using a script and then display it directly through your site ...

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > forcing CSS in a frame


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway