User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » CSS Question... Page [1]  
Golovko
All American
27023 Posts
user info
edit post

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

seedless
All American
27142 Posts
user info
edit post

if neither seems to work then it is something else!

11/20/2007 11:50:31 AM

Golovko
All American
27023 Posts
user info
edit post

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

seedless
All American
27142 Posts
user info
edit post

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

Stein
All American
19842 Posts
user info
edit post

Firefox doesn't support tags like that. It's IE only.

11/20/2007 12:01:46 PM

Golovko
All American
27023 Posts
user info
edit post

damnit I guess I'll have to figure out another way....

11/20/2007 12:19:38 PM

evan
All American
27701 Posts
user info
edit post

stick it in a simple php script

include the main css file, leave out the section in question

read the http session vars to determine which browser it is

use a switch case to include the appropriate css file for the appropriate browser

11/20/2007 12:51:25 PM

Prospero
All American
11662 Posts
user info
edit post

^what he said

this 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

Golovko
All American
27023 Posts
user info
edit post

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

Golovko
All American
27023 Posts
user info
edit post

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

Golovko
All American
27023 Posts
user info
edit post

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

Chance
Suspended
4725 Posts
user info
edit post

Are you paying the folks giving you advice consulting fees?

12/1/2007 3:01:39 PM

Stein
All American
19842 Posts
user info
edit post

It seems like something you'd need JavaScript for if I'm understanding you correctly.

12/1/2007 3:04:54 PM

quagmire02
All American
44225 Posts
user info
edit post

^^^ 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

Golovko
All American
27023 Posts
user info
edit post

^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

Chance
Suspended
4725 Posts
user info
edit post

Quote :
"^^ another useful contribution...kudos!"


I probably wouldn't say anything if it was anyone else. It's just, I can't resist when this guy goes out of his way to talk about how self made he is, then he keeps coming back to tdub needing help with his job.

And it isn't like this is a one off thing either. First it was all the photo editing questions, now its all the web development stuff.

How often do you see me in here asking the wolf web how to do my job? How come it's fine when folks ride Amsterdam's balls in here when he does this sort of thing, but when I make one short comment, you have to run your mouth about it? Just let the shit go, it isn't like I was going to say anything else in this thread if no one responded. But you failed.

I'm done with this thread btw, please don't waste your time on a response

12/1/2007 4:50:04 PM

Golovko
All American
27023 Posts
user info
edit post

^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

philihp
All American
8349 Posts
user info
edit post

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

agentlion
All American
13936 Posts
user info
edit post

http://rafael.adm.br/css_browser_selector/

12/2/2007 2:49:34 PM

Golovko
All American
27023 Posts
user info
edit post

^^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

 Message Boards » Tech Talk » CSS Question... Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.38 - our disclaimer.