Dreamweaver Club Forums

Dreamweaver Club Forums (http://www.dreamweaverclub.com/forum//index.php)
-   Spry (http://www.dreamweaverclub.com/forum//forumdisplay.php?f=189)
-   -   Why does this happend (http://www.dreamweaverclub.com/forum//showthread.php?t=42741)

moviemastersdk 03-30-2012 11:21 AM

Why does this happend
I've created a spry menu bar, which looks GREAT in the design view

but as soon as i go into live view
it shifts about 20px or so to the right

Heres the code

        list-style-type: none;
        font-size: 22px;
        cursor: default;
        font-family: 'Bangers', cursive;
        color: #FFF;
        width: 750;
        height: 30px;
        float: left;
        margin-left: 74px;
        margin-bottom: 0px;
        margin-top: 8px;
        padding: -1px;

the div tag containing it, has no margin or padding, but is aligned to the center
can someone tell me why ?

gentleone 03-30-2012 03:24 PM

fix the width value... it misses a unit... px in your case. Also a negative padding value (-1px) is not allowed and it doesn't make sense either.

moviemastersdk 03-31-2012 10:23 AM

sometimes, you forget the simplest things in life...

and i really dont know why i thought -1px padding would fix it :D

thanks for the BIG help :)

All times are GMT. The time now is 11:29 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com