View Full Version : Problem with left/right align displaying in Firefox
puffnstuff
04-28-2007, 12:36 PM
My page is here:
http://www.bossteel.com/EuroKlemp/EKMain3.html
The buttons on the right side (Tech Specs and Load Tables, below the "17 years" graphic), are coded to be right aligned. It looks great in IE and Safari. But in Firefox the right align is being ignored. Thus the page is not useable in its current state. I have tried various methods of stating the alignment, using both HTML and CSS, to no avail.
Does anybody know how to force the contents of this column to be right-aligned in Firefox?
mwinter
04-28-2007, 01:34 PM
But in Firefox the right align is being ignored.
Firefox resets the text-align CSS property for tables that have been floated right using the align attribute (but not when floated using CSS). This is just another reason not to use deprecated attributes. However, even that won't solve the problem completely.
Mike
puffnstuff
04-28-2007, 09:48 PM
Say again?
However, even that won't solve the problem completely.
Sorry, but I'm totally new to all this. So I don't understand what you're saying. And if it won't solve the problem, what exactly will?
Can anybody help me?
:confused:
boxxertrumps
04-28-2007, 10:12 PM
Use CSS and dont use tables, thats what mwinter means.
instead of: align="right"
use: style="float:right"
and instead of tables, use divs and lists.
engelbach
04-29-2007, 07:55 AM
My page is here:
http://www.bossteel.com/EuroKlemp/EKMain3.html
The buttons on the right side (Tech Specs and Load Tables, below the "17 years" graphic), are coded to be right aligned. It looks great in IE and Safari. But in Firefox the right align is being ignored. Thus the page is not useable in its current state. I have tried various methods of stating the alignment, using both HTML and CSS, to no avail.
Does anybody know how to force the contents of this column to be right-aligned in Firefox?
Your page doesn't load.
puffnstuff
04-29-2007, 12:32 PM
Don't know why not. When I click on the link posted, I get in just fine. I asked a couple of friends to try also, and it works for them as well.
boxxertrumps
04-29-2007, 03:16 PM
works here, too.
Veronica
04-29-2007, 04:47 PM
If you really want to use tables instead of divs, try putting the align right tag in the td cell that holds the images. style="text-align: right;"
Also, your view may depend on your screen's resolution. At 1152 x 864 it looks ok in FF.
puffnstuff
04-29-2007, 08:27 PM
It only looks ok (now) because I stuck a extra blank column in to force the far right column over a bit. It's a poor patch at best. I'll try the text-align thing in the td, but I'm certain that was one of the things I've already tried, with no effect.
puffnstuff
04-29-2007, 08:38 PM
Sure enough, I just tried (again) the text-align: right within the td containing the image, and no effect. Thanks, anyway. It was worth a try, I've tried so many versions, in so many places. None seem to have any effect in FF.
Veronica
04-30-2007, 02:24 PM
Your table widths need to add up.
Right now, the images are in a table, and that table is in a td whose width is 135. Change that width to 145 and it will align correctly.
Also, you have a span tag that needs tobe closed on the Click to view copy.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.