HTML Quickie
- Started
- Last post
- 11 Responses
- usrper
this is stupid. happens everytime. can someone tell me why the whole thing isint valign="middle"???
- UndoUndo0
you should use css, but you have no height defined so the table will shrink to fit and therefore wont be the height of the screen
- rockonski0
i've wondered the same thing.
can't you do it with some padding instead?
- UndoUndo0
wrap the table with a div and add a css style sheet to the page:
html,body{
height: 100%;
}
div {
height: 100%;
}
- rockonski0
undoundo, how did you learn CSS? do you have any greta web resources?
- ********0
http://www.csscreator.com/css-fo…
http://www.meyerweb.com/eric/css…
just a few links... also there are some very helpful people on here too ;)
- rockonski0
thanks mx!
- ********0
there's heaps more where they came from too...only now I need to go and sample some whisky for taking over to the "in-laws"...
- UndoUndo0
trial and error really and sneaking at other peeps code. MX's links look really good. i found http://www.csszengarden.com really useful too
- F_180
also, check your DTD and make sure its XHTML 1.0 transitional.
- usrper0
thanks. letme checkem
- UndoUndo0
one point to remember is the 'box model' which is different between mozilla and IE. can be a real pain in the arse and basically means that padding and margins are different across the two browsers.
put it into goooogle and you'll get a much better description