PC Review


Reply
Thread Tools Rate Thread

center drop down menu

 
 
=?Utf-8?B?bmlja29fODQ=?=
Guest
Posts: n/a
 
      3rd Jan 2006
I want to center my drop down menu but it doesn't align with my hyperlinks.

I am using layered tables for the drop down menu and they are positioned
absolutely so when i hover over my hyperlink it unhides the layered table.

All of this works when i have my page aligned to the left because my layers
that are positioned absolutely stay the same amout of distance for the left
and top. But when i center my page, the layers stay in the same position but
my hyperlinks move to the center.

How do i get my whole page to be centered and my layered tables to line up
with my hyperlinks?

 
Reply With Quote
 
 
 
 
Murray
Guest
Posts: n/a
 
      3rd Jan 2006
Change this -

</head>

to this -

<style type="text/css">
<!--
body { text-align:center; color:#CCC; }
#wrapper { text-align:left; width:720px; margin:0 auto;position:relative; }
-->
</style>
</head>

change this -

<body ...>

to this -

<body ...>
<div id="wrapper">

and this -

</body>

to this -

</div><!-- /wrapper -->
</body>

and see if that helps.


--
Murray
============

"nicko_84" <(E-Mail Removed)> wrote in message
news:5F9B672E-C86C-44A2-81E1-(E-Mail Removed)...
>I want to center my drop down menu but it doesn't align with my hyperlinks.
>
> I am using layered tables for the drop down menu and they are positioned
> absolutely so when i hover over my hyperlink it unhides the layered table.
>
> All of this works when i have my page aligned to the left because my
> layers
> that are positioned absolutely stay the same amout of distance for the
> left
> and top. But when i center my page, the layers stay in the same position
> but
> my hyperlinks move to the center.
>
> How do i get my whole page to be centered and my layered tables to line up
> with my hyperlinks?
>



 
Reply With Quote
 
Bob
Guest
Posts: n/a
 
      3rd Jan 2006
Glad to see your back Murray
I hope the trip was a nice one..

bob
"Murray" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
| Change this -
|
| </head>
|
| to this -
|
| <style type="text/css">
| <!--
| body { text-align:center; color:#CCC; }
| #wrapper { text-align:left; width:720px; margin:0
auto;position:relative; }
| -->
| </style>
| </head>
|
| change this -
|
| <body ...>
|
| to this -
|
| <body ...>
| <div id="wrapper">
|
| and this -
|
| </body>
|
| to this -
|
| </div><!-- /wrapper -->
| </body>
|
| and see if that helps.
|
|
| --
| Murray
| ============
|
| "nicko_84" <(E-Mail Removed)> wrote in message
| news:5F9B672E-C86C-44A2-81E1-(E-Mail Removed)...
| >I want to center my drop down menu but it doesn't align with my
hyperlinks.
| >
| > I am using layered tables for the drop down menu and they are positioned
| > absolutely so when i hover over my hyperlink it unhides the layered
table.
| >
| > All of this works when i have my page aligned to the left because my
| > layers
| > that are positioned absolutely stay the same amout of distance for the
| > left
| > and top. But when i center my page, the layers stay in the same position
| > but
| > my hyperlinks move to the center.
| >
| > How do i get my whole page to be centered and my layered tables to line
up
| > with my hyperlinks?
| >
|
|


 
Reply With Quote
 
Murray
Guest
Posts: n/a
 
      3rd Jan 2006
Yes - a much needed visit with my kids. Thanks!

Hope you had a great holiday, too!

--
Murray
============

"Bob" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Glad to see your back Murray
> I hope the trip was a nice one..
>
> bob
> "Murray" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> | Change this -
> |
> | </head>
> |
> | to this -
> |
> | <style type="text/css">
> | <!--
> | body { text-align:center; color:#CCC; }
> | #wrapper { text-align:left; width:720px; margin:0
> auto;position:relative; }
> | -->
> | </style>
> | </head>
> |
> | change this -
> |
> | <body ...>
> |
> | to this -
> |
> | <body ...>
> | <div id="wrapper">
> |
> | and this -
> |
> | </body>
> |
> | to this -
> |
> | </div><!-- /wrapper -->
> | </body>
> |
> | and see if that helps.
> |
> |
> | --
> | Murray
> | ============
> |
> | "nicko_84" <(E-Mail Removed)> wrote in message
> | news:5F9B672E-C86C-44A2-81E1-(E-Mail Removed)...
> | >I want to center my drop down menu but it doesn't align with my
> hyperlinks.
> | >
> | > I am using layered tables for the drop down menu and they are
> positioned
> | > absolutely so when i hover over my hyperlink it unhides the layered
> table.
> | >
> | > All of this works when i have my page aligned to the left because my
> | > layers
> | > that are positioned absolutely stay the same amout of distance for the
> | > left
> | > and top. But when i center my page, the layers stay in the same
> position
> | > but
> | > my hyperlinks move to the center.
> | >
> | > How do i get my whole page to be centered and my layered tables to
> line
> up
> | > with my hyperlinks?
> | >
> |
> |
>
>



 
Reply With Quote
 
Bob
Guest
Posts: n/a
 
      3rd Jan 2006
Beyond belief... The best ever!

bob
"Murray" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
| Yes - a much needed visit with my kids. Thanks!
|
| Hope you had a great holiday, too!
|
| --
| Murray
| ============
|
| "Bob" <(E-Mail Removed)> wrote in message
| news:(E-Mail Removed)...
| > Glad to see your back Murray
| > I hope the trip was a nice one..
| >
| > bob
| > "Murray" <(E-Mail Removed)> wrote in message
| > news:%(E-Mail Removed)...
| > | Change this -
| > |
| > | </head>
| > |
| > | to this -
| > |
| > | <style type="text/css">
| > | <!--
| > | body { text-align:center; color:#CCC; }
| > | #wrapper { text-align:left; width:720px; margin:0
| > auto;position:relative; }
| > | -->
| > | </style>
| > | </head>
| > |
| > | change this -
| > |
| > | <body ...>
| > |
| > | to this -
| > |
| > | <body ...>
| > | <div id="wrapper">
| > |
| > | and this -
| > |
| > | </body>
| > |
| > | to this -
| > |
| > | </div><!-- /wrapper -->
| > | </body>
| > |
| > | and see if that helps.
| > |
| > |
| > | --
| > | Murray
| > | ============
| > |
| > | "nicko_84" <(E-Mail Removed)> wrote in message
| > | news:5F9B672E-C86C-44A2-81E1-(E-Mail Removed)...
| > | >I want to center my drop down menu but it doesn't align with my
| > hyperlinks.
| > | >
| > | > I am using layered tables for the drop down menu and they are
| > positioned
| > | > absolutely so when i hover over my hyperlink it unhides the layered
| > table.
| > | >
| > | > All of this works when i have my page aligned to the left because my
| > | > layers
| > | > that are positioned absolutely stay the same amout of distance for
the
| > | > left
| > | > and top. But when i center my page, the layers stay in the same
| > position
| > | > but
| > | > my hyperlinks move to the center.
| > | >
| > | > How do i get my whole page to be centered and my layered tables to
| > line
| > up
| > | > with my hyperlinks?
| > | >
| > |
| > |
| >
| >
|
|


 
Reply With Quote
 
=?Utf-8?B?bmlja29fODQ=?=
Guest
Posts: n/a
 
      3rd Jan 2006
That code just changed my page from left aligned to right aligned. But the
positioning is aligned to the links properly. So i now can have a left
aligned page that works or a right aligned page the works.

How do i get it to the center?


"Murray" wrote:

> Change this -
>
> </head>
>
> to this -
>
> <style type="text/css">
> <!--
> body { text-align:center; color:#CCC; }
> #wrapper { text-align:left; width:720px; margin:0 auto;position:relative; }
> -->
> </style>
> </head>
>
> change this -
>
> <body ...>
>
> to this -
>
> <body ...>
> <div id="wrapper">
>
> and this -
>
> </body>
>
> to this -
>
> </div><!-- /wrapper -->
> </body>
>
> and see if that helps.
>
>
> --
> Murray
> ============
>
> "nicko_84" <(E-Mail Removed)> wrote in message
> news:5F9B672E-C86C-44A2-81E1-(E-Mail Removed)...
> >I want to center my drop down menu but it doesn't align with my hyperlinks.
> >
> > I am using layered tables for the drop down menu and they are positioned
> > absolutely so when i hover over my hyperlink it unhides the layered table.
> >
> > All of this works when i have my page aligned to the left because my
> > layers
> > that are positioned absolutely stay the same amout of distance for the
> > left
> > and top. But when i center my page, the layers stay in the same position
> > but
> > my hyperlinks move to the center.
> >
> > How do i get my whole page to be centered and my layered tables to line up
> > with my hyperlinks?
> >

>
>
>

 
Reply With Quote
 
Murray
Guest
Posts: n/a
 
      3rd Jan 2006
If you did it right you would get a page that centers. Please post a link
to your page, and I'll tell you what is wrong....

--
Murray
============

"nicko_84" <(E-Mail Removed)> wrote in message
news:6EBDABAE-BF16-4938-A5B8-(E-Mail Removed)...
> That code just changed my page from left aligned to right aligned. But the
> positioning is aligned to the links properly. So i now can have a left
> aligned page that works or a right aligned page the works.
>
> How do i get it to the center?
>
>
> "Murray" wrote:
>
>> Change this -
>>
>> </head>
>>
>> to this -
>>
>> <style type="text/css">
>> <!--
>> body { text-align:center; color:#CCC; }
>> #wrapper { text-align:left; width:720px; margin:0
>> auto;position:relative; }
>> -->
>> </style>
>> </head>
>>
>> change this -
>>
>> <body ...>
>>
>> to this -
>>
>> <body ...>
>> <div id="wrapper">
>>
>> and this -
>>
>> </body>
>>
>> to this -
>>
>> </div><!-- /wrapper -->
>> </body>
>>
>> and see if that helps.
>>
>>
>> --
>> Murray
>> ============
>>
>> "nicko_84" <(E-Mail Removed)> wrote in message
>> news:5F9B672E-C86C-44A2-81E1-(E-Mail Removed)...
>> >I want to center my drop down menu but it doesn't align with my
>> >hyperlinks.
>> >
>> > I am using layered tables for the drop down menu and they are
>> > positioned
>> > absolutely so when i hover over my hyperlink it unhides the layered
>> > table.
>> >
>> > All of this works when i have my page aligned to the left because my
>> > layers
>> > that are positioned absolutely stay the same amout of distance for the
>> > left
>> > and top. But when i center my page, the layers stay in the same
>> > position
>> > but
>> > my hyperlinks move to the center.
>> >
>> > How do i get my whole page to be centered and my layered tables to line
>> > up
>> > with my hyperlinks?
>> >

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?bmlja29fODQ=?=
Guest
Posts: n/a
 
      4th Jan 2006
i changed all my code that said:

align="left"
or
align="right"

and made them all say:

align="center"

and it worked. thanks heaps.


"Murray" wrote:

> If you did it right you would get a page that centers. Please post a link
> to your page, and I'll tell you what is wrong....
>
> --
> Murray
> ============
>
> "nicko_84" <(E-Mail Removed)> wrote in message
> news:6EBDABAE-BF16-4938-A5B8-(E-Mail Removed)...
> > That code just changed my page from left aligned to right aligned. But the
> > positioning is aligned to the links properly. So i now can have a left
> > aligned page that works or a right aligned page the works.
> >
> > How do i get it to the center?
> >
> >
> > "Murray" wrote:
> >
> >> Change this -
> >>
> >> </head>
> >>
> >> to this -
> >>
> >> <style type="text/css">
> >> <!--
> >> body { text-align:center; color:#CCC; }
> >> #wrapper { text-align:left; width:720px; margin:0
> >> auto;position:relative; }
> >> -->
> >> </style>
> >> </head>
> >>
> >> change this -
> >>
> >> <body ...>
> >>
> >> to this -
> >>
> >> <body ...>
> >> <div id="wrapper">
> >>
> >> and this -
> >>
> >> </body>
> >>
> >> to this -
> >>
> >> </div><!-- /wrapper -->
> >> </body>
> >>
> >> and see if that helps.
> >>
> >>
> >> --
> >> Murray
> >> ============
> >>
> >> "nicko_84" <(E-Mail Removed)> wrote in message
> >> news:5F9B672E-C86C-44A2-81E1-(E-Mail Removed)...
> >> >I want to center my drop down menu but it doesn't align with my
> >> >hyperlinks.
> >> >
> >> > I am using layered tables for the drop down menu and they are
> >> > positioned
> >> > absolutely so when i hover over my hyperlink it unhides the layered
> >> > table.
> >> >
> >> > All of this works when i have my page aligned to the left because my
> >> > layers
> >> > that are positioned absolutely stay the same amout of distance for the
> >> > left
> >> > and top. But when i center my page, the layers stay in the same
> >> > position
> >> > but
> >> > my hyperlinks move to the center.
> >> >
> >> > How do i get my whole page to be centered and my layered tables to line
> >> > up
> >> > with my hyperlinks?
> >> >
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
Murray
Guest
Posts: n/a
 
      4th Jan 2006
Hmmm....

--
Murray
============

"nicko_84" <(E-Mail Removed)> wrote in message
news:275C204B-3996-4C2C-B170-(E-Mail Removed)...
>i changed all my code that said:
>
> align="left"
> or
> align="right"
>
> and made them all say:
>
> align="center"
>
> and it worked. thanks heaps.
>
>
> "Murray" wrote:
>
>> If you did it right you would get a page that centers. Please post a
>> link
>> to your page, and I'll tell you what is wrong....
>>
>> --
>> Murray
>> ============
>>
>> "nicko_84" <(E-Mail Removed)> wrote in message
>> news:6EBDABAE-BF16-4938-A5B8-(E-Mail Removed)...
>> > That code just changed my page from left aligned to right aligned. But
>> > the
>> > positioning is aligned to the links properly. So i now can have a left
>> > aligned page that works or a right aligned page the works.
>> >
>> > How do i get it to the center?
>> >
>> >
>> > "Murray" wrote:
>> >
>> >> Change this -
>> >>
>> >> </head>
>> >>
>> >> to this -
>> >>
>> >> <style type="text/css">
>> >> <!--
>> >> body { text-align:center; color:#CCC; }
>> >> #wrapper { text-align:left; width:720px; margin:0
>> >> auto;position:relative; }
>> >> -->
>> >> </style>
>> >> </head>
>> >>
>> >> change this -
>> >>
>> >> <body ...>
>> >>
>> >> to this -
>> >>
>> >> <body ...>
>> >> <div id="wrapper">
>> >>
>> >> and this -
>> >>
>> >> </body>
>> >>
>> >> to this -
>> >>
>> >> </div><!-- /wrapper -->
>> >> </body>
>> >>
>> >> and see if that helps.
>> >>
>> >>
>> >> --
>> >> Murray
>> >> ============
>> >>
>> >> "nicko_84" <(E-Mail Removed)> wrote in message
>> >> news:5F9B672E-C86C-44A2-81E1-(E-Mail Removed)...
>> >> >I want to center my drop down menu but it doesn't align with my
>> >> >hyperlinks.
>> >> >
>> >> > I am using layered tables for the drop down menu and they are
>> >> > positioned
>> >> > absolutely so when i hover over my hyperlink it unhides the layered
>> >> > table.
>> >> >
>> >> > All of this works when i have my page aligned to the left because my
>> >> > layers
>> >> > that are positioned absolutely stay the same amout of distance for
>> >> > the
>> >> > left
>> >> > and top. But when i center my page, the layers stay in the same
>> >> > position
>> >> > but
>> >> > my hyperlinks move to the center.
>> >> >
>> >> > How do i get my whole page to be centered and my layered tables to
>> >> > line
>> >> > up
>> >> > with my hyperlinks?
>> >> >
>> >>
>> >>
>> >>

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filtered Drop Down Menu Based on Previous Drop Down Selection Korski Microsoft Access Form Coding 1 15th Oct 2009 05:19 PM
Drop dwn menu. Formula to count selection frm menu in anoth cell? ggoldber Microsoft Excel Worksheet Functions 1 4th Jun 2008 02:21 PM
Cross-referenced drop-down menu (nested drop-downs?) =?Utf-8?B?Y3JlYXRpdmVvcHM=?= Microsoft Excel Worksheet Functions 4 22nd Nov 2005 05:41 PM
Create a drop down menu response to link another drop down menu? Nicholas Microsoft Frontpage 0 1st Sep 2004 05:31 PM
Re: Create a drop down menu response to link another drop down menu? Don Microsoft Frontpage 0 1st Sep 2004 04:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:11 PM.