Jack_mcs Posted March 21, 2004 Share Posted March 21, 2004 In the default stylesheet.css file there is BODY { background: #ffffff; color: #000000; margin: 0px; } and then in the index.php file there is <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> Isn't the margin attributes in the second one (top, bottom, left & right) just duplicating what's in the first one (margin:)? They cause validation errors so I want to remove them but am hesitant to do since I am not sure what other problems it may cause. Also, does anyone know what I would place in the css file to replace the marginheight and marginwidth attributes? Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 23, 2004 Author Share Posted March 23, 2004 Does anyone have an idea on the proper usage for this? Is it just bad code or is there a reason for it? Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.