PDA

View Full Version : background images


dreamlynx
07-06-2005, 02:30 AM
okay here's one.

I created a table and made the height 100% so i can have the background image in the table always go all the way through the screen. It looks fine in dreamweaver but when i get to the browser it shrinks very small. what do i do to fix this

ranjan
07-06-2005, 10:05 AM
height is not (never was) a valid HTML attribute. Since W3C standards do not have a specification for height, each browser has its own unique way of handling this attribute. Hence avoid this attribute especially % based heights

Try this css for a quick and dirty solution

html, body {
height: 100%;
}
table#whateverid {
height:100%;
}

dreamlynx
07-06-2005, 11:57 PM
thats what i thought. Thanks i thought i was losing it