logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Spry
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 03-30-2012, 11:21 AM   #1
moviemastersdk
 
Join Date: Dec 2011
Posts: 33
Default 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
Code:
ul.MenuBarHorizontal
{
	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 ?
moviemastersdk is offline   Reply With Quote
Old 03-30-2012, 03:24 PM   #2
gentleone
gentleone's Avatar
 
Join Date: Nov 2009
Location: Rhodes, Greece
Posts: 2,837
Default

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.
__________________
www.gentlemedia.nl
gentleone is offline   Reply With Quote
Old 03-31-2012, 10:23 AM   #3
moviemastersdk
 
Join Date: Dec 2011
Posts: 33
Default

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

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

thanks for the BIG help
moviemastersdk is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:29 AM.


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