CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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 October 30th, 2003, 04:45 AM
billybonds billybonds is offline
No. 4
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: UK
Posts: 89 billybonds User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 32 sec
Reputation Power: 5
CSS cross browser compatability problems

hi

so i am trying to rebuild a site in CSS and aside from a few glitches(!) i thought that all was going well (in IE) until i looked at the site in mozilla and opera (which i've since learnt are the ones that handle it well -- oops!)

in IE everything lays out as it should but in the two mentioned above elements just collapse onto each other, for example

here!!

i'm using an external style sheets and i guess the css that matters is the following...

.textBox {
position: relative;
top: 0px;
left: 20px;
padding: 0px;
background: #F2FCFF;
width: 640px;
height: 5px;
overflow: visible;
}

.quoteBoxlg {
padding: 10px;
position: relative;
top: 0px;
left: 100px;
padding: 10px;
background: #FFFFFF;
width: 65%;
height: 20px;
overflow: visible;
}

and

.floatleft {
float: left;
margin: 0 0 15px 15px;
}

please help if you can!

thanks

jim

Reply With Quote
  #2  
Old October 30th, 2003, 04:56 AM
Akh's Avatar
Akh Akh is offline
|<.+#f@#+.&.|
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2002
Location: norway
Posts: 2,622 Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 6 Days 2 h 17 m 15 sec
Reputation Power: 548
this happens because ie rendres the overflow:visible wrong.
http://www.quirksmode.org/css/overflow.html

one way to fix it is to remove the
overflow:visible, and height property
form the .textBox and .quoteBoxlg

Reply With Quote
  #3  
Old October 30th, 2003, 05:06 AM
billybonds billybonds is offline
No. 4
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: UK
Posts: 89 billybonds User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 32 sec
Reputation Power: 5
thanks Akh...

i'll give that a go now.

jim

Reply With Quote
  #4  
Old October 30th, 2003, 05:14 AM
billybonds billybonds is offline
No. 4
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: UK
Posts: 89 billybonds User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 32 sec
Reputation Power: 5
well it's got me part of the way there so thanks for that...

however the textBox and quoteBox elements still sit above the floatleft element.

cheers,

jim

Reply With Quote
  #5  
Old October 30th, 2003, 05:58 AM
Akh's Avatar
Akh Akh is offline
|<.+#f@#+.&.|
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2002
Location: norway
Posts: 2,622 Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 6 Days 2 h 17 m 15 sec
Reputation Power: 548
try to set an margin-left to the .textBox,

ie.
margin-left:70px;

Reply With Quote
  #6  
Old October 30th, 2003, 06:04 AM
billybonds billybonds is offline
No. 4
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: UK
Posts: 89 billybonds User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 32 sec
Reputation Power: 5
It works and you are a star! thanks so much....

jim

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS cross browser compatability problems


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway