never had to use any html comment tags to hide stuff from firefox before but I do now. Is it [if FF] or [if Firefox]? neither seems to be working.
11/20/2007 11:47:48 AM
if neither seems to work then it is something else!
11/20/2007 11:50:31 AM
I'm thinking the same thing but FireFox didn't work either...only thing left I can think of is Mozilla
11/20/2007 11:51:25 AM
dude, just put a disclaimer 'this website is optimized for ie 6 or higher' and you are all set!
11/20/2007 11:58:43 AM
Firefox doesn't support tags like that. It's IE only.
11/20/2007 12:01:46 PM
damnit I guess I'll have to figure out another way....
11/20/2007 12:19:38 PM
stick it in a simple php scriptinclude the main css file, leave out the section in questionread the http session vars to determine which browser it isuse a switch case to include the appropriate css file for the appropriate browser
11/20/2007 12:51:25 PM
^what he saidthis is really not a good way to do this, but you may try browser detection:http://rafael.adm.br/css_browser_selector/[Edited on November 20, 2007 at 12:54 PM. Reason : .]
11/20/2007 12:54:02 PM
another question:I'm trying to style a file browse button and form filed. For some reason it works in IE and not Firefox. I know that for example, you can never control the style of buttons in Safari but I thought FF you could. also if i set a border in firefox it changes it to an inset border with the color variations that I wanted but not a 'solid' border. If i remove the border style, it makes it a solid border around the form field. Its wierd and frustrating. Any help or ideas would be appreciated. google isn't helping much.
11/21/2007 10:20:17 AM
nvm...found a way to do it. Set a normal input button on a lower z-index over the file input button. made the file button on a higher z-index and opacity:0 and styled the normal input button the way I wanted. works great
11/21/2007 10:35:47 AM
I have a fixed 'nav' on the right side of the screen that I want to always be visible on the screen when the page scrolls vertically. That works great and all but I want it to stop scrolling when its 100px from the bottom of the browser window. Is this possible with CSS or do I need javascript?I tried setting a bottom margin that big but it will scroll right off the browser window If I make the browser window really small vertically. (granted i made it smaller than any screen resolution out there but I like to be thorough in functionality and not depend on users NOT resizing their windows that tiny.basically the nav has a set area it should be allowed to scroll in. NOT the full length of the browser.[Edited on December 1, 2007 at 2:17 PM. Reason : ...]
12/1/2007 2:16:43 PM
Are you paying the folks giving you advice consulting fees?
12/1/2007 3:01:39 PM
It seems like something you'd need JavaScript for if I'm understanding you correctly.
12/1/2007 3:04:54 PM
^^^ i may be misunderstanding you...you've got it working, but it breaks when used with small browser windows? so it's just not scalable?^^ another useful contribution...kudos![Edited on December 1, 2007 at 3:11 PM. Reason : .]
12/1/2007 3:10:33 PM
^it works exactly like it should by setting a div or a ul as 'fixed'. When I scroll it always stays in the same position relative to the browser rather than the page displayed. Which is what I want. However, when i make the browser window really short (height) it still works as it should. But because its relative to the top of the browser and not the top+bottom, it runs off the page. I would like it to stop scrolling with the page when it reaches a certain distance from the bottom.^^^yes, its called information exchange. I ask questions and they answer. They ask questions and I answer. Its really a neat system.[Edited on December 1, 2007 at 3:42 PM. Reason : f]
12/1/2007 3:41:01 PM
12/1/2007 4:50:04 PM
^dude, WTF are you talking about? Your 'crush' on me is getting old. I've told you a dozen times I'm not gay. Move on, find some other 'self made' guy to obsess about. And stop fucking PMing me, I'm not interested.oh and...photo editing? what questions did i ask about photo editing?[Edited on December 1, 2007 at 8:37 PM. Reason : .]
12/1/2007 8:36:52 PM
Why not have Javascript detect the browser, and determine which CSS file to load? It'll work with browsers < 6
12/2/2007 2:47:17 PM
http://rafael.adm.br/css_browser_selector/
12/2/2007 2:49:34 PM
^^huh? why would it matter which browser it is? What i'm doing works in all the browsers i'm supposed to be supporting on this project.lol ok, nvm...you guys are responding to the original post in this thread. That was taken care of a while back...[Edited on December 2, 2007 at 3:52 PM. Reason : .]
12/2/2007 3:51:33 PM