keeping nav bar on one line

This is a discussion on "keeping nav bar on one line" within the Web Page Design section. This forum, and the thread "keeping nav bar on one line 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 Jan 31st, 2008, 12:24
Phixon's Avatar
SuperMember

SuperMember
Join Date: Mar 2007
Location: UK
Age: 21
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
keeping nav bar on one line

Ok, I hope this question makes sense.

Basically im using a full css nav bar, but when i use more than one word in each link, it makes a new line and then rips the whole site to pieces, but when i view in IE and FF its fine.

Basically I was wondering if there was a way of viewing it correctly in dreamweaver. Here are some screenshots

One word


2 words


Thanks for reading
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 Jan 31st, 2008, 12:28
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: keeping nav bar on one line

So ... let me get this straight. You want to know how to get your site - a site that will be viewed by everyone on either FF or IE or Opera or Safari - to look good in DW's browser?!

You're kidding right?

DW's browser is not something your should be concerned with ... not one bit! I use DW to develop and I have NEVER used it.
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 Jan 31st, 2008, 12:38
Phixon's Avatar
SuperMember

SuperMember
Join Date: Mar 2007
Location: UK
Age: 21
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Re: keeping nav bar on one line

well when i construct my site, its all ripped to pieces and therefore cant work on it without having to remove all the nav links and then put them back at the end.

Also if its doing it in DW, then It could be doing it in old version of IE etc

EDIT: by DW's browser, do you mean the main window?

Last edited by Phixon; Jan 31st, 2008 at 12:42.
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 Jan 31st, 2008, 12:43
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,709
Blog Entries: 14
Thanks: 3
Thanked 33 Times in 31 Posts
Re: keeping nav bar on one line

no it won't, well maybe, but you can't rely on DW rendering engine to ensure your site looks right. It is simply, just plain cr@p.

Use it to code and then check in your browser as to how it looks.

you can use browsershots.org or multiple ie to check the results in old versions.
__________________
WelshStew Site Admin
If you think I've helped, click the "Thanks"
tierney rides tboard - uk site | xtreme wales - extreme clothing
WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 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
  #5  
Old Jan 31st, 2008, 12:46
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,709
Blog Entries: 14
Thanks: 3
Thanked 33 Times in 31 Posts
Re: keeping nav bar on one line

Quote:
Originally Posted by Phixon View Post
EDIT: by DW's browser, do you mean the main window?
we mean the "design view" :crazy: - if it can really be called that
__________________
WelshStew Site Admin
If you think I've helped, click the "Thanks"
tierney rides tboard - uk site | xtreme wales - extreme clothing
WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 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
  #6  
Old Jan 31st, 2008, 12:49
Phixon's Avatar
SuperMember

SuperMember
Join Date: Mar 2007
Location: UK
Age: 21
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Re: keeping nav bar on one line

Thanks for the links welsh stew, great 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
  #7  
Old Jan 31st, 2008, 12:56
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: keeping nav bar on one line

And the only "older" browsers you need to worry about is IE6.
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 Feb 1st, 2008, 07:22
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,612
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Re: keeping nav bar on one line

Quote:
Basically I was wondering if there was a way of viewing it correctly in dreamweaver
Code your cool stuff in DW, and see them through your cool browser Not the other way around!
No one in this world will open their DW and surf from there!

Cheers...
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 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
  #9  
Old Feb 3rd, 2008, 09:09
Up'n'Coming Member
Join Date: May 2007
Location: northern nsw, au
Age: 27
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Re: keeping nav bar on one line

Phixon, On the code level try putting the words that are line breaking a non-breaking space ' '.

e.g
Code: Select all
structural steelwork
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 Feb 4th, 2008, 02:49
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,612
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Re: keeping nav bar on one line

Quote:
 
Nope, that's not a good way of doing it! Use CSS

What I usually do with this kind of trouble is to solved them in 2 browser. First I code the CSS so that it looks cool in my FF browser. Then I saved the CSS setting as the default one.
After that I code the CSS again so it display cool in IE browser. Then again I saved the CSS setting (in a different css file) and perform the IE conditional statement to use the CSS setting if the user use an IE browser

You just have to play harder when dealing with the stupid IE browser
Cheers...
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 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
  #11  
Old Feb 4th, 2008, 03:13
Up'n'Coming Member
Join Date: May 2007
Location: northern nsw, au
Age: 27
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Re: keeping nav bar on one line

Why don't you give the solution instead of just saying what not to do? e.g "don't use dreamweaver", "don't use &nbsp".

I'm baffled there are so many responses to this thread without any specific solution being provided.

'Good' is relative to the users and function. How does anybody know here that Phixon doesn't live in a reality where everybody browses his websites in dreamweaver ??
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 Feb 4th, 2008, 03:59
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,612
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Re: keeping nav bar on one line

LOL... Check out a close solution here!

Quote:
Nope, that's not a good way of doing it! Use CSS
Yes, I gave the solution generally, "Use CSS"! Don't expect us to code them unless they provide some helpful code that we could refer to instead of a screen shoot!

So you think that your solution is the perfect one? LOL.
It can be but, it's not a good choice of markup. If we want to give some solution to a specific problem, we (Webforumz) will make sure that the people get the right and the best answer/solution to the question. Not just giving simple answer without any rational to support your statement/solution

... and I never say "don't use dreamweaver", "don't use &nbsp" LOL
Where did you read that? You missed the whole thing...

Don't use dreamweaver - as your testing browser!
Don't use &nbsp - there is a better way doing it in CSS and it's not a good choice of markup!

At least I gave the rational to support my statement
What is the point coding your page so it looks OK in DW? Do you think people will buy DW just so that they can surf from there instead of using a free browser such as FF? LOL

Quote:
but when i view in IE and FF its fine
By the way, this is not a problem after all What he mean to ask is only a Tips!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 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
  #13  
Old Feb 4th, 2008, 11:51
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: keeping nav bar on one line

I don't believe there is a way to view it correctly in DW. When I code, I keep the design view window open as well as the code view. I peek at my design as it goes along and I watch it develop. Most often as soon as I toss in a navigation, the design view looks a mess. I will at that time press the f12 button or the crt f12 button which opens my ff and my ie7 browsers to see what I "REALLY" have. Most of the time it looks fine.

I wish we could rely on the DW design view but unfortunately we can't!
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 Feb 4th, 2008, 12:24
Up'n'Coming Member
Join Date: May 2007
Location: northern nsw, au
Age: 27
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Re: keeping nav bar on one line

Personally I work in Zend. I don't have a viewer. But the fact remains he was asking how to get it working in Dreamweaver.

There is a tendency here that somebody says "how can I make this work in X" and people jump around going "oh, don't use X because X IS BAAAAAAAAAD". e.g on iframes, tables etc.. but there's a bridge between where one is, what is practical within the timelines etc. Its just not realistic to expect everybody to jump to the holy grail of standards from get go. Sometimes people need solutions.

And no, I was posing questions before in my previous post to simply offer an alternative view.
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 Feb 5th, 2008, 03:43
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,612
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Re: keeping nav bar on one line

Quote:
Originally Posted by Phixon View Post
Thanks for the links welsh stew, great help!
May I know what is the point to view then CORRECTLY in Dreamweaver? LOL

As a matter of fact, Phixon thinks his question has been answered! ^
If you READ again, Phixon's question is basically "HOW TO VIEW THIS IN DIFFERENT BROWSER???"

So if you happen to be a great programmer, go ahead solve this question! It will be a great professional tips for us all
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 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
  #16  
Old Feb 5th, 2008, 03:58
Up'n'Coming Member
Join Date: May 2007
Location: northern nsw, au
Age: 27
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Re: keeping nav bar on one line

Ok Mate, you are right. Congratulations. Do you feel super? You sure showed me and every other inferior developer how it really is.

  is the solution I provided already and for anybody who cares to have it display correctly in a non-css format and eliminate unwanted line breaks. It works. A tried and tested 6 character solution. It also solves it in browsers beyond Dreamweaver genius.
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 Feb 5th, 2008, 04:04
Up'n'Coming Member
Join Date: May 2007
Location: northern nsw, au
Age: 27
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Re: keeping nav bar on one line

p.s why does it matter to you why somebody wants to view it in Dreamweaver? Seems to me like you just like to show how people are less advanced than you. Veiling yourself as a helper when really you like to show how you are more sophisticated... like "I could give you the answer.. but I won't...".

I could say "the solution is people get a real life and not on the computer world" everytime somebody wanted to ask a computer issue, because my beliefs are that real world living is better than computer solutions. How stupid would I be then doing that in a computer forum? Just as stupid is it to assume the people asking questions here for help don't have a valid reason for their questions. I don't know why somebody would want to work their site in dreamweaver, all I know is that it takes little effort for me to say "put in a  " and know that it will 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
  #18  
Old Feb 5th, 2008, 04:30
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,612
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Re: keeping nav bar on one line

Simple, the answer is... We care to give QUALITY answer to all our member ...and it is not a good choice of markup and I bet every