Major layout issue

This is a discussion on "Major layout issue" within the Web Page Design section. This forum, and the thread "Major layout issue 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 Dec 19th, 2007, 13:15
Reputable Member
Join Date: Oct 2007
Location: At my house
Age: 22
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Major layout issue

I am still practicing on layouts and I am just testing new ones and my layouts are starting to differ from one another. I made a much more complicated layout and I can't seam to get it to work on Mozilla and IE.

http://koinonia-imboden.com/newlayout.htm

If you take a look at it on Mozilla the top image is too high...but It's pefect for IE. Can anyone help. I believe I made it too complicated and I didn't slice the images correctly on my psd.
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 Dec 19th, 2007, 13:53
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Major layout issue

Please validate your HTML first.
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 Dec 19th, 2007, 14:03
Reputable Member
Join Date: Oct 2007
Location: At my house
Age: 22
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Major layout issue

You mean validate it, then show you...or tell you what's wrong with the validation?
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 Dec 19th, 2007, 14:10
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Major layout issue

Validate it! You have 13 errors in there and some of them are pretty major.

It might fix your problem, it might not but at least we will know that we are working with a validated document.
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 Dec 19th, 2007, 14:20
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Major layout issue

The process of fixing a website bug:
  1. Validate HTML. Brain not required. Often solves problem.
  2. Validate CSS. Brain not required. Often solves problem.
  3. Switch on brain.
  4. Do the hard stuff.
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 Dec 19th, 2007, 14:30
Reputable Member
Join Date: Oct 2007
Location: At my house
Age: 22
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Major layout issue

What's with all the insults??? It's now valid......

http://koinonia-imboden.com/newlayout.htm
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 Dec 19th, 2007, 14:45
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Major layout issue

Hes not insulting u webkid, MikeHopley likes to stress the importance of having valid html before fixing bugs, and he's right ;-)
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 Dec 19th, 2007, 14:55
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Major layout issue

Sorry, I didn't intend that as an insult.

Rather, I was stressing that validation is easy. It doesn't require much thinking; you just do it.

Solving bugs, however, is hard.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Dec 19th, 2007, 14:57
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Major layout issue

To fix, sort of, your problem, add a margin-top: 7px; to either #masthead or #nav but then you get some white-space at the top.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Dec 19th, 2007, 14:58
Reputable Member
Join Date: Oct 2007
Location: At my house
Age: 22
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Major layout issue

Apology accepted. I just get so frustrated with this stuff sometimes that I lose focus and don't realize the minor errors I make. Therefore, I forget that my Xhtml needs to be validated. Thans again for your help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old Dec 19th, 2007, 14:59
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Major layout issue

Your bug may be the result of different default margins/padding between browsers.

Except where you want margins and padding, be sure to set the margin and padding of all your layout elements to 0.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old Dec 19th, 2007, 15:01
Reputable Member
Join Date: Oct 2007
Location: At my house
Age: 22
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Major layout issue

Quote:
Originally Posted by MikeHopley View Post
Sorry, I didn't intend that as an insult.

Rather, I was stressing that validation is easy. It doesn't require much thinking; you just do it.

Solving bugs, however, is hard.
Apology accepted. I get so frustrated with this stuff sometimes that I forget I may have errors and need to validate

Quote:
To fix, sort of, your problem, add a margin-top: 7px; to either #masthead or #nav but then you get some white-space at the top.
I know I have tried that, but the white space came up, I was hoping you could tell me that I was wrong in doing that, but I guess it's more complicated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13  
Old Dec 19th, 2007, 15:11
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Major layout issue

Stripey backgrounds are always a b*tch to play around with

Instead of having that big blocky image for the header, have you tried instead of just having the words in one image as a transparent PNG?

And the menu, I would just use a transparent PNG as well for the rounded buttons.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #14  
Old Dec 19th, 2007, 15:40
Reputable Member
Join Date: Oct 2007
Location: At my house
Age: 22
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Major layout issue

I have never used transparent png's before...I would love to learn about that. I mean I have seen transparent images, but I didn't know they were called transparent png's. How would I go about doing that?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #15  
Old Dec 19th, 2007, 17:16
Marc's Avatar
Staff Manager

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Posts: 1,765
Thanks: 0
Thanked 14 Times in 14 Posts
Re: Major layout issue

Have you got Photoshop of Fireworks?
__________________
Marc
Staff Manager - Webforumz.com


Want to be a moderator? PM me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #16  
Old Dec 19th, 2007, 17:34
Reputable Member
Join Date: Oct 2007
Location: At my house
Age: 22
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Major layout issue

Yes. I do.....it's on another computer, but I do.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #17  
Old Dec 19th, 2007, 23:20
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Major layout issue

if you try adding margin-top:21px; in your body and margin-top:-6px; in your #nav that should sort it out in ff. Not sure on the effect in ie though.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #18  
Old Dec 20th, 2007, 00:18
Reputable Member
Join Date: Oct 2007
Location: At my house
Age: 22
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Major layout issue

Are there such things as negative pixels? For example:

Code: Select all
margin-top: -6px;

That seamed to work for it....could that just be something on my computer...or is that something that actually exists and works?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #19  
Old Dec 20th, 2007, 02:36
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Major layout issue

Yes, negative margins exist. They're actually quite useful!

Read more

Cheers
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #20  
Old Dec 20th, 2007, 16:16
Jack Franklin's Avatar
Moderator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,402
Blog Entries: 8
Thanks: 18
Thanked 14 Times in 14 Posts
Re: Major layout issue

I love negative margins .
__________________
Jack Franklin - Webforumz Moderator
(x)HTML | CSS | PHP | MySQL | JQuery (Javascript)
Contact: My Blog | Twitter | Delicious
Want Lessons? PM me.
If you think I've helped, please press the 'Thanks' Button.
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote