How to start your container div tag at the very top of the page?

I'm currently making a website for a friend and I can't seem to get my web page to start at the very top of the browser window. It seems like when you create a website in dreamweaver it want's to start it with a gap at the top. How do I take the top gap out?

Best if you upload the page you're working on to the web and post a link here so we can see what you're doing.
Try adding
body {
     margin: 0;
     padding: 0;
to your CSS stylesheet.

Similar Messages

  • How do I center a container div tag in Dreamweaver?

    Hi,
    I actually asked this question about another web page but for some reason setting the margins to "auto" on this one isn't working.
    Please help. Thank you.
    http://www.laurasummers.com/

    Thanks Nancy. I appreciate this. I do have another question, though. I did try to adjust the margins in my Dreamweaver body style sheet and it didn't seem to work. Do you know why this is?
    Also, I did add this code. It worked except that the "Laura Lee Summers" and the subtle wave imagery stay in place while everything else centers. The Laura Lee Summer and the wave image is in the container div tag so I am confused.
    Try this:
    body {
    width: 960px;
    position: relative;
    margin: 0 auto; /**this centers the page on screen**/
    background: #cdffff url(lsummers_images/laurasummers_bkgd_Final.jpg) top center no-repeat;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 14px;
    color: #111;
    line-height: 1.5;
    NOTE #1: font-size in points (pt) is for print only. For web pages displayed on screens, use px, ems or %.
    NOTE #2:  The site owner's name is the most important piece of information on the page, right?  It belongs inside the markup within <h1> tags.  Instead, you have put her name in a background image which will never be recognized by Google.
    SEO LINKS
    Google's SEO Starter Guide Updated 2010
    http://googlewebmastercentral.blogspot.com/2010/09/seo-starter-guide-updated.html
    High  Rankings Advisor
    http://www.highrankings.com/newsletter/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How to import photos containing a tag from elements?

    how to import photos containing a tag from adobe elements 8?

    Tags are keywords.
    Other metadata:
    There is no way to share Faces from one system to another. Places will happen automatically if your photos have the gps co-ordinates in the Metadata. Events are populted depending on the choices you make in the iPhoto Preferences.
    Again, I'm not sure exactly what you're hoping for here, sorry.

  • How do you make a "div" tag stretch to the top, left and right?

    Hi, i'm making a professional website on dreamweaver with both codes and WYSIWYG data however i've noticed top, left and right in the CSS script for my div tags. do you know how i can "stretch" the left, right and top to make it look like one of the top div tags on one of these sites:
    http://www.neopets.com/ products div tag above the site that mentions other nick products

    Go into  http://images.neopets.com/css/default.css?v=3
    And change the width of the header from 996px to 100%.
    Gary

  • How do you in an easy way number the pages in a book your´e doing in LR4?

    How do you in an easy way number the pages in a book your´e doing in LR4?
    In Blurb´s BookSmart it´s quite easy to do it autoamtically.

    You might like to add your vote to this request - http://feedback.photoshop.com/photoshop_family/topics/lightroom_book_module_and_page_numbe ring_building_indexes_and_table_of_contents - oddly that was the only request I could fine, apart from one with a whole lot of requests.

  • How do I get a div to stay the right size and stay in the right position!

    Hi,
    I have created a blank template, created a css file and linked and now placing div's for my content. I have limited amount of knowledge with css but get by ok.
    I have one consistant problem - when creating the layout I first use a container which I need ot hold all my content. The page has a separate colour and the container stays white, I want it to hold all the content together but it keeps disappearing when I upload to web!
    other div's within the page also through out and go half way up the page. It all looks fine within the dreamweaver page!
    What I am I NOT doing?
    Any help would be appreciated.
    Thanks in advance

    Ok,thanks - the background should be white, with a 0.2 keyline around the edge of the site and the three boxes floating should be under the main content, hope this makes sense!
    http://www.newtonclarkepartnership.co.uk/new%20dw/staff_vets.html
    thanks

  • How do i put a "draft" watermark across the page?

    how do i put a "draft" watermark across the page?

    You search for the keyword "watermark" in Pages User Guide !
    You will find it in pages 17, 41, 60, 262 and 263 (in the English version).
    Yvan KOENIG (VALLAURIS, France) mardi 12 juillet 2011 22:49:14
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How do I use Firebug with a website I created? I want to see how long each thing takes to load on the page. The server is very slow.

    I have created a website/blog with Wordpress. It appears to be on a slow server because it can't be opened or takes forever to open. A representative from Wordpress told me to download Firebug to find out how long each thing takes to load on the page. I downloaded Firebug but I can't figure out how to use it. Please advise.

    OK. You've kind of skipped over the reason why you want to go back five hours, but my assumption would be that you've made changes to a Pages file that you want to revert.
    There are two ways to tackle this. From Pages itself, open the current version of your document, and from the File menu, click Revert To, and Browse All Versions. You'll then be in the Time Machine interface for that file, and can browse back to the version you want.
    Or, outside of Pages, you can select the file (or the folder it was originally in, if you've since deleted it) and enter Time Machine from the TM menu (it sounds like you've already tried this?)
    best
    Matt

  • How can I print just a part of the page and not the full page with Adobe Reader v 10.1.2?

    how can I print just a part of the page and not the full page with Adobe Reader v 10.1.2? I need to print a engineering print with lot of information but information is too small in letter size and I don't have a plotter.

    Two ways to print a portion of a page: zooming or using the Snapshot Tool.
    ZOOMING:
    Zoom into the area you want to print.
    Click the Print icon.
    Under "Pages to Print", make sure "Current view" is selected under "More options" (you may need to click "More options" to open it).
    If you aren't satisfied with the preview, try clicking "Fit" under the Size button.
    SNAPSHOT
    Choose Edit > Take A Snapshot.
    Drag a rectangle around the area you want to print. 
    Click the Print icon.
    Under "Pages to Print", make sure that "Selected Graphic" is selected under "More options".
    To enlarge the snapshot to fit the sheet of paper, choose "Fit" under the Size button.
    Hope this helps!

  • How do I add a drop shadow to the page in Muse?

    How can I apply a drop shadow to the page template in Muse? If I place a rectangle it will not change shape according to the page size. Is this a feature?

    Hello,
    You're most possibly referring to "Favicons", and they can be added in a Muse site from the "File -> Site Properties -> Layout" section. Check this screenshot: http://jingsite.businesscatalyst.com/jing/2013-09-05_2332.png
    Hope this helps.
    Cheers
    Parikshit

  • How to find out which data control do the page layout components come from?

    hi,
    work in Jdev 11.1.2.3
    After have drag and drop data control into pages designer, how to find out which data control do the page layout component (such as a field in form layout) come from?
    --i cannot find data control related information in the property pallete for the page layout component.
    Regards.

    This information can be found in the page definition file.
    Select the field in the page and then click the binding tab.

  • How do I view templates in English in the Pages program?

    How do I view templates in English in the Pages program?

    tfromgranville wrote:
    How do I view templates in English in the Pages program?
    Most templates that include sample text will have "Lorem ipsum" Latin placeholder text, formatted as such. If you really need to know what it says, translated to English, you can copy it and use a service such as Google Translate.
    Don't expect to understand much of it, as it's not meant to be informative.
    Jerry

  • How can I put a music link in the page like this?

    How can I put a music link in the page like this?
    http://members.aol.com/trumanj/midi/tjsragtime.htm
    Thanks

    Hola JB
    No, I haven't...I'm trying to learn flash and it's been keeping me very busy...maybe it's the age..
    Len, I been trying to do it that way, but, as I just mention, Flash don't like me :)
    Thanks, I will do that for sure.
    Daniel Ulysses

  • I cannot get any of the zoom functions to work, period. When Firefox starts up it begins to display the page then it stops and redisplays it. So its like it flashes on for a second then completely regoes to the site, any site. The text zooms dont work eve

    I cannot get any of the zoom functions to work, period. When Firefox starts up it begins to display the page then it stops and redisplays it. So its like it flashes on for a second then completely regoes to the site, any site. The text zooms dont work even when i try to change the font on the content tab, nothing. I have reinstalled firefox still no luck help,!!!!!
    == This happened ==
    Every time Firefox opened
    == this month ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; InfoPath.2)

    Do you have that problem when running in the Firefox SafeMode?
    [http://support.mozilla.com/en-US/kb/Safe+Mode]
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this:
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • How to make session invalid when user refresh the page?

    How to make session invalid when user refresh the page?

    I have a <form> in a JSP file that has another JSP file as an action.
    I have main.jsp that has <form> with action.jsp file as an action.
    Now when I submit the <form>, request forwarded to action.jsp and it will take the action. But this file is taking so long, hence user refresh the page again and again, hence duplicate request processing is occuring.
    I want to prevent this.

Maybe you are looking for

  • Recovery Partition Questions

    I'm trying to install windows 7 via bootcamp but the disk utility cannot partition the drive because it is fragmented. the error message says to reformat the drive. I'm ok with doing this but i have a few quesitons and want some clarity: 1) I'm fully

  • Livecache Error

    Hi, How can i solve the following livecache error.. Error DBMCLI_COMMAND_EXECUTE_ERROR when starting liveCache LC1 on server system Message no. LVC007 DBMsrv ERR_DATAFULL: data area is full installation path = d:\sapdb\lc1\db OK OK DBMServer 7.6.00  

  • Submit command

    ii have 2 fields  tanum tapos in the first screen the mark is in tanum after i enter data to tanum tapos i make submit and the mark is in tapos i want him in <b>tanum</b> like in lt11 what the solution

  • Which Application Server should I Use

    Hi All, I am learning the EJBs for the first time. I tried to search for tutorials and found a few tutorials in SUN website. For some they asked me to install weblogic server. Then in another link they are showing sun application server. Please advis

  • Is there any way to change the background colour in Photoshop Elements 8?.

    Is there any way to change the background colour in Photoshop Elements 8?  There are two options offered in General Preferences, Appearance Options - Dark Grey or Light Grey - but even the Light Grey is much darker than that in Photoshop CS2.  I woul