HighDots Forums  

Nav Bar Question

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Nav Bar Question in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Skaterstu
 
Posts: n/a

Default Nav Bar Question - 10-26-2005 , 07:39 AM






I have managed to put a pop up menu into my Nav Div (770px wide), however the
pop up menu is aligned to the left of the Nav DIV. Is there any way of getting
it more central? Ideally I would like there to be a space of 175px before the
pop up menu is displayed. I have tried changing some of the CSS code in an
attempt to move the pop up menu, but nothing seems to be working. Please can
someone help me out here?

Cheers

Stuart


Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Nav Bar Question - 10-26-2005 , 07:48 AM






I guessed at your code but all I could come up with was -

<b>Hello</b>

Can you help me out?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Skaterstu" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I have managed to put a pop up menu into my Nav Div (770px wide), however
the
pop up menu is aligned to the left of the Nav DIV. Is there any way of
getting
it more central? Ideally I would like there to be a space of 175px before
the
pop up menu is displayed. I have tried changing some of the CSS code in
an
attempt to move the pop up menu, but nothing seems to be working. Please
can
someone help me out here?

Cheers

Stuart




Reply With Quote
  #3  
Old   
Skaterstu
 
Posts: n/a

Default Re: Nav Bar Question - 10-26-2005 , 08:14 AM



Hi All,

Sorted the above problem out after having a look at W3Schools website... used
the left padding, which is strange as I am sure thats what I did before and it
didn't work. Oh well.

I now have another problem. Firefox and Netscape display what I have done so
far exactly as planned, however when I look at the website in IE6 it is all
over the place. For a start the horizontal menu is displayed vertically, and
also for some reason the banner above seems to have been extended by about
200px with a white background (the banner color is blue). Does anyone know how
I can correct these problems so that IE6 displays my web pages as normal?

Cheers

Stuart


Reply With Quote
  #4  
Old   
Alper Bulu?
 
Posts: n/a

Default Re: Nav Bar Question - 10-26-2005 , 08:23 AM



Setting up your NAV div's "padding-left" property to 175px using css is gonna
solve your problem. (I guess)

For Instance;
<!--Nav Div Starts-->
<div style="padding-left:175px">Your Menu</div>
<!--Nav Div Ends-->


Reply With Quote
  #5  
Old   
Alper Bulu?
 
Posts: n/a

Default Re: Nav Bar Question - 10-26-2005 , 08:43 AM



Mozilla & IE have different box models. It's possible padding property to mess
your site up while you view it in IE. Instead of using padding try to put your
"Menu" another div inside the NAV DIV and give some margins to div that you
newly added.


Reply With Quote
  #6  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Nav Bar Question - 10-26-2005 , 08:46 AM



Quote:
Mozilla & IE have different box models.
Not in standards mode.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Alper Bulu?" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Mozilla & IE have different box models. It's possible padding property to
mess
your site up while you view it in IE. Instead of using padding try to put
your
"Menu" another div inside the NAV DIV and give some margins to div that
you
newly added.




Reply With Quote
  #7  
Old   
Skaterstu
 
Posts: n/a

Default Re: Nav Bar Question - 10-26-2005 , 08:49 AM



Thanks Alper... do you know what is going wrong with IE6? Is this a bug or do you know if its something I am doing wrong? I assume its a bug as Firefox and Netscape display perfectly.


Reply With Quote
  #8  
Old   
Skaterstu
 
Posts: n/a

Default Re: Nav Bar Question - 10-26-2005 , 08:52 AM



ooopps didn't realised that you had replied to me. I'll look into this. Thanks very much mate.

Reply With Quote
  #9  
Old   
Alper Bulu?
 
Posts: n/a

Default Re: Nav Bar Question - 10-26-2005 , 08:56 AM



It's not a bug as I wrote above.

Reply With Quote
  #10  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Nav Bar Question - 10-26-2005 , 09:40 AM



Not on pages with valid and complete doctypes, however.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Alper Bulu?" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
It's not a bug as I wrote above.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.