4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 Absolute position not so absolute?
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Sat Dec 16, 2006 5:25 pm (10 years, 12 months ago) Reply with QuoteBack to Top

I'm going nuts trying to figure this out. I'm creating a photo gallery, and I've positioned the two 'Previous' and 'Next' images with absolute positioning. I'm struggling with two problems which are both related to the font size (I guess it's one problem showing itself in different ways). First, the position is not the same in IE and Firefox. Second, the position changes with the font size. As far as I know, the size of a pixel doesn't change when the font size changes, so I'd really love to know what's going on here if anyone has any ideas.

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Tue Dec 19, 2006 2:45 pm (10 years, 11 months ago) Reply with QuoteBack to Top

Just an update, I gave up on the way I was originally trying to implement it and did it a different way to get around the problem.

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
fgidigi
Junior WebHelper
Junior WebHelper


Joined: 07 Sep 2003
Posts: 16

PostPosted: Wed Feb 21, 2007 6:32 pm (10 years, 9 months ago) Reply with QuoteBack to Top

I myself love the absolute positioning and use it constantly, but you have to stick with one browser or you go nuts!

That's why website's use the 'written for : ie6 / 1024x768, etc' on the index.htm, just so you know that things can get corrupted in other borwsers.

The only other way of going around it, that I know, is play with the lay out, so it has some kind off margin / headroom, so to speak. That's kinda far-streched method by the way.
OfflineView User's ProfileFind all posts by fgidigiSend Personal Message
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Wed Feb 21, 2007 6:56 pm (10 years, 9 months ago) Reply with QuoteBack to Top

Writing a disclaimer like that doesn't really help, if anything it advertises to your visitors that you don't want to cater to everyone. There's always a way to get your design to look the same across the board, you just need to be a little creative some times.

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
cbryancu
Junior WebHelper
Junior WebHelper


Joined: 23 Feb 2007
Posts: 2

PostPosted: Fri Feb 23, 2007 1:06 am (10 years, 9 months ago) Reply with QuoteBack to Top

The absolute positioning is different in IE (non-compliant wc3) than ff and others due to the way it measures a screen. If any % in any divs on page, and its a mess. I just got done messing with a site, and it still is not the same in all browsers. close but a bit different in IE. I am learning about the conditional statements for IE on display issues. IE7 is a whole lot better with wc3 specs, but then the display for older IE6 freaks out. I'm hesitant to do much with fluid css because of this irregularities.

The conditional statements are not code compliant and can screw up accessibility for handicap persons.
OfflineView User's ProfileFind all posts by cbryancuSend Personal Message
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Fri Feb 23, 2007 9:21 am (10 years, 9 months ago) Reply with QuoteBack to Top

I've found the conditional statements quite useful. Admittedly they're not exactly standard, but since they're written inside comments I don't see any harm in using them.

In what way do they screw up accessibility?

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
Robert Wellock
WebHelper
WebHelper


Joined: 18 Jan 2002
Posts: 61
Location: Yorkshire - UK

PostPosted: Fri Feb 23, 2007 11:29 am (10 years, 9 months ago) Reply with QuoteBack to Top

They probably don't directly effect accessibility unless of course specific configurations and versions of M$IE are not considered. In which case unless you can test the layout in said browser versions you won't really know 100% if it will render correctly thus 'theoretically' causing issues.

In essence they are similar to a hack and possibly technically speaking bad markup but in the real world they aren't the worst solution for really extreme circumstance for a buggy browser.

________________________________
};-) http://www.xhtmlcoder.com/
OfflineView User's ProfileFind all posts by Robert WellockSend Personal MessageVisit Poster's Website
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.076387 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme