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.



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

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Dec 19th, 2007, 13:15
Reputable Member
Join Date: Oct 2007
Location: At my house
Age: 21
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to thewebkid
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.
Reply With Quote

  #2 (permalink)  
Old Dec 19th, 2007, 13:53
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: Major layout issue

Please validate your HTML first.
Reply With Quote
  #3 (permalink)  
Old Dec 19th, 2007, 14:03
Reputable Member
Join Date: Oct 2007
Location: At my house
Age: 21
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to thewebkid
Re: Major layout issue

You mean validate it, then show you...or tell you what's wrong with the validation?
Reply With Quote
  #4 (permalink)  
Old Dec 19th, 2007, 14:10
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: 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.
Reply With Quote
  #5 (permalink)  
Old Dec 19th, 2007, 14:20
SuperMember

SuperMember
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.
Reply With Quote
  #6 (permalink)  
Old Dec 19th, 2007, 14:30
Reputable Member
Join Date: Oct 2007
Location: At my house
Age: 21
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to thewebkid
Re: Major layout issue

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

http://koinonia-imboden.com/newlayout.htm
Reply With Quote
  #7 (permalink)  
Old Dec 19th, 2007, 14:45
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 267
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 ;-)
Reply With Quote
  #8 (permalink)  
Old Dec 19th, 2007, 14:55
SuperMember

SuperMember
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.
Reply With Quote
  #9 (permalink)  
Old Dec 19th, 2007, 14:57
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: 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.
Reply With Quote
  #10 (permalink)  
Old Dec 19th, 2007, 14:58
Reputable Member
Join Date: Oct 2007
Location: At my house
Age: 21
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to thewebkid
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.
Reply With Quote
  #11 (permalink)  
Old Dec 19th, 2007, 14:59
SuperMember

SuperMember
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.
Reply With Quote
  #12 (permalink)  
Old Dec 19th, 2007, 15:01
Reputable Member
Join Date: Oct 2007
Location: At my house
Age: 21
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to thewebkid
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.
Reply With Quote
  #13 (permalink)  
Old Dec 19th, 2007, 15:11
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: 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.
Reply With Quote
  #14 (permalink)  
Old Dec 19th, 2007, 15:40
Reputable Member
Join Date: Oct 2007
Location: At my house
Age: 21
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to thewebkid
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?
Reply With Quote
  #15 (permalink)  
Old Dec 19th, 2007, 17:16
Marc's Avatar
Moderator

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,649
Thanks: 0
Thanked 8 Times in 8 Posts
Send a message via MSN to Marc Send a message via Skype™ to Marc
Re: Major layout issue

Have you got Photoshop of Fireworks?
Reply With Quote
  #16 (permalink)  
Old Dec 19th, 2007, 17:34
Reputable Member
Join Date: Oct 2007
Location: At my house
Age: 21
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to thewebkid
Re: Major layout issue

Yes. I do.....it's on another computer, but I do.
Reply With Quote
  #17 (permalink)  
Old Dec 19th, 2007, 23:20
SuperMember

SuperMember
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.
Reply With Quote
  #18 (permalink)  
Old Dec 20th, 2007, 00:18
Reputable Member
Join Date: Oct 2007
Location: At my house
Age: 21
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to thewebkid
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?
Reply With Quote
  #19 (permalink)  
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)
Reply With Quote
  #20 (permalink)  
Old Dec 20th, 2007, 16:16
Jack Franklin's Avatar
Resources Administrator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,268
Blog Entries: 7
Thanks: 10
Thanked 4 Times in 4 Posts
Re: Major layout issue

I love negative margins .
Last Blog Entry: My Latest Project - Grilling Gurus... (Jun 11th, 2008)
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
CSS Layout issue between IE and Firefox macu Web Page Design 2 Aug 22nd, 2007 13:14
Question about layout/IE7 issue bluetech Web Page Design 3 Jul 3rd, 2007 15:37
Help with a layout issue Kirryn Web Page Design 9 Jun 21st, 2007 17:27
menu / layout positioning issue in IE Pixelate Web Page Design 2 May 9th, 2006 13:15
Homepage layout issue webwiz2000 Web Page Design 2 Feb 28th, 2006 17:49


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


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