•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 422,560 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,594 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 711 | Replies: 1
![]() |
try
You need all three, because different browsers have different default styles for both body and div. Apply these styles to both the body tag and the div inside. If you need padding inside the div tag, nest another div inside it and put the padding style there.
Also the name for this is vertical-align: top; And vertical align doesn't always work right if padding is in the same object's style.
{margin: none; border: none; padding: none;}Also the name for this is vertical-align: top; And vertical align doesn't always work right if padding is in the same object's style.
Daylight-saving time uses more gasoline
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- I cracked the top 100 (Geeks' Lounge)
- How do I change the Taskbar from the top to the bottom of the screen? (Windows NT / 2000 / XP / 2003)
- Keeping Python window "on top" of others (Python)
- Calling Different Iframes in Page (JavaScript / DHTML / AJAX)
- Range of records in Top clause (MS SQL)
- How to use 'top' using Python (Python)
- Always on top Frame (Java)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Javascript: drag problem
- Next Thread: Drop down menu with images



Linear Mode