Displays wrong in Firefox

This is a discussion on "Displays wrong in Firefox" within the Web Page Design section. This forum, and the thread "Displays wrong in 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 Jun 28th, 2007, 03:15
JustinStudios's Avatar
Reputable Member
Join Date: Mar 2007
Location: USA
Posts: 404
Blog Entries: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Displays wrong in Firefox

Guys, I have been working on slicing this sucker up all day. This is by far the most complicated layout I have ever done in CSS but thanks to Karrinne and Ryan I believe I have gotten off to a great start. Unfortunately I have an error where my background will not repeat in firefox in my div id NavBottom, but the dern thing does work in IE. If anyone can help fix this I'd be extremely appreciative.

The other question I have is how do I position the text down a little bit without changing the location of the divs. I have tried margin but that seems to mess up the layout of the image as well as the text.

link: http://www.justudios.com/New

I left the CSS in the document so you can access it all at once, but I do use separate stylesheets.

Thanks,
Justin
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 Jun 28th, 2007, 03:35
Reputable Member
Join Date: Jan 2004
Location: California
Age: 19
Posts: 232
Thanks: 0
Thanked 2 Times in 2 Posts
Re: Displays wrong in Firefox

For moving the text down, you can add this to the Content style:

padding-top: 20px;

I'll try to figure out the background problem...
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 Jun 28th, 2007, 05:03
JustinStudios's Avatar
Reputable Member
Join Date: Mar 2007
Location: USA
Posts: 404
Blog Entries: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Displays wrong in Firefox

Hrmm For some odd reason I knew that, but I guess when your looking at code for hours when it usually takes you a matter of minutes you forget things, lol. Thanks for the reminder on how to make my text position correctly. Still looking into that Background thing and I can't see where I am going wrong.
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 Jun 28th, 2007, 11:24
Junior Member
Join Date: Jun 2007
Location: Sussex, England
Age: 19
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Displays wrong in Firefox

Code: Select all
#NavBottom {
    position: absolute;
    top: 459px;
    width: 164px;
    height: 350px;
    background: url("http://www.webforumz.com/images/TemplateSearch.gif") repeat;}
Can be used as a workaround, for some reason the navbottom div is displaying at the top of the page in firefox, probably a html problem. I'm sure someone else can fix it completely for you but you could use my fix for now, works in IE too.

Last edited by Aardvarked; Jun 28th, 2007 at 11:26.
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 Jun 28th, 2007, 11:42
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Displays wrong in Firefox

try changing the #content width to 550px
I think that div is too wide?????
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 Jun 28th, 2007, 11:49
Junior Member
Join Date: Jun 2007
Location: Sussex, England
Age: 19
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Displays wrong in Firefox

Looking at the css a bit more, I'd consider re-coding it completely. Start off by making a header div, then add a container div which will hold the whole website, make that a fixed width and then go from there.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Jun 28th, 2007, 16:07
JustinStudios's Avatar
Reputable Member
Join Date: Mar 2007
Location: USA
Posts: 404
Blog Entries: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Displays wrong in Firefox

Ok, this is fixed. I added a float: left to all 3 elements and it fixed it. I am not sure why this caused firefox to put the nav BG repeating up top but it did. I have also made some adjustments to the size after the fix,but those didn't seem to have any effect on the layout, those were just cosmetic.

Thanks for the help guys!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Jun 28th, 2007, 19:56
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Displays wrong in Firefox

Glad you sorted it out and posted the fix! Good job!
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

Tags
css, firefox

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
Displays wrongly in Firefox? spon Web Page Design 5 Feb 15th, 2007 17:19
Firefox bug...? What am I doing wrong? jamesb75 Web Page Design 5 Feb 6th, 2007 13:15
Problem with IE , Firefox displays website fine (blank space issue) eksquall Web Page Design 6 Jul 29th, 2006 17:52
something wrong (ONLY IN FIREFOX) baseballer2150 Web Page Design 3 Jun 27th, 2005 01:21
css displays wrong font from local file ruddles Web Page Design 2 Jun 5th, 2005 12:48


All times are GMT. The time now is 00:58.


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