tobstar
Joined: Jan 05, 2004
# Posts: 145
|
Posted: 06/22/2006 05:13 am
This particular class appears in a different place on IE, Firefox and Opera.
I can't figure out why when it says 144px that all the browsers display it differently and i guessing only IE at the coordinates designated,
Am i missing a crucial line of code or something?
.cityscore {
position:absolute;
top:144px;
width:438px;
left:8px;
height:26px;
border-top:solid 1px #CCE3FF;
}
thanks
|
 |
tobstar
Joined: Jan 05, 2004
# Posts: 145
|
Posted: 06/22/2006 05:59 am
the only solution i can think of is a nasty one. Making a browser sniffer that then serves each browser a specific CSS file.
I seem to be the only one who moans about how much of a nightmare brower compatabilty is. I HATE IT with all my little heart.
|
 |
SportsGuy
Moderator
Joined: Aug 30, 2002
# Posts: 3550
|
Posted: 06/22/2006 06:13 am
You're not the only one, but remember folks here are primarily search optimization focused.
I, too, run into these snafus with one of my sites - I hate it, but I go have a latte and let go of it...
It's a reality we all have to, unfortunately, face - the makes should standardize things, but ya know how that is...
|
 |
tobstar
Joined: Jan 05, 2004
# Posts: 145
|
Posted: 06/22/2006 06:31 am
i just dont understand how code such as top:30px is so different in different browsers!
right i'm off to the Mozilla and Opera web sites to give them some abuse.
|
 |
g1smd
Moderator
Joined: Jul 28, 2002
# Posts: 10061
|
Posted: 06/22/2006 06:33 am
Err, both Mozilla and Opera claim to be standards-compliant browsers.
I guess that IE is the one that is not correct here.
|
 |
SportsGuy
Moderator
Joined: Aug 30, 2002
# Posts: 3550
|
Posted: 06/22/2006 08:04 am
Should we start a collection for tobstar to get him a bus ticket to Seattle? I hear Bill's going to have more time on his hands soon... Perhpas he'll chat.
|
 |
tobstar
Joined: Jan 05, 2004
# Posts: 145
|
Posted: 06/23/2006 03:30 am
I'd tell him exactly what he can do with his cash mountain!
|
 |
dudibob
Joined: Oct 13, 2005
# Posts: 1403
|
Posted: 06/23/2006 04:33 am
hahaha, that made me laugh, not usre why your CSS doesn't display in the right place, I've designed a site using absolute positioning and it displays fine across browsers!?
strange
|
 |
tobstar
Joined: Jan 05, 2004
# Posts: 145
|
Posted: 06/23/2006 06:15 am
ok well just to show i'm not making this up or going mad which is more likely. I've updated my profile to include a page that shows this.
The H1 ( Boston City Guide)
and the stars below move about 20 pixels up and down depending on which browsers you use. I've decided to make it look OK in all browsers
I'd like to solve this as I'm about to build a new site and an answer would save me lots of time.
p.s. on a serious note, Bill Gates is one of the worlds greatest ever philanthropist's.
Bill my bank account number is......
|
 |
dudibob
Joined: Oct 13, 2005
# Posts: 1403
|
Posted: 06/26/2006 01:05 am
Hey Tobstar, just had a look, and it displays a-ok for me, only reason it may look like it's being pushed down coz Firefox browser comes down lower than IE (especially if tabbing, but still displays at the top of the page).
So, seems fine to me
|
 |
Curt
Joined: Eons Ago
# Posts: 3671
|
Posted: 08/13/2006 08:37 pm
What really stinks is when you have margins and padding. MSIE and Mozilla don't agree on the rendering. When it looks OK in MSIE, it looks crappy in Mozilla and vice-versa. Microsoft doesn't like following standards of how things get rendered. It was at one time the same problem with table rendering, but eventually IE and Netscape (which is now basically Mozilla rebranded) began to render things more the same.
Now it's CSS with different renderings because MS doesn't think it has to follow standards due to their wide market share that they have. Wish that Mozilla would kick MSIE's butt—they'd deserve it. I don't use MSIE at all if I can help it other than verifying that my pages look OK in it.
|
 |