Forum Moderators: coopster

Message Too Old, No Replies

frames and css does not work with apache

         

guzzi

8:35 pm on Mar 2, 2006 (gmt 0)

10+ Year Member



when i develop a php site on my pc some of the mysql database queries does not work when it is displayed in a page that contains frames but the same piece of code will work fine if the page is display by itself. and when i test the page none of the styles that i define in a external css file every show up the only way i can get around this is to embed the style sheet code inside the page and this means that i have to do it fory EVERY page which takes up so much time, if there are any other tips anyone can give me on how to configure the apache server faster or how to code faster i would really appreciate it very very much, (i've got lots of code to get through but it's taking for ever to do it)
thank you all for your help

StupidScript

12:35 am on Mar 3, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Could you post the code for your frameset page?

I'm guessing it contains more than it should ...

philestine

9:42 am on Mar 3, 2006 (gmt 0)

10+ Year Member



If you use dreamweaver and have configered a site in it you could highlight your style sheet link > right click > find & replace > paste in your styles code > make sure source code and entire local site are selected click start dreamweaver will then open all the files in the background > ammend them > save > close

no this is not really a solution but will save you alot of time.

omoutop

10:18 am on Mar 3, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



since this is "frame" problem, make sure that the various links target the correct frame (plus passing any vars needed for the frame page to work). Take extra care if you have named your frames with unique names.

it's only a wild guess, but couldn't think of anything else

neonpie

10:26 am on Mar 3, 2006 (gmt 0)

10+ Year Member



without stating the obvious - but have you place a link to the stylesheet in each page - not just the frameset and/or have you placed your files into directories and are just not pointing to the stylesheet correctly.

why are you using frames?
if it is to keep a common header and/or menu you could use an include