problem in firefox only (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


lilblackgirl -> problem in firefox only (5/1/2007 10:12:16)

for the life of me, i can't figure out why this is hosed in FF only. it looks fine in IE. Anyone have an idea what's causing the brochure div to get sucked into the navigation?

http://hospitalreceivables.org/

thanks so much,
LBG




Tailslide -> RE: problem in firefox only (5/1/2007 10:21:07)

Not just IE - everything but IE!

Remove the height from the brochure rule (15px I think) that might fix it.

IE incorrectly expands stuff to allow content to fit. FF, Opera, Safari, Camino etc etc won't do that - they'll assume that if you say 15px high then that's what you mean. Be very careful giving elements heights - it's usually a bad idea because if the text size is increased by the viewer then it can break things plus it can lead to problems like this.




jaybee -> RE: problem in firefox only (5/1/2007 10:23:01)

Or, you can do it with

#brochure {
width: 140px;
height: 15px;
float:left;
}


Then you need to sort out the search title.

Helena is right though. Avoid heights unless you absolutely need them.




lilblackgirl -> RE: problem in firefox only (5/1/2007 14:22:55)

Thanks Tail and Jay. I wasn't aware that a height would create a problem like that.

If i removed the height from brochure, then it doesn't get sucked into the navigation. Unfortunately, it appears differently in IE than FF. If i added the float option, in FF, the next div (search) attaches itself to the right side of the brochure div, even with a few line breaks attached to the end.

I'll leave it without the height restriction as it display 'most' normally that way.




treetopsranch -> RE: problem in firefox only (5/2/2007 6:40:46)

For your info, in NS the text is black with a black background making that page unreadable.




Tailslide -> RE: problem in firefox only (5/2/2007 8:49:47)

It's ok for me in NN 7.2...




treetopsranch -> RE: problem in firefox only (5/2/2007 13:18:01)

Must be a bug in my version 7.1 and fixed in 7.2




jaybee -> RE: problem in firefox only (5/2/2007 13:38:01)

OK in 8.1 as well.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
6.445313E-02