Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > HTML, XHTML and CSS

Reply
 
LinkBack Thread Tools
Old March 23rd, 2007, 11:20 AM   #1
New Member
 

Join Date: Mar 2007
Location: Mooresville, NC
Age: 20
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Destx is on a distinguished road
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.
Destx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old March 23rd, 2007, 11:50 AM   #2
Elite Veteran
 

Join Date: Jan 2007
Location: You know where
Age: 32
Posts: 4,607
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all
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:
.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:
.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.
karinne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old March 23rd, 2007, 04:46 PM   #3
Elite Veteran
 

Join Date: Aug 2005
Location: That Place
Posts: 2,081
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Rep Altering Power: 0 moojoo will become famous soon enough moojoo will become famous soon enough
Re: Cross Browser issues.

And even shorter...

Code:
.content {
border:solid #000;
border-width:1px 0 0 1px;
}
__________________

moojoo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old March 26th, 2007, 11:26 AM   #4
New Member
 

Join Date: Mar 2007
Location: Mooresville, NC
Age: 20
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Destx is on a distinguished road
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.
Destx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old March 26th, 2007, 12:22 PM   #5
Elite Veteran
 

Join Date: Sep 2006
Location: Pink House
Posts: 3,941
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all
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?
Lchad is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old March 26th, 2007, 02:56 PM   #6
Elite Veteran
 

Join Date: Jan 2007
Location: You know where
Age: 32
Posts: 4,607
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all
Re: Cross Browser issues.

I doubt you even tried everything I posted because when I do (via Firebug) it works
karinne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
broswer , css , help , problem


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Your Design and Layout 3 May 4th, 2008 05:59 AM
cross browser issues planescape HTML, XHTML and CSS 4 August 29th, 2007 05:16 PM
Cross Browser/Platform Issues with drop downs Maverick25r HTML, XHTML and CSS 2 October 4th, 2006 09:27 AM
New Cross-Browser Low masonbarge JavaScript 2 May 11th, 2006 01:18 PM
Cross Browser jwalker80 HTML, XHTML and CSS 10 December 22nd, 2005 10:38 AM


Search Engine Optimization by vBSEO 3.2.0 RC8