height= "100%"
- Started
- Last post
- 29 Responses
- ********0
that is why i never use tables anymore for such things! grrr.....bleh.
However, that is not a very constructive remark....
I will look at it and see what is possible with div and css for your situation (which I always use in xhtml)
- ********0
add this to your css:
#contentwrapper {
background-image: url(tablebg.gif);
height: 100%;
width: 576px;
background-color: #C2C5C8;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
}
- ********0
whoa......all the text i wrote after that dissappeared....
ok____again:
add this to your body:
[div id=''contentwrapper'']
remove align=''center'' cuz that will work counterproductive in some browsers when used with CSS...
I tested it on NS6 mac osx and now it all worked...100% ;)
you need to test it on pc tho...
- digitalspiri0
yo,
make a wrapper div for your content, set your left and top positions (absolute) to 50%, then make your left margin negative half of your div width and your top margin negative half of your div height...i.e. if your div is 600x200px, left margin would be -300px and top margin would be -100px...this should work pretty well in up-to-date CSS browsers...
dS
- ********0
digital, i used auto for left and right margins...100% for height in wrapper div__
see a couple of posts earlier...
- Epictive0
Wow, thanks so much to all for their help. Means a lot.
-A
- kpl0
really quicky:
height is not in the html 4.0 specs. so, for it to work, you need to not have a doctype in your html file so the browser will render it in "quirks" mode.
- ********0
go for xhtml
not that hard_
- sauceruney0
I love 0 height