Problem with different resolutions

This is a discussion on "Problem with different resolutions" within the Web Page Design section. This forum, and the thread "Problem with different resolutions 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 Feb 18th, 2007, 22:18
Junior Member
Join Date: Jan 2007
Location: philly
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Problem with different resolutions

I created this header with an empty horizontal menu. I added the text to the menu with css. The problem that I'm having is that when I change either the resolution or font size the header/menu doesn't stay in line. Is this a result of me creating a header with an empty menu space and then adding the actual menu items later? I attached a copy of the header.
Attached Images
File Type: jpg tanHeader2NoHeadings.jpg (15.0 KB, 34 views)
Reply With Quote

  #2 (permalink)  
Old Feb 18th, 2007, 23:32
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem with different resolutions

Could be a number of things. Please post a link to the page if you can
Reply With Quote
  #3 (permalink)  
Old Feb 21st, 2007, 23:10
Junior Member
Join Date: Jan 2007
Location: philly
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem with different resolutions

Here's the link to the page:
http://www.betagammachapter.com/welcome.html

I haven't put in any IE special hacks or made use of the hover htc code yet.
Attached Files
File Type: txt menu.txt (3.7 KB, 36 views)
Reply With Quote
  #4 (permalink)  
Old Feb 22nd, 2007, 02:02
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem with different resolutions

Ah, you can't do it like that. Add a border to the <li> directly instead of using a background image for separations. Borders or a different background will solve this.
Reply With Quote
  #5 (permalink)  
Old Feb 22nd, 2007, 12:59
Junior Member
Join Date: Jan 2007
Location: philly
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem with different resolutions

Quote:
Originally Posted by Ryan Fait View Post
Ah, you can't do it like that. Add a border to the <li> directly instead of using a background image for separations. Borders or a different background will solve this.
Actually, the problem was me using an invalid align="center" in the div tag. The solution was to use css to center my objects. The background and the dividers had nothing to do with it.
Reply With Quote
  #6 (permalink)  
Old Feb 22nd, 2007, 22:47
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem with different resolutions

Yes, but in other browsers, things aren't aligned properly. It looks horrible in Safari. It also looks horrible when you resize the text. Do this the right way!
Reply With Quote
  #7 (permalink)  
Old Feb 23rd, 2007, 02:09
Junior Member
Join Date: Jan 2007
Location: philly
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem with different resolutions

Quote:
Originally Posted by Ryan Fait View Post
Yes, but in other browsers, things aren't aligned properly. It looks horrible in Safari. It also looks horrible when you resize the text. Do this the right way!
What's the right way? Scrap my header that I took so much time to make? Why are their even tutorials on creating headers like this with dividers and all. Unless you're not explaining it correctly it seems as if you're telling me I can't have a menu like this and I just don't believe that. As long as I can get it to work in IE and FF I could care less about Safari or any other browser.
Reply With Quote
  #8 (permalink)  
Old Feb 23rd, 2007, 03:04
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem with different resolutions

Quote:
As long as I can get it to work in IE and FF I could care less about Safari or any other browser.
That's the wrong attitude for designing websites. There is no need to cut out anyone not using the main browsers or anyone who uses larger default text sizes when it's easier to do it my way.

If you do it this way, it works no matter what font, size, margin, padding, or anything that affects size changes. You also don't need to worry about changing the background image if you want to add or remove a link. There are hundreds of tutorials on this subject if my example just doesn't cut it for you.

Code: Select all
<ul>
    <li><a href="#">Link</a></li>
    <li><a href="#">Link</a></li>
    <li><a href="#">Link</a></li>
    <li><a href="#">Link</a></li>
    <li><a href="#">Link</a></li>
</ul>
Code: Select all
ul {
    width: 100%;
    height: 3em;
    background: #fff url(nav-bg.gif) repeat-x 0 0;
}
li {
    margin: 0 10px;
    font: 1em/3em arial,sans-serif;
    border: solid #fff;
    border-width: 0 2px;
    display: inline;
}

Last edited by Ryan Fait; Feb 23rd, 2007 at 03:06.
Reply With Quote
Reply

Tags
resolution

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
Need help with different resolutions dcampbell18 Starting Out 5 May 7th, 2008 05:46
centered css site in all screen resolutions forry Web Page Design 23 Feb 21st, 2008 10:44
Designing Web Sites For All Screen Resolutions shinesmithdas Starting Out 8 Nov 17th, 2007 21:27
Background resolutions? Clarky Website Planning 6 Jul 25th, 2007 21:36


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


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