Cross Browser issues.

This is a discussion on "Cross Browser issues." within the Web Page Design section. This forum, and the thread "Cross Browser issues. are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 23rd, 2007, 14:20
New Member
Join Date: Mar 2007
Location: Mooresville, NC
Age: 19
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Cross Browser issues.

I coded http://mooresvillewd.com/arp in CSS, the site works perfectly in IE6 but in IE7 and FF it is messed up. I checked the code and it was valid with 0 errors. I am not sure why it is different, you would figure newer browsers wouldn't have the errors. Any help would be greatly appreciated.
Reply With Quote

  #2 (permalink)  
Old Mar 23rd, 2007, 14:50
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Cross Browser issues.

Change your doctype to either HTML Strict or an XHTML Transitional doctype.

Reduce the width of your navigation class to 130 and then everything below it. The .navigation li a { and.navigation li a:hover { should be 120px or around that. You need to take borders, padding and margins into account. That the box-model hack. IE7 got some of it right and FF has been doing it right all along but Ie6 ... well ... it's IE6 :P

You should code your site according to Firefox and not IE. Firefox will display your code as you write it not as it is intended like IE.

There's alot of unnecessary code in that CSS too. Stuff like this

Code: Select all
.content

{
	width: 452px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #000000;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #000000;
}
can be reduce to this

Code: Select all
.content

{
	width: 452px;
	border-top: 1px solid #000;
	border-left: 1px solid #000;	
}
Ryan has a really good article on Proper CSS Shorthand that you should definately look at.
Reply With Quote
  #3 (permalink)  
Old Mar 23rd, 2007, 19:46
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,763
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: Cross Browser issues.

And even shorter...

Code: Select all
.content {
border:solid #000;
border-width:1px 0 0 1px;
}
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #4 (permalink)  
Old Mar 26th, 2007, 15:26
New Member
Join Date: Mar 2007
Location: Mooresville, NC
Age: 19
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Cross Browser issues.

I tried doing what you said and I still can't get it. I also got some other advice on another site and it didn't effect it at all.
Reply With Quote
  #5 (permalink)  
Old Mar 26th, 2007, 16:22
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Cross Browser issues.

I just check it in IE 7 and FF and the site looks exactly the same. I don't see anything messed up in FF. Are you sure you don't need to clear your cache/refresh?
Reply With Quote
  #6 (permalink)  
Old Mar 26th, 2007, 18:56
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Cross Browser issues.

I doubt you even tried everything I posted because when I do (via Firebug) it works
Reply With Quote
Reply

Tags
broswer, css, help, problem

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross Browser Problems - Need Help dramaticr21 Starting Out 3 May 4th, 2008 09:59
cross browser issues planescape Web Page Design 4 Aug 29th, 2007 21:16
Cross Browser/Platform Issues with drop downs Maverick25r Web Page Design 2 Oct 4th, 2006 13:27
New Cross-Browser Low masonbarge JavaScript Forum 2 May 11th, 2006 17:18
Cross Browser jwalker80 Web Page Design 10 Dec 22nd, 2005 14:38


All times are GMT. The time now is 16:12.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43