GeeCON Prague 2014*
The moose likes HTML, CSS and JavaScript and the fly likes CSS issue in Mozilla pop up window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "CSS issue in Mozilla pop up window" Watch "CSS issue in Mozilla pop up window" New topic
Author

CSS issue in Mozilla pop up window

prashant kond
Greenhorn

Joined: Mar 03, 2005
Posts: 18
Hi,
In our project we are working on mozilla browser. Here I am facing problem when we are showing a pop up, it is not getting the css properties from the main window. If I use style instead of class in td it is working.
if any one having idea on adding css properties to the pop up window, plese share with us.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"kp"

please note that you have been asked to correct your display name previously. Also note that accounts with invalid display names are not eligible to win books during a book promotion.

regards,
Dave
Michael Beauchamp
Greenhorn

Joined: Mar 03, 2005
Posts: 23
Originally posted by kp:
Hi,
In our project we are working on mozilla browser. Here I am facing problem when we are showing a pop up, it is not getting the css properties from the main window. If I use style instead of class in td it is working.
if any one having idea on adding css properties to the pop up window, plese share with us.


Your pop up window needs some way to know about the rules you defined. If you defined your css rules in a <style> tag on the parent page, then you should consider pulling that out and placing it in a css file. Then, use a link tag in the head to point to the css file. You can add this link to as many pages as you like, including the popup.
 
GeeCON Prague 2014
 
subject: CSS issue in Mozilla pop up window