| |
| |
| Join The Cult | Tweakers | Image Gallery | Donate | Search | Today's Posts | Mark Forums Read | |
Welcome to Tweak3DThis is an open forum about tech stuff, games, and cars. Sign-up here to join the discussion. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | OMFG Tables Suck Donky Dick | permalink #1 |
| Senior Member | Ok i like to think i know html purtty well but i must be loosing it or something. GOAL = get image centered in screen both in height and width. how is this code producing this result? http://hafleywills.com Code: <body> <table width="100%" height="100%"><tr><td align="center" valign="middle"> [img]logo.jpg[/img] </td></tr></table> </body> | |
![]() | ||
| | ||
| | #2 |
| | |
| | |
| | permalink #2 | |
| ? | css? Code: <style type="text/css">
.wraptocenter * {
vertical-align: middle;
}
</style> | |
| | ||
| | permalink #3 | |
| Senior Member | I figured it out, i knew i wasn't loosing my mind. It's that bullshit that macromedia dreamweaver adds to the code when you create a new page. i never use dreamweaver much so i'm new to this helper bullshit Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> </body> </html> | |
| | ||
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |