登录 | 注册 | FAQ
Anonymous

Items on page will not move!

+ 发表回复

4 篇帖子 分页: 1 / 1


Items on page will not move!

SteveH » 周一 3月 16, 2015 5:24 am

Hello

I have a test site here: http://www.tomorrowswomenwirral.org/_test.html

I am happy with the placement of the date, menu, logo, etc, but I am trying to move the sliding banner, the 'aim' of the charity (Our aim is to help prevent...), and those three drop-down lists (News, Donate, Timetable) to the right of the page (about 100px from the right margin).

The sliding banner is governed by

<div id="intro">
<div id="slides">
<div class="slides_container">

and so, in my CSS, I have given each of them right margins of 100px, but the sliding banner and its image holder refuses to move! It is the same with the two classes 'holder_content1' and 'group1', that govern the text aim (Our aim is to help prevent...). Again, I have given 'holder_content1' and 'group1' right margins of 100px but that, too, does not work!

Finally, the three drop-down lists (News, Donate, Timetable). I have given '#timetable ul {' and '#timetable ul li {' each right margins of 100px, but again they will not move to the right.

What is preventing these three items, the sliding images, the text 'aim', and the drop-down lists from moving to the right, and how can I correct it, please?

Thank you.
头像

SteveH

  • 帖子: 40
  • 注册: 周一 2月 03, 2014 7:32 pm

Re: Items on page will not move!

nanoverso » 周一 3月 16, 2015 8:37 pm

Try changing #content margin: auto to margin: auto 100px auto auto;
头像

nanoverso

  • 帖子: 253
  • 注册: 周六 5月 10, 2014 12:08 am
  • 地址: Brazil
--
Free VST Plugins Download.

Re: Items on page will not move!

SteveH » 周一 3月 16, 2015 9:58 pm

Hello nanoverso

Do you mean like this in the women_test.css style sheet:

#content {
width: 900px;
margin: auto 100px auto auto;
/*margin: 0 0 20px 20px;*/
/*margin-top: 0px;*/
/*margin-right:100px;*/
/*margin-bottom:20px;*/
/*margin-left:20px;*/
float: right;
}

I have done that and uploaded it to my server, but there is no difference unfortunately.

Thanks for your reply.

Steve
头像

SteveH

  • 帖子: 40
  • 注册: 周一 2月 03, 2014 7:32 pm

Re: Items on page will not move!

XainPro » 周六 3月 28, 2015 7:42 am

add margin to the left so they will move to the right ;)
头像

XainPro

  • 帖子: 3933
  • 注册: 周五 2月 17, 2012 8:10 pm


+ 发表回复

分页: 1 / 1