CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 5th, 2003, 09:21 AM
Citizen Smith Citizen Smith is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Location: Dorset, UK
Posts: 14 Citizen Smith User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
CSS Positioning, cross browser problem

Okay this is probably a dumb newbie style question but why does this work in Mozilla but not in Opera or IE?

http://www.diypromoters.co.uk/sitedev/index3.html

..or should I be doing this in a completely different fashion?

Reply With Quote
  #2  
Old April 5th, 2003, 03:54 PM
IBM IBM is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 173 IBM User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 11
if you use this style:
iframe.main_window{position: absolute; top: 162px; left: 206px}
it will work in IE and opera7.

Don't know about mozilla....
But you may need a diff style for mozilla...

Browser sniffers will always be needed..it seems.

Reply With Quote
  #3  
Old April 5th, 2003, 07:54 PM
Eclipce Eclipce is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2000
Posts: 763 Eclipce User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 5 h 48 m 41 sec
Reputation Power: 0
According to the CSS spec you are not allowed to use underscores in class names so you should probably take that out. Hyphens are acceptable though.

Reply With Quote
  #4  
Old April 6th, 2003, 01:49 AM
Citizen Smith Citizen Smith is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Location: Dorset, UK
Posts: 14 Citizen Smith User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Really! Oh there's my php spilling over into my CSS

I've actually solved the issue.

I had the positioning defined in the css for the table that has a background image. If I revmove this postioning and define it for a <div> and nest the table in the <div> tags its positioning is the same across the browsers.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS Positioning, cross browser problem

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap