• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cross Browser compatability for absolute positioning.

 
Joe Ridener
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everyone,

I am using absolute positioning for a forum. The slight variations of pixel display is causing dis-aligned text to components. In other words my input element for the online form is level with the text in one browser but on the other it is a little more than just slightly off. I was thinking about enclosing the entire line that I want to be level in a span element and positioning the span. What do you think of this? Is there a better way to do it?


Sincerely,
Joe
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65122
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Absolute positioning is overused, in my opinion, and is tricky to get right. I'd advise trying to lay out the elements again, without any absolute positioning.

Without any further details, hard to say what the best approach may be.
 
Joe Ridener
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah my idea was to use tables and spans... will prolly work...thenk you Bear
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65122
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Umm, tables no.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic