dumb css question
- Started
- Last post
- 31 Responses
- hiten
http://www.bypeterandpauls.com/j…
so im making that site...for some reason I cant get the site to scale 100% fit the content..as you can se on that page the footer which should be straight across the bottom is pushed up I've tried 100% height tags on all the column and main container it doesnt seem to do anything...anyone can give me some help?
- hiten0
if you click the trust link in the subnav you can see what i want all the pages to look like but i did that by adding so many < br /> to the right column...i dont want to have to do that.
- determinedmoth0
You could set the white and background as one back ground image.
- UndoUndo0
html, body{
height:100%;
width:100%;}
- hiten0
the body, html height thing didnt work :(
- craic_whore0
#maincontainer {
width: 700px;
background-color: #FFFFFF;
border-right-width: 7px;
border-left-width: 7px;
border-right-style: solid;
border-left-style: solid;
border-right-color: #FFFFFF;
border-left-color: #FFFFFF;
border-bottom-width: 7px;
border-bottom-style: solid;
border-bottom-color: #FFFFFF;
height: auto;
}
- hiten0
didnt work :(
- who0
Do you work with Dreamweaver?
If yes drop from code the upper part of code, above()
- who0
...above html tag
this part
(!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loos...
- who0
...above html tag
this part
(!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loos...
- hiten0
that worked but now it wont validate?
- who0
No it's ok...
If you make the html at notpad the code will be like that...
:)
- hiten0
huh?
- hiten0
sorry i didnt understadn that i thought i was smarter then this :(
- who0
If you write the html code at the Notepad, the html will be without this part that you deleted... So... you won’t have Dreamweaver validation problem, nobody will know that you did your html at Dreamweaver and not at Notepad...
- UndoUndo0
html validates on both pages
- instantok0
try adding
clear: right
to the left column css
- hiten0
well the dreamweaver validation isnt a problem its the W3C validation thing it comes up with no doctype found.
- craic_whore0
check yer mail
- who0
well the dreamweaver validation isnt a problem its the W3C validation thing it comes up with no doctype found.
hiten
(Nov 25 05, 07:13)
--------------------
Sorry I didn’t understand(blushing)
- UndoUndo0
my last post had a w3c validation link? what are you validating? which page?