...

View Full Version : Whats happening



babycam
02-19-2005, 06:48 AM
http://www.finser.com.au/_mda/build_1.html

Hi new to CSS as the source code will show. 1st CSS site. So having some issues...

My #nav and #centre donít seem to align to the centre of the browser in IE.

Also ive made some horizontal buttons which are meant to sit inside the #nav but they seem to have some funny spacing between them... I played around with margin and border to no avail.

So now the coloured bits on top of the buttons donít line up anymore with this button spacing thing. Also IE is ignoring the height...

All the CSS & html is in the page source....

Actually my attempts at structure here will probably entertain most of you to no end...


Any pointers her will be a big help...
cam

whizard
02-19-2005, 02:17 PM
Also ive made some horizontal buttons which are meant to sit inside the #nav but they seem to have some funny spacing between them... I played around with margin and border to no avail.

If you mean the white lines between the gray <a> boxes, that is becasue of this line in your CSS:


a.menu{
width :115px;
height: 30px;
text-align : left;
font-family: Verdana;
font-size : 9pt;
color : white;
text-decoration : none;
background-color :#666666;
padding: 10px 0 0 5px;
border: solid 1px white;
margin: 0px;

This is fixed by resetting "solid 1px white" to "solid 0px white", or by removing the line. (I'm not sure if this is your problem)

Also, don't use absolute positioning for your layout. set them to relative, from inside a wrapper div that is absolutely positioned. This could be why the colors aren't lining up.

Dan



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum