This is a discussion on "white space at top of page" within the Web Page Design section. This forum, and the thread "white space at top of page are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
white space at top of page
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Hi
I've just joined this forum. my page has been designed in Frontpage - i have done some css coding in the code view. (I know that i should use dreamweaver as alot better, i will be soon!!!) I have notice on alot of websites that their page starts right at the top, without any white space - e.g. http://www.tg007.net/ If you notice on that site, it starts right at the top, on frontpage, i have a small bit of white space at the top. I have tried this in dreamweaver but still, same issue. I am not talking about the background color. I mean that alot of people have the logo right at the top, just like tg007. Can anyone tell me how to do this please? Thank you for your time Matt |
|
|
|
|||
|
Re: white space at top of page
Get to code view and put
<style type="text/css"> html, body { margin: 0px; padding: 0px; } </style> anywhere between the <head> and </head> tags. It removes any padding or margins the document has resulting in a document that starts from the upper left corner. |
|
|||
|
Re: white space at top of page
Stressiton has the right idea except that it should be the first entry in your css file and I would use:
|
![]() |
| Tags |
| space, white, white space |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ie6 white space under div | AndrewChip | Web Page Design | 1 | Jun 11th, 2008 13:15 |
| Add white space using RegEx | Access | JavaScript Forum | 2 | Feb 8th, 2008 03:30 |
| Big white space | mikemay123 | Web Page Design | 5 | Nov 6th, 2007 00:30 |
| [SOLVED] White Space in Firefox | a1anm | Starting Out | 9 | Oct 31st, 2007 19:45 |
| [SOLVED] white-space | mcdanielnc89 | Web Page Design | 5 | Oct 8th, 2007 16:48 |