...

View Full Version : Element wont change size 0.0



MrEnder
03-02-2010, 06:46 AM
Ok my menuBarContainer div wont change width or height... I've tried everything... whats stopping it?

http://opentech.durhamcollege.ca/~intn2201/brittains/labs/

Dormilich
03-02-2010, 08:03 AM
why should it change size?

MrEnder
03-02-2010, 08:05 AM
why should it change size?

it should be about 1000px as thats what its set to or heck let me set it to any size then I will be able to make it span all the way across the bar.

Dormilich
03-02-2010, 08:45 AM
my menuBarContainer div

you are aware that this element is a <span> and not a <div>? thus, as an inline element, you can’t apply a width.


10.3.1 Inline, non-replaced elements

The 'width' property does not apply. A computed value of 'auto' for 'margin-left' or 'margin-right' becomes a used value of '0'.

MrEnder
03-02-2010, 08:53 AM
damn >< I forgot about that ><



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum