This is a discussion on "Align prob (padding? margin?)" within the Web Page Design section. This forum, and the thread "Align prob (padding? margin?) are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Align prob (padding? margin?)
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Align prob (padding? margin?)
Hi
okay i'm playing with CSS to make a new site. Im trying to get the background image to move down from the top of the page by around 3cm or 200px approx but i cant figure out how to do it. Can anyone help a CSS n00b. Thanks Image so you can see what i meean. ![]() http://img100.imageshack.us/img100/4571/help2wq.jpg |
|
#2
|
||||
|
||||
|
Re: Align prob (padding? margin?)
url?
__________________
Rob - Webforumz Founder I am currently NOT available for SEO consultancy work My Sites: Student Midwife Forum
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#3
|
|||
|
|||
|
Re: Align prob (padding? margin?)
no url mate its local.
code for CSS is #container { background:#f0f0f0 url(img/bodybg.jpg) repeat-x; color:#303030; margin:0; min-width:770px; padding:0; text-align:left; width:100%; } tried alsorts |
|
#4
|
||||
|
||||
|
Re: Align prob (padding? margin?)
So you want that bar to appear behind the navigation?
Could you not just put the navigation in a div and give the div a repeating backgground of that bar image? This is gonna be really hard unless you post the entire style sheet and HTML. My guess is that you've got a mixture of floats and relative and absolute positioning.
Last Blog Entry: Giving them what they paid for: A (sort of) Follow-up (Oct 15th, 2008)
|
|
#5
|
|||
|
|||
|
Re: Align prob (padding? margin?)
ok sorry i will post up my code in full.
I want to set the navigation aproxx 200px down so's that i can have a banner image at the top of the site. CSS
|
|
#6
|
||||
|
||||
|
Re: Align prob (padding? margin?)
I don't get exactly what you're trying to do. It seems like you have a 1-px-wide background image with a bar at the top, and you want the bar 3cm lower. If so, just change the graphic so the bar is 3cm lower.
|
![]() |
| Tags |
| align, prob, padding, margin |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] margin and padding in different browsers | danny322 | Web Page Design | 12 | Jan 30th, 2008 14:12 |
| [SOLVED] Padding and Margin | mcdanielnc89 | Web Page Design | 5 | Dec 25th, 2007 00:58 |
| Padding and margin for template does not work anymore | LGS | Web Page Design | 10 | Nov 30th, 2007 20:37 |
| Strange Padding/Margin | MaxCurrent | Web Page Design | 2 | Jul 24th, 2007 11:36 |
| IE prob | karloff | Web Page Design | 11 | Apr 24th, 2006 12:41 |