This is a discussion on "conatiner strecthing all the way to the top of the page" within the Web Page Design section. This forum, and the thread "conatiner strecthing all the way to the top of the page are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
conatiner strecthing all the way to the top of the page
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
conatiner strecthing all the way to the top of the page
Im sure this is quite a simple question but i would like to know how i can make a div strecth al the way to the top of the page so if i put a background image on the body there would be nothing above or below the main content div.
Thanks. |
|
|
|
||||
|
Re: conatiner strecthing all the way to the top of the page
Just tell your body to remove it's default padding/margin, and it'll be a good time.
body {padding:0; margin:0;} |
|
|||
|
Re: conatiner strecthing all the way to the top of the page
Thanks
|
|
|||
|
Re: conatiner strecthing all the way to the top of the page
Ive got another question: on my site: http://crewdesign.co.uk, now ive added that border, i want to make a shadow effect around the main body, how can this be achieved?
|
|
|||
|
Re: conatiner strecthing all the way to the top of the page
You will have to use a repeated image depending on the effect you are looking for. Do you have a screenshot/example of what you are trying to create.
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
|
![]() |
| Tags |
| conatiner, strecthing, top, page |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Best way to prevent access to page B except via page A? | Donny Bahama | PHP Forum | 1 | Apr 3rd, 2008 02:15 |
| Green bar of colour at bottom of page gets bigger the more page is extended | pixelgirl | Web Page Design | 1 | Apr 1st, 2008 01:27 |
| internal navigation, Linking from one page to a specific div in another page. | Oak | Web Page Design | 5 | Feb 8th, 2008 22:54 |
| Linking an outside page back to previous framed page | MJustison | Starting Out | 1 | Oct 18th, 2007 17:49 |
| A gap appears beween the Page Title and the Body Content of the page. | sovereign6 | Web Page Design | 6 | Dec 18th, 2006 19:14 |