aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes CSS - import problem w/ FireFox 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 - import problem w/ FireFox" Watch "CSS - import problem w/ FireFox" New topic
Author

CSS - import problem w/ FireFox

Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 819
I'm trying to load a CSS in my page using the LINK tag and it doesn't seem to work for FireFox but is working for IE. The main property I noticed not working from the css is the table.main setting for width of 750. Also I used a loop using offsetParent to find what the left and top properties were for an element and then using these values I wanted to set those to a div tag I had (move the div tag contents under a button I click). Again works in IE and not in FireFox. Thanks.

Rob
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61230
    
  66

Code please.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 819
The class for table tag has it's width set to 750, in IE it works and in FireFox it doesn't.



[/CODE]
Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 819
Never mind Bear about the not loading part, I had the width set to 750 and not 750 and a unit of measurement (i.e. put it to px). I have the border-style set for the table tag to have the top, left, and right border set to solid and to a particular color. It doesn't work in Firefox, how can I get it to work in Firefox? Thanks.

Rob
 
jQuery in Action, 2nd edition
 
subject: CSS - import problem w/ FireFox