How can I put a div at the top of the page with a background color? No white space

I'm trying to put an orange bar all at the top of a page and which also spans the entire width of the page, regardless of the size of the page.

With the code below the orange bar appears, but there is a space between the top of the browser and the orange bar.

< div style = "background-color: #f79321;" height: 30; width: auto; "> < p > < / p > < / div >

How can I get rid of that white space? I tried to adjust the margin and filling to 0px, but that did not work.

That particular space is caused by the default of the

tag in your

. You can either start the
content by something other than

, as
, or remove the margin/padding of the

{p}

margin: 0;

padding: 0;

}

Tags: Dreamweaver

Similar Questions

  • I tried to tap three fingers on the trackpad to find the definition of a word in an article.  It did not work.  How can I put a definition of the word in an article published in El Capitan?

    I tried to tap three fingers on the trackpad to find the definition of a word in an article.  It did not work.  How can I put a definition of the word in an article published in El Capitan?  I googled this question and he said to three fingers on the trackpad, of the band which is what I tried without success.

    carolfromknoxville wrote:

    I tried to tap three fingers on the trackpad to find the definition of a word in an article.  It did not work.  How can I put a definition of the word in an article published in El Capitan?  I googled this question and he said to three fingers on the trackpad, of the band which is what I tried without success.

    Highlight the word, right-click on it and select "search... "with the white line that represents all that is the word.  It will pull up from the definition in the dictionary.

  • I often get frequent blue screens on internet sites. Blue screen too fast for me to record specific error message. How can I put an end to the blue screen to get the error message?

    frequent blue screens often to internet sites.  Blue screen too fast for me to record specific error message.  How can I put an end to the blue screen to get the error message?

    en blue screen too fast for me to record specific error message.  How can I put an end to the blue screen to get the error message?

    If your computer is restarted when the BSOD appears, then you must change the by default for what to do in case of system error. It is easy to do, but takes a lot of mouse clicks to get there:

    Start | Control Panel | System | Advanced system settings (need for credentials for the administrator to spend here |) Advanced | Startup and recovery / settings.

    On this screen, uncheck the box under system failure that says automatically restart. The next time the BSOD appears, your computer will not do anything else until you press the reset button, so you'll have all the time you need to read and copy the error codes. Paste here, verbatim, and someone should be able to point in the right direction.

    ``````~~~~`````

    In the control panel choose reports on problems and Solutions (problem of type in the START search box), go to historical problem, right-click your error and choose check for the Solution. You can also examine the details.

    In administrative tools, choose the reliability and performance monitor and click on MonitoringTools then the reliability monitor (type reliability in research on Start). This list is a chart of the software installs, uninstalls, updated Windows and crashes by date. See if your plant has started to happen after you installed or uninstalled something.

    It may be useful to eliminate equipment defects

    Type of memory in the search box of start and choose Memory diagnosis

    In a command prompt (type command in the start search box then right click and choose Run as administrator) type

    CHKDSK c: /r

    If you have more than one drive replace C: with the other drive letters.

    Search for corrupted files by typing at the command prompt

    sfc/scannow

    You can clean boot troubleshooting http://support.microsoft.com/kb/331796

  • How can I put my name at the bottom of my outgoing mail?

    Original title: Hot Mail

    How can I put my name at the bottom of my outgoing mail without entering each time?

    Hi Lance,.

    Are you facing issue while using the account Hotmail on Mail app?

    You must change the options to add outgoing signature is automatically sends in the settings of the program by e-mail.

    If you use the Mail application in Windows 8, you can see the article to change the settings for Mail app to use email signatures.

    Settings that apply to all accounts

    If you try to edit while using Hotmail like webmail, you must change the parameters into account Hotmail itself.

    You can check the thread and check:

    How can I add an AutoSignature to a Hotmail address?

    You must post your query in the Forums Windows Live itself.

    Windows Essentials Forums

    Hope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.

  • How can I put no one above the letters just like a magazine cover?

    How can I put no one above the letters just like a magazine cover?

    I think you want which is informally referred to as a "sandwiched"image. " Here's a tutorial:

    https://InDesignSecrets.com/image-sandwich-putting-image-front-text.php

  • How can I put a shadow on the letters

    How can I put a shadow on the letters

    Nice day!

    Could you please post a screenshot with the Panel visible layers?

    If you are talking about a text layer:

    Layer > layer Style > drop shadow

    If the letters should cast a shadow on a background,

    Layer > layer Style > inner shadow

    If the shadow should be in letters.

    Kind regards

    Pfaffenbichler

  • How can I put a Logo in the registry browser?

    Hey guys, does anyone know, how can I put a Logo in the register of browser? For example, look at this picture below; I would like a Logo as the Logo of Facebook, but I don't know how I can do this. The blue mark is my site.

    Is this possible with Adobe Muse?

    Thank you.

    Logo_Browser.JPG

    Hope this helps

    David

  • How can I create a profile of the camera with camera raw?

    Hello

    How can I create a profile of the camera with camera raw without x-rite or any other third party software?

    I have a color checker, with a different shade of colors gray and different

    I remember on a script or something like that

    I have a lot of google, but without luck

    can I create my camera raw profile using a corrector of color with photoshop acr?

    I don't know, but this should be the script http://Simon.Tindemans.EU/tools/AcrCalibrator , non ?

    but I don't know how to use it

    Is there a tutorial? Perhaps a video to create a profile with camera raw

    Thank you

    Greetings

    Hello, I think you are looking https://www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5Fdngprofileeditor

    Here is a PDF from adobe on this subject: http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/photoshop/pdfs/cs6/ DNGProfile_EditorDocumentation.pdf

    And an article: http://www.luminous-landscape.com/reviews/accessories/dng-profiles.shtml

  • How can I put my taskbar on the bottom of my screen as attached on top?

    How can I put my task bar which is usually on the bottom of the screen back issue now, is at the top of the screen?

    Right-click on an empty space on the taskbar, click lock the taskbar , uncheck the box, drag the taskbar to return to the bottom of the screnn and release. Right-click on an empty space in the taskbar as before and click on lock the taskbar.

    I hope this helps.

  • How can I put my picture in the order dates and different folders?

    * Original title: Photos

    Two questions:

    How can I put my photos in chronological order?

    How to put photos in different folders?

    Thank you very much!!!

    Thanks for posting your questions about Microsoft Community.
    To help you better could you please clarify a number of things like:
    1. you try to change the default location where your pictures are saved?
    2. you are trying to run out of your pictures in cronological order?
    3. you try this in Windows live Photo Gallery or Photo Live Tile or file Explorer app (for example the folder my pictures)?

    4. you try to export photos from any external hard drive?

     
    However, I suggest that you do the following if you want to sort by Group by and reorganize by elements in the Windows Explorer 8:
     
    To set the view for column ' sort by ' for items in a folder or library in the file Explorer
     
    1. in the file Explorer, open a folder or library that you want to sort the items in a column in and do step 2 or 3 below.
    2 click/tap on the view tab, click on/tap on sort by in the Ribbon, select (dot) retail (ex: name) you want to sort items by and then go to step 4 below. (see screenshot below)
    3. right click or press on and hold on an empty area in the open folder or library, click/click on sort by, select the detail you want articles to be sorted by and proceed to step 4 below.
    NOTE: If you wish, you may click/click on more to add more options.
    4. If you want to sort the items in ascending or descending order, you can do step 4a or 4B below.
    NOTE: Ascending is the default setting.
    (A) click/click on the column name in the bar of the column until the name ascending or descending by name how you want.
    (B) repeat step 2 or 3 above and select Ascending or descending.
    5. If you wish, you can also do OPTION TWO, THREE or FOUR below for further match the elements in this point of view if you wish.
     
    To set the column view "group by" items in a folder or library in the file Explorer
     
    1. in the file Explorer, open a folder or library that you want to group the items in a column in and do step 2 or 3 below.
    2 click/tap on the view tab, click on/tap group by in the Ribbon, select (dot) retail (ex: Type) you want items to be grouped by and go to step 4 below.
    3. right click or press on and hold on an empty area in the open folder or library, click/click on group, select the detail you want articles to be grouped by and go to step 4 below.
    4. If you want to sort the items in ascending or descending order, you can do step 4a or 4B below.
    (A) click / tap on the column name in the column bar until the name of the ascendant: ascendant views: size: or descending name: views: size: set how you want.
    (B) repeat step 2 or 3 above and select Ascending or descending.
    5. If you wish, you can also make ONE OPTION, THREE or FOUR for further match the elements in this point of view if you wish.
     
     
    Also if you are interested by adding metadata to your images (as when and where it was broken, etc) Please take a look at this link:

    http://answers.Microsoft.com/en-us/Windows/wiki/windows_8-pictures/edit-metadata-and-tag-photos-in-Windows-8/9e1a7bd9-977b-4ECA-8fa7-0f61368d896c
     
    Please get back to us with the required information, and we would be happy to help you.
     
    Kind regards.
  • How can I put my homepage like the new tab page, which shows my pages recently opened a thumbnails?

    I love the thumbnails that open to the top of my pages recently opened in a new tab. I put my home page to view these thumbnails when I start firefox? Thank you

    You set the number of rows and columns that appear on the on: newtab page by changing these prefs on the topic: config page via double click.

    • Browser.newtabpage.Columns (3)
    • Browser.newtabpage.Rows (3)

    Alternatively, you can use this extension:

  • How can I put css style inside the body?

    I built a widget for Adobe Muse that the css needs to be in the body.

    Catalyst for business strength the latter in place within the head tag.

    How can I avoid this?

    BC will push things in your head, you say that it isn't now? It is the opposite of what you said in your first post. IF you're going to paste things like this in the content of the BC body moves it. IF you want to do things properly code should enter the models.

    IF you want CSS inline elements do you not inline CSS stylesheets.

  • How can I start a letter in the pages

    How can I start a letter in pages using documents faxed on the opening page

    Double-click the template of your choice, and then replace the sample text with your own text.

  • How can I remove a child from the scene with a click of a button?

    I have a movieclip which requires playback buttons, Pause, forward and backward. The movieclip has actionscript to different images to load the library movieclips and repeat.

    I tried to use a progress bar, but it does not raise the actionscript during purification, only when the film plays normally.

    My solution is to create your and button back which can go up to specific frames where the key animation will start.

    I need to develop the actionscript code that will remove the children when the user clicks Back.

    That's how I'm loading movieclips several along the timeline of my library:

    var shpA1:arSHPp1;

    function attachAR1 () {}

    shpA1 = new arSHPp1 ();

    shpA1.x = - 30;

    shpA1.y = 18;

    addChild (shpA1);

    }

    the interval is used to repeat the animation to represent the stream on a diagram

    var myInterval1:uint = setInterval (attachAR1, 500);



    What I've tried so far (does not at all - no error or trace):

    function remChild1(event:MouseEvent): void {}

    If (shpA1.stage)

    {

    trace ("arSHPp1 is in the display list");

    shpA1.parent.removeChild (shpA1);

    shpA1 = null

    }

    on the other

    {

    trace ("arSHPp1 is not in the display list");

    }

    var removeTimer;

    clearInterval (myInterval1);

    shpA1.parent.removeChild (shpA1);

  • How can I add a program to the "open with" dialog box?

    I tried to "change program" and then passed to the program but it does not appear in the box or associate with the file extension?

    Hello

    These should help:

    How to add a program to 'Open with' in Vista and Windows 7
    http://www.Vistax64.com/tutorials/126340-open-add-program.html

    How to add any Application in the Windows desktop right-click Menu
    http://www.howtogeek.com/HOWTO/Windows-Vista/add-any-application-to-the-desktop-right-click-menu-in-Vista/

    Record the programs with the open with dialog box
    http://WindowsXP.MVPs.org/openwithadd.htm

    I hope this helps.

Maybe you are looking for