removing whitespace

This is a discussion on "removing whitespace" within the Web Page Design section. This forum, and the thread "removing whitespace are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 1st, 2006, 03:25
New Member
Join Date: Sep 2006
Location: California
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
removing whitespace

I wish to put a banner all the way in the upper left hand corner with no whitespace on the left side or on top of it. How do i do that in html or xhtml? Or do i need to use something else like css? I've tried setting hspace and vspace to zero but i still see some white space left. Thank you.
Reply With Quote

  #2 (permalink)  
Old Sep 1st, 2006, 11:59
minute44's Avatar
Moderator
Join Date: Apr 2006
Location: Nottingham UK
Age: 24
Posts: 1,347
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to minute44
Re: removing whitespace

Do it with CSS

Code: Select all
body {
    margin: 0px;
}

#header {
    float: left;
    margin: 0px;
}
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
Reply With Quote
  #3 (permalink)  
Old Sep 1st, 2006, 14:16
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,761
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: removing whitespace

Also add padding:0;. Some browsers handle the two differently.

so

padding:0;
margin:0;

and on 0 values no px, em etc is required. Save some ascii =P
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #4 (permalink)  
Old Sep 1st, 2006, 14:23
minute44's Avatar
Moderator
Join Date: Apr 2006
Location: Nottingham UK
Age: 24
Posts: 1,347
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to minute44
Re: removing whitespace

oh yeah oops
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
Reply With Quote
Reply

Tags
removing, whitespace

Thread Tools

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 On

Similar Threads
Thread Thread Starter Forum Replies Last Post
whitespace alexgeek PHP Forum 11 Sep 23rd, 2007 20:02
Removing objects in an array breepupetstofight ASP.NET Forum 0 Sep 17th, 2007 13:00
help on removing element using yui shotokan99 JavaScript Forum 1 Aug 31st, 2007 13:42
Removing + from PHP GET sanctumsolitude PHP Forum 1 Jun 23rd, 2007 02:49
store whitespace but not interpret it in <br> ktsirig PHP Forum 2 Apr 13th, 2006 18:46


All times are GMT. The time now is 09:18.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43