| | |
Can't get rid of space at top of web page...
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Apr 2008
Posts: 30
Reputation:
Solved Threads: 0
I have a very simple webpage using css. For some odd reason there is about a 20px space at the top of my page. I have no idea where this is coming from! Any ideas?
Here is the page that is causing me grief:
http://www.laudontech.com/exhibitfloorplans/test5.php5
http://www.laudontech.com/exhibitflo...s/demomaps.css
Thanks in advance,
Mapper
Here is the page that is causing me grief:
http://www.laudontech.com/exhibitfloorplans/test5.php5
http://www.laudontech.com/exhibitflo...s/demomaps.css
Thanks in advance,
Mapper
•
•
Join Date: May 2009
Posts: 25
Reputation:
Solved Threads: 0
css Syntax (Toggle Plain Text)
body { text-align:center; font-family: Georgia, Serif; background: #000000; margin:0px; }
i think this can help u
Last edited by peter_budo; May 7th, 2009 at 5:17 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
order is important in css
in some of the styles you set result a group of applied 5px will soon add to the 'missing' amount
in some of the styles you set
css Syntax (Toggle Plain Text)
margin-top:0; margin:5px;
margin-top:5px; in other styles you correctly zero the top margin css Syntax (Toggle Plain Text)
margin:5px; margin-top:0;
Last edited by almostbob; May 5th, 2009 at 9:12 am.
Failure is not an option It's included free
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
•
•
Join Date: May 2009
Posts: 10
Reputation:
Solved Threads: 2
make sure there are no in your code that will create a space if in the wrong place
Printed Lanyards at Lanyardpass.co.uk
![]() |
Similar Threads
- Design your pages for accessibility (HTML and CSS)
- Pictures appear as red x's (Web Browsers)
Other Threads in the HTML and CSS Forum
- Previous Thread: Rounded Corners Dropdown
- Next Thread: Using sprites in lists
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






