Problem of position CSS Logo

Hello

I recently worked on a web project. In the project, I have a css file that is suppose to position the image of the logo.

This is the css code:

/ * LOGO * /.

#logo {}
Width: 830px;
height: 90px;
margin: 0 auto;
margin-top: 10px;
margin left: 200px;
background: url(images/img04.jpg) no-repeat left top;
}

Margin-top down the logo and the left margin moves the logo into alignment. The problem is that when I check the

page on the different sizes of screen left margin makes the logo image to automatically move to the middle of the page.

Rather than stay in the position you want.

If anyone can help.

Thank you.

Very difficult to know what needs this poster. First, they say they want the logo to the left so I said delete margin: 0 auto; in the css as it was then. 200px left margin appears now... hummmm

Tags: Dreamweaver

Similar Questions

  • Problem with positioning of 2 elements

    Hello world

    I have a little problem with positioning in Muse. In my head, I added a logo and buttons, in 2 different elements

    But when I move them into Muse, and then I watch online the result, it's totally different. For example, if there are 50 px between my logo and my buttons in Muse, online, there are less than 20.
    You have a solution?

    Thank you and sorry for my English

    François

    Try to group them and then get a glimpse. Let me know if this helps.

    - Abhishek Maurya

  • Positioning CSS questions

    I'm in the beginnings of the creation of my first 'real' site. (In other words, my first site that can actually do something) And I put all my skills to the test. I'm begin by nailing to the bottom of my page/design layout, so I'll switch to programming. I have some problems with positioning/formatting CSS in Internet Explorer.

    Here's the url: http://lwrussell.com/new_site/

    So far, I've been able to determine all questions that raised between these two browsers except these two problems:

    In Internet Explorer, you will notice that the right hand navigation seems cut upward while it looks perfect in Firefox. Any ideas on this one?
    Also, the content area of the body/is placed to the right 10 + pixels in IE where it is in FF.

    Any help?

    Thank you guys! I really appreciate it!
    Luke

    The page looks the same in IE7/FF2x.

    > IE and FF deal differently with some padding and margins

    No, they don't. At least not in the standard mode. What IE 6 does, however,
    of doubling the margin on a floating when the float element and the margin
    are on the same side. Difficulty on this page by adding-

    Display: inline;

    the rule of #content.

    Why are you using the

    Tag?

    In any case, if you remove your items #ntred and #nbred, you will see the
    Navigation-don't know what they're doing, or why they are there.

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    ==================

    "grammarg" wrote in message
    News:ffbsda$E8R$1@forums. Macromedia.com...
    > IE and FF deal differently with some padding and margins. Maybe start by
    > Reset the default settings? Try this link and you can Google for similar
    > things
    > if this seems to fix the problem.
    >
    > http://www.clagnut.com/blog/1287/
    >

  • Problem activation of CSS styles

    Hello
    I'm just getting started with ice and so far it seems that this will be a nice way to let some customers to edit their own content without "breaking" the design. However, I'm running a problem activating the CSS styles.

    My site is a php site and I use includes for the top of the page, stylesheet, etc. on each page. Dreamweaver, think, therefore, there is no style sheet linked to the page because the link is contained in understand it.

    Is it possible to implement the styles in a style sheet included in an include file is recognized by the ice?

    Ellie

    I figured out what to do...

    The first thing was to put the link in the header of the include file and add:

    Ice: class = "" * "for the link CSS settings."

    The second thing I did was to change the definition of the styles of

    Element.Class {style} .class {style}

    I'm guessing that the ice cannot see that general classes and not the classes that apply to specific items. An example is that in my original CSS file, I had

    IMG.hilight_img {border :...}

    When I chose the IMG I wanted to apply the style to in ice, without styles available appears. However when I changed my CSS definition:

    .hilight_img {border :...}

    Then was able to apply the style to my image in Ice I noted, however, that the ICE has not added the class "hilight_img" in the IMG tag. Instead, it creates a span around the image and applied to that class. Not ideal, but the result has worked.

    Ellie

  • Positioning CSS or DW problem?

    I have problems with CSS positioning after spending several hours of reading and trial and error.  I'm starting to think that Dreamweaver is broken, and thoughts of reloading cross my mind.

    My desire is to have a background image "beneath" my page wrap div, essentially as a border surrounding it.  I posted this image of 'background' as relative position and therefore my wrap div page as absolute positioning.  The wrap of the page was given a background color and a line of text to allow me to 'see' where I am to get the correct positioning. I think that the background color of the page div wrap "show" but it is not. (?)

    I placed my palette, as we'll call it, with margins, while he was trying to put my envelope of page using the top, right, bottom and left through the CSS dialog box.  What are the values used, the div is in the lower left corner of the browser window and refuses to move.

    #palette {}
    background: url(images/pallete.png) no-repeat;
    Width: 1200px;
    height: 1400px.
    margin: 100px auto;
    position: relative;
    }

    #page wrap {}
    position: absolute;
    background: #C06;
    height: 1100px;
    Width: 960px;
    top: 100px;
    right:-120px;
    }

    It got so that the changes I've made to the CSS at this stage will not trigger even a refresh of the Panel styles CSS?  What gives?

    Thank you.

    I've never used "Live Code" before and could set more #page for my taste, but it's an approximate position, so to speak, I can only approximate its center within #palette.  I started thinking that I have the success, until I go to the browser view, where the #page position seems to pass.

    You try to use HTML as a word processor, and it's the absolute wrong approach (no pun intended)!

    Location of the item an absolute positioning is calculated based on the location of its nearest positioned ANCESTOR.  An "ancestor" is a container element, not an adjacent element (which would be a 'brother').  So, if you want to than your element to absolute positioning out of the location of a relatively positioned element, it must be a child (or descendant) of this relatively positioned element.  In other words, to make #page work against #palette, he must be inside #palette.

    If there are alternatives to ensure the positioning other than my current method, I would be interested to learn about it.  I'm not aware of the disadvantages mentioned with using this type of positioning, could you give some details please?

    There is an excellent alternative without using the positioning at all - it is called "best practices".   The disadvantages of using absolute positioning for all are:

    1. because the absolute position elements are removed from the flow of code on the page, they are immune to travel in other parts of page not positioned due to changes in browser window size or screen text size changes.

    2. because #1 is the case, and given that display text size changes can cause the container to change height, if this container is positioned absolutely, its text content may overlap other content to the screen.  More positioned in absolute terms of containers of text the worse this effect becomes quickly, producing a unusable, overlapping mess.

    3 in absolute position items on the screen regardless of where the items appear in the code, and as a result, it is entirely possible to have two parts of the text which are meaningful semantic when taken as a unit separated by a bit of code, or other pieces of text.  Thus, pages built with absolute positioning text containers are usually not semantically sensitive, which means that they would not succeed well when it is run by a system of assistance of the screen.

    4. in view of all these things, the pages that contain elements of balance and frequently positioned elements go wandering as width of the viewport is changed.

    As a result, the method most likely to be chosen by an inexperienced user due to its apparent simplicity is also the absolute worst possible approach to the construction of the page.

    Oh, by the way, the values of positioning below were obtained through 'slide' div = page in position.  I wouldn't rather Code Live, but taken into concrete values in the future.

    The approach of processing in action!  The only way to make the connection of concrete values is to have a provision already laid down on paper before you start.

    Tell more about how you want your page to look at (I don't know what you mean exactly on centering #page #palette 'up', but if you mean "before" then consider this -

    This is my page

    (Note that I deleted all the positioning, as well as all heights - of Villa is a bad idea to declare explicit heights on elements that contain text, once again because of possible overflow issues)

  • Problem of tag CSS Position

    Search page

    I have some problems with the text of subnavigation in the link above. On my global.css file, there is a style statement for:

    #masthead ul ul {position: absolute; left: 30px; width: 755px; height: 26px; margin: 0; display: none; float: left ;}}

    I know that the position should be relative, but I can't understand what is broken or what I need to do to fix. The second element would be how to make the text of sub - nav be justified to the right so that clicking on the tab 'Entertainment' would have the sub - nav text remain beneath her and not completely above the left side.

    I know there are also other issues, but these two have got completely stoopified.

    Thank you

    Add position: relative to the style for #masthead rule.

  • CSS Dropdown menu, problems of positioning in IE7

    I created a drop down list using CSS to style links. It appears correctly in Firefox, but level sup links are positioned to the right of the parent link rather than directly below when seen in IE7. For example when I hover over 'News', the drop-down menu the auto position to the right of the 'News' link

    Website: http://sbfl.tmp50.haisoft.net/

    CSS: http://sbfl.tmp50.haisoft.net/templates/sbfl_homepage/css/nav.css

    Thanks for your help.
    Sean

    "seanish" wrote in message
    News:gmv23j$ML1$1@forums. Macromedia.com...
    > I created a drop down list using CSS to style links. He
    > is
    > display well in Firefox, but level sup links are positioned to
    > the
    > law of the mother rather the link directly below seen in IE7.
    > For
    > example when I hover over 'News', the fall down positioned its self to the
    > right
    > the 'News' link
    >
    > Web site: http://sbfl.tmp50.haisoft.net/
    >
    > CSS: http://sbfl.tmp50.haisoft.net/templates/sbfl_homepage/css/nav.css
    >
    > Thanks for your help.

    Try this:

    #mainlevel ul {clear: left ;}}

    --
    Thierry | Adobe Community Expert. Articles and tutorials:
    http://www.TJKDesign.com/go/?0

    Widgets Spry | http://labs.Adobe.com/technologies/Spry/samples/ [click on]
    'Widgets']
    Samples of the Spry menu bar |
    http://labs.Adobe.com/technologies/Spry/samples/menubar/MenuBarSample.html
    --

  • Problem with styles Css does not display mode live view or when I browse

    I use Mac OS x 10.6 and construction Web site with Dreamweaver CS5.  I sometimes create div tags no styles or rendering mode display live view or when I browse but showing in design mode. I looked in dreamwever faq and they speak not no projection in Design view to toggle the display styles. This isn't the problem because it is checked, and I tried to turn on and off and made no difference. I use the firefox browser.


    It happened before the other day too. But all my other pages of this website that I created in the same way the construction with DIV tags and css styles So, not sure what is the problem. Maybe someone has a suggestion here.


    Johanna

    http://johannabresnahan.com/CSS/jbstyles.CSS

    {Line 420 is missing a closing brace} for the rest of the style sheet is either misinterpreted, including rules #mm1thumb and #mm2thumb.

    #footer {}
    background-color: #263f64;
    Clear: both;
    float: left;
    height: 150px;
    Width: 881px;
    position: relative;
    do-family: "Lucida Sans Unicode", "Lucida Grande", without serif.
    do-size: 9pt;
    make-style: normal;
    line-height: 9pt;
    make-weight: normal;
    do-variant: normal;
    text-transform: none;
    color: #FFF;
    text-decoration: none;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    text-indent: 525px;
    } / * THIS CLOSING BRACE IS MISSING * /.

  • Problem of position of ComboBox Lable

    Hello!

    I use Flex 4 and a MX ComboBox because I can set the number of lines.

    Problem is, using fonts Lucida, the text is badly positioned vertically, as shown in the picture.

    How can I fix this please?

    combobox.jpg

    The drop-down list box has a property 'leader' for the message box and the drop-down list box. It increases a bit (using css styling) and see if it works.

  • Problems of positioning in IE7

    I have one last question that I grew up at the end of my last post so I fugured, I would like to start a new. Everything on my index page is now looking how I want it except for the date of my block in the upper right corner. In IE 7 it is pushed down completely but its fine on everything else. I can't point out the problem and the Im out of ideas to try. My page is here and my code for my blocks date containing a div and css are lower than

    < div id = "topdiv" >
    "< a href ="index.html"> < img src =" images/logo.gif"alt ="Chalkboard Publishing Inc."class ="border"border ="0"/ > < /a > < img src =" images/toppic.png "alt ="together"class ="border"/ >

    <! - block date - >

    < div class = "outerbox" style = "float: right" >
    < div class = "datebox" > < br / >

    < script language = "Javascript" type = "text/javascript" >
    document. Write (MonthName [monthnum])
    < /script >
    < / div >
    < div class = "monthbox" >


    < script language = "Javascript" type = "text/javascript" >
    document. Write (Day)
    < /script >
    < / div > < img src = "images/table - bottom.gif" alt = "bottom" / >
    < / div >

    <! - end block Date - >

    ..........................................................

    ...............................................................

    < / div > <! - end topdiv - >

    {.outerbox}
    padding: 0px;
    Width: 120px;
    overflow: hidden;
    margin: 0px;
    Police-weight: 900;
    }

    {.datebox}
    font-size: 18pt;
    color: #fff;
    text-align: center;
    background-image: url (.. /images/Chalkboard-Top.gif);
    / * border-bottom: 1px #00aaaa solid;
    border-top: 1px #00aaaa solid;
    border-left: 1px #00aaaa solid;
    border-right: 00aaaa # 1px solid; * /
    Width: 120px;
    height: 60px banner;
    do-family: Comic without MS.
    }

    {.monthbox}
    font-size: 40pt;
    color: #fff;
    background-color: #00aaaa;
    text-align: center;
    height: 60px banner;
    do-family: Comic without MS.
    background-image: url (.. /images/Chalkboard-Mid.gif);
    Width: 120px;

    }

    I think, you can not Inline styles (images) followed by a float.  That's why I moved first, the floating element that worked.

    Conversely too, would be to give the 2 images a float: left rule and then let the float: right for date field...

    In both cases, I still think that you need to resize one of the images by up to 10px.  You can even get away with. 5px, 10px was easier to test :-)

    May I also point out that the page loads very slowly, you can optimize the images one a little more to make them faster loading.

    It is the result of the page through the web optimizer:

    IMAGES_SIZE - WARNING! The total size of your images is 340845 bytes, which is over 100K. Consider spending graphic formats to reach sizes of smaller files (from JPEG to PNG, for example). Finally, replace by CSS techniques for computer graphics techniques create spacing, backgrounds and colorful borders.

    You can do the test yourself at:

    http://www.websiteoptimization.com/services/analyze/

    or is it an a tool available through the web development for Firefox toolbar:

    Web Developer Toolbar

    http://chrispederick.com/work/Web-Developer/

    Hope this helps all :-)

  • Problem of position relative text object

    Hello

    I have a problem by specifying the relative position of the object using DIAdem scripts.

    I try to use the RelPosLst variable to set the position of the text relative to the 'right '. However, when I run the script, I always get "Center" as the relative text position. The following code example:

    Call GraphObjNew ("FreeText", "Text3")

    Call GraphObjOpen ("Text3")

    TxtPosX = 14.7

    TxtPosY = 57

    TxtBold = True

    TxtTxt = "Site:"& Site.

    TxtFont = "Arial".

    TxtSize = 4

    RelPosLst = 'Right '.

    Call GraphObjClose ("Text3")

    I'm doing something wrong?

    Thank you

    Egor

    Hi Egor,

    the RelPosLst variable is only the variable in the list of positions, you must use the TxtRelPos variable in your code.

    Tip: If you want to get all the variables dialog box, open it and press on "Strg + a". With this, you copy all (scriptable) variables of the dialog box to the Clipboard and you can paste it in your VBScript. It's much easier to find the help file.

    In the code:

    Call GraphObjNew ("FreeText", "Text3")
    Call GraphObjOpen ("Text3")
    TxtPosX = 14.7
    TxtPosY = 57
    TxtBold = True
    TxtTxt = "Site:"& Site.
    TxtFont = "Arial".
    TxtSize = 4
    TxtRelPos = 'right '.
    Call GraphObjClose ("Text3")
    Call PicUpdate

    Sven cordially

  • Problem starting, after Windows logo instead of home, I get a message saying please wait

    I have windows 7... When I start it after that the windows instead of WELCOME logo comes here PLEASE WAIT...

    I tried too many system repair, but it shows that a portable music player is connected so can't fix but I don't have a portable music player...

    information system - WINDOWS 7 ULTIMATE, RAM 4 GB, MONITOR LG SCREEM, HARD DRIVE - 320 GB...

    Try the last known good configuration:

    Remove all floppy disks, CDs and DVDs from your computer and restart your computer by clicking on the button start , by clicking on the arrow next to the button stop , then clicking on restart.

    1. Do one of the following:
    2. If your computer has a single operating system installed, press and hold the F8 key as your computer restarts. You need to press F8 before the Windows logo appears. If the Windows logo appears, you need to try again by stopping and restarting your computer.

    If your computer has more than one operating system, use the arrow keys to select the operating system you want to start, and then press F8.

    In the Advanced Boot Options screen, use the arrow keys to select last known good Configuration (Advanced), and then press ENTER.

    1. If your computer has multiple operating systems installed, use the arrow keys to select the operating system that you want to start using the last good known Configuration, and then press ENTER. Windows will then resume starting normally.

    Source: http://windows.microsoft.com/en-US/windows7/Using-Last-Known-Good-Configuration

    If this fails to solve your problem, disconnect everything except keyboard, mouse and monitor and then tries to start.

  • Position Left Logo in the browser

    logo_placement.jpg

    Can anyone help? I want to place a logo which is positioned (not pinned) to the left of the browser, not the page. I don't want the logo which will be pinned/fixed, I want to scroll the page, but be positioned far to the left in the browser. See attachment.

    1. place the logo on the left of your "canvas" (a red line appears when you touch the border).

    1 pin the object as shown (if you wish).

    2 stretch your browserwide of the page by clicking on the double arrows.

  • Problem of position simple html page footer

    I have set up a HTML with conventional markers for container, header, etc., but I am unable to set the position of the foot of page which is under 3 vertical placeholders - I can float the box to the right, beyond the boundaries of the container, but otherwise it is by default on the left beyond the boundaries of the container.  What rules should I use to position the space in the center of the width of the container - none of the rule definitions CSS3 Dreamweaver seems to work as I expect.

    Placement under the 3 vertical placeholders is the cause of the problem, but whatever it is, can someone provide me with instructions for a fix.

    HTML CODE: -.

    < div id = ' end ' > for more information, please send your request for information: - < a href = "mailto: " [email protected] "> e-mail information.» < /a >

    < p align = "center" > Copyright xxxxxxxxxx. All rights reserved < /p >

    < / div >

    CSS3: -.

    #end {}

    Width: 968px;

    height: 50px;

    background-color: #CCC;

    text-align: center;

    Word-spacing: normal;

    do-size: 12px;

    position: relative;

    }

    Not sure I exactly understand the context of the question, but try this.

    #end {}

    Width: 968px;

    height: 50px;

    background-color: #CCC;

    text-align: center;

    do-size: 12px;

    Auto margin: 0;

    }

  • Problem with positioning

    I have been troubled by the fact that I can't place my slideshow and the div that contains in the right place, for some reason beyond my comprehension. The slideshow section is pushed down below, where infact it should be to the right of three buttons. This problem does not occur when I use Chrome or Firefox (except if I use a doctype) and it occurs when I use IE. I spent ages through my code looking for the source of the error and use the validator w3 to no success. My site is the link below:

    http://www.gcsebusiness.com/

    Any help would be greatly appreiciated.

    Thank you

    Tom.

    See what happens when you change your css selector by its exact name (note the capital letter 'L' on the left). In your css, you have a small 'l '.

    {#SlideAreaLeft}
    height: 300px;
    Width: 300px;
    float: left;
    }

    A selector incorrect name may have a big consequence.

Maybe you are looking for

  • I lost my bookmarks toolbar and can't find a way to get it back

    I accidentally closed my toolbar line tha's my favorites in there and I can't figure out how to get back. I've removed Mozilla and re-uploaded, but it came the same way.

  • Satellite A200 - how to get the sound on the TV?

    Hello Im trying to set up my laptop through the TV so I can watch videos via my TV, I have the part well display using an S-video cable but I do not know how to switch the sound of the TV/Surround Sound System. Someone can give me a guide or helps to

  • Connection network C7280 problem

    Hi, I changed my dsl provider to Comcast to ATT (also new router).  Printer, which worked fine, now does not connect again router.  New network appears, but after several attempts, Printer Setup Wizard indicates that it could not get a connection.  I

  • a driver has been installed on my computer

    This driver has caused my event viewer, restore the system and other various things to stop the labor that would help me to look at the history of my computer.  I think I knew what it is but I can't or don't know how to uninstall it and everything ba

  • OdiStartLoadPlan Doesnt save values

    Hi, I try to use the 'OdiStartLoadPlan' API tool in the package and looks like when I get home values that seems not to save. For Ex: I did drag the "OdiStartLoadPlan" tool in the package diagram Panel then enter values in the Properties window, when