CSS Layout Issues (IE vs Firefox)

This is a discussion on "CSS Layout Issues (IE vs Firefox)" within the Web Page Design section. This forum, and the thread "CSS Layout Issues (IE vs Firefox) are both part of the Design Your Website category.


 Subscribe in a reader

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

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Feb 9th, 2008, 03:57
New Member
Join Date: Feb 2008
Location: Austin, Texas
Age: 18
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
CSS Layout Issues (IE vs Firefox)

I've been experimenting with css based layouts, rather than table based layouts lately. I found some templates online, and I have been pretty much copying them line for line, learning how to do certain things. So far, it's been successful, until now.

My issue is the how the layout appears in IE versus Firefox.

Here's the lowdown:



From the bat, you can see that in IE, the navigation menu does not fully extend to the edge of the gray border. Second, there is no padding in the white part (i.e. where Jepona Cula and Genia Huma are) Also, you'll notice that the white does not extend to the full width of the top blue border.

Here's the site:
http://www.trappedinside.net/templates/sphs2/

Here's the code:
http://www.trappedinside.net/templat...2/css/site.css

Here's the original site:
http://trappedinside.net/templates/mandarin/

Here's the original code:
http://trappedinside.net/templates/m.../gorotron1.css

Do keep in mind, I have changed certain things to help fit the theme of my site. Otherwise, the code is almost identical, line for line.

All, and any, help is appreciated!

Thank You
- Keith
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Feb 9th, 2008, 13:46
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Layout Issues (IE vs Firefox)

Hi Keith:

The code looks really good. The one thing I noticed and I'm not sure if it's going to help in IE 7 or not is that you didn't state a width on the column_left div.

I'd add in
Code: Select all
width: 130px;
There are a couple of ways to fix your issue in IE7.

1)
Code: Select all
#column_left {
    float: left;
    width: 130px;
    margin-right: 20px;
}

#column_right {
    float: left;
    width: 510px;
    color: #666666;
    padding-left: 20px;
}
I've highlighted the changes in red. For some reason when you have two div's floating left, IE 7 prefers you add a margin-right to the first div.
The second way to fix this is this way:
Code: Select all
#column_left {
    float: left;
    width: 130px;
    }

#column_right {
    float: right;
    width: 530px;
    color: #666666;
    padding-left: 20px;
}
So take your pick. Either one will work. I have a feeling fix #2 will work better in IE 6 since IE6 likes padding better than margins.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Feb 11th, 2008, 01:08
New Member
Join Date: Feb 2008
Location: Austin, Texas
Age: 18
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Layout Issues (IE vs Firefox)

Thank you for your help.

Upon further research, I found a quick "hack" to make IE do things other browsers wouldn't. (Using an underscore before the tag)

So, I simply just fixed the width of the navigation (a bit wider) and then shortened the width of the whole page just a few pixels.

The finished web layout can be found here:
http://www.trappedinside.net/stonypoint

Thanks for all the help, I appreciate it!

- Keith
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Feb 11th, 2008, 22:11
Reputable Member
Join Date: Dec 2005
Location: Texas
Age: 19
Posts: 328
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Layout Issues (IE vs Firefox)

looks good to me fellow texan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Feb 11th, 2008, 22:16
New Member
Join Date: Feb 2008
Location: Austin, Texas
Age: 18
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Layout Issues (IE vs Firefox)

Thanks. Where in Texas are you from?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Feb 11th, 2008, 22:22
Reputable Member
Join Date: Dec 2005
Location: Texas
Age: 19
Posts: 328
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Layout Issues (IE vs Firefox)

houston, its where im working out of right now
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

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
Several Issues with layout format RZX Developer Web Page Design 11 Apr 1st, 2008 15:58
Firefox Display Issues marytery Starting Out 6 Oct 5th, 2007 20:24
Row layout in Firefox Tomarse Web Page Design 6 Apr 16th, 2007 09:20
IE issues with my layout, works fine in Firefox :[ st3ady Web Page Design 6 Aug 18th, 2006 21:18
FireFox Issues csa Web Page Design 3 Aug 8th, 2006 13:28


All times are GMT. The time now is 19:13.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization 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