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 March 11th, 2004, 06:37 AM
MostDef's Avatar
MostDef MostDef is offline
st0nEd c0deR
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Manchester, England
Posts: 190 MostDef User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 2 h 45 m 49 sec
Reputation Power: 6
Unhappy CSS cross browser problems

I know there are a lot of articles lying around about this problem, but im having trouble with css layout for a site im working on,

in IE6.0 the site displays as it should do.

in Opera 7.23 + 7.11 the site displays with the main text sitting on the logo for the page,

in firefox it displays as it does in opera.

I am using includes for the full page with no html in the index.php page, i have tried this without includes bur get the same problems as before.

the site addy is:

http://www.kptspanishproperties.org.uk

any help wpuld be great, also im not using tables just using css for all the layout needed
__________________
All is not what it seems, and it seems that this is not all!

Reply With Quote
  #2  
Old March 11th, 2004, 07:07 AM
Akh's Avatar
Akh Akh is offline
|<.+#f@#+.&.|
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2002
Location: norway
Posts: 2,688 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: 4 Weeks 7 h 3 m 59 sec
Reputation Power: 600
first of all try to validate your site, with w3.orgs validator,
you have some faults in your markup. lacking ending body/html tag, and you haven't closed some of the images.

you should also drop attributs, like width, border, align from the tags, and use css to achieve the wanted effects.
also drop the center-tag it has been deprecated in this dtd.

don't use br-tags to create space use margins in css.

don't use bmp picture files, use either gif/png or jpeg,
that logo is almost 400kb


remember both opera and mozilla follows w3.orgs standards more correctly than msie. so they display the page as it should not msie,

msie wrongly accepts width asigned to inline elements,

like <span class="topnav" width=100%>
use div instead, (and drop the width as mentioned)
<div class="topnav">

instead of center use text-align:center;

i aslo see that you have used verdana with font-size 10px,
read this and see why you should avoid this
http://www.virtuelvis.com/archives/146.html
http://www.xs4all.nl/~sbpoley/webmatters/verdana.html

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS cross browser 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 2 hosted by Hostway
Stay green...Green IT