Now, I cant preview in any browsers right now (work) except netscape 4.7 and IE 5.5 ... But when previewing in IE, I get these gaps in between my columns! They should line up properly with them totaling 100% width..
If you want the rest, just view the source on the page..
WHY are these gaps there and HOW do I make them go away? I'd hate to start using tables again... {grin}
The code is below...
CDXRevVveD
<style type="text/css">
body {
background-color: silver
}
basically a bar, 100% width, about 30 pixels tall, at the bottom of the page.. (after the 3 columns on the test page).. so far the only way I know to do it would limit the height of my 3 columns..
I just want a footer at the end of the 3 columns, going all the way across, bout 30 pixls tall or so...
I wouldnt think it would be so difficult.. at least with tables it wasnt..
my only prob is its at the top of the page.... how do i make it the last element on the page.. I know the three columns in the middle with ALWAYS be of varying height, so I cant just say put the footer 30 pixels from the bottom, or can i?
If you want the rest, just view the source on the page..
Ok did that and the first line caught my eye to begin with
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
Where did you find that code?
It should be
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
or preferably
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
After that you should also add a charencoding to your page and default script and style language, leaving us with something like
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Style-Type" content="text/css">
Now we can rip out that proprietary crapcode you just added (marginheight="0" marginwidth="0" leftmargin="0" topmargin="0") as well as the 3 bogus meta declarations you use now.
Once you completed these steps you will have a valid base to stand on to which you can add your CSS to.
Originally posted by cdxrevvved my only prob is its at the top of the page.... how do i make it the last element on the page.. I know the three columns in the middle with ALWAYS be of varying height, so I cant just say put the footer 30 pixels from the bottom, or can i?
Yes, you can put them at the end, but you need to remake the entire CSS layout to not rely on positioned elements for it's main content.
I'll help you with that if you like when after you fix the other problems.
The doctype came from using a wysiwyg css editor, layoutmaster or something.. its a companion prog to stylemaster.. just downloaded that last nite to try it out
Originally posted by cdxrevvved Ok.. so i changed the doctype , dropped the body margin, etc, now everything has the gaps again.... so how would I do it?
Bookmarks