Welcome visitor
* Login
* Register
It is currently May 19th, 2019, 10:33 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 5 posts ] 
Author Message
  remove gap
PostPosted: May 30th, 2009, 1:16 am 

Posts: 57
Hi there,

What i want to do is use a top header on the top of my site but i dont want to have the gap that it automatically has on the left side and also from the top. Is it possible to remove it?

Thanks in advanced for any help.


Top
 Profile  
 
  Re: remove gap
PostPosted: May 30th, 2009, 5:30 am 
User avatar

Posts: 137
    <style type="text/css">
    *{margin: 0px; padding:0px}
    </style>


Top
 Profile  
 
  Re: remove gap
PostPosted: May 30th, 2009, 5:34 am 

Posts: 57
thanks, but is it possible to leave the margins and just put the banner on that corner?


Top
 Profile  
 
  Re: remove gap
PostPosted: May 30th, 2009, 5:37 am 
User avatar

Posts: 137
yes you can but it will mess your code a little. try this and you see what i mean

add this to the object's tag
style="position: absolute; top: 0px; left: 0px"


Top
 Profile  
 
  Re: remove gap
PostPosted: May 30th, 2009, 5:41 am 

Posts: 57
thanks anyways.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron