Jdavey4
Joined: 25 Mar 2008
Posts: 2
|
| Posted: Tue Mar 25, 2008 11:25 pm Auto adjusting the webpage to the resolution size of viewers |
|
|
Hey, first post woo !
Not exactly what section this was meant to be posted in :S :S :S
I'd like to adjust my page so that the background / web page's size is automatically changed to the person who is viewing the page (ie they don't need to scroll across because the resolution has been adjusted to their size).
Can anyone help?
Below is a sample code i use for MySpace.
Basically the photo in there is at a 1280 x 960 resolution which causes the whole apperance of the page to be stuffed up on a lot of computers.
</a></div><style type="text/css"> table, tr, td{ background-color:transparent; } table table table, table table table td{ background-color:transparent;} body{ background-color:000000; background-image:url(http://i156.photobucket.com/albums/t19/Jdavey4/Abstract-rainbow2.jpg); background-position:Top Center; background-attachment:fixed; background-repeat:no-repeat; } table table table table, table table table td{ background-image:none; background-color:transparent; } body, div, p, strong, td, .text, .blacktext10, .blacktext12, a.searchlinkSmall, a.searchlinkSmall:link, a.searchlinkSmall:visited{ color: FFFFFF; font-size:10pt; font-weight:bold; text-decoration: ; font-style: ; font-family:, verdana, arial, sans-serif; } a, a:link, a:visited, a.navbar, a.navbar:link, a.navbar:visited, a.man, a.man:link, a.man:visited, a.redlink, a.redlink:visited{ color: FFFFFF; font-size:10pt; font-weight:bold; text-decoration: ; font-style: ; font-family:, verdana, arial, sans-serif; } a:hover, a:active, a.navbar:hover, a.navbar:active, a.man:hover, a.man:active, a.searchlinkSmall:hover, a.searchlinkSmall:active, a.redlink:hover, a.redlink:hover{ color:ffffff; font-size:10pt; font-weight:bold; text-decoration: ; font-style: ; font-family:, verdana, arial, sans-serif; } .orangetext15, .lightbluetext8, .whitetext12, .nametext, .btext, .redtext, .redbtext{ color: FFFFFF; font-size:10pt; font-weight:bold; text-decoration: ; font-style: ; font-family:, verdana, arial, sans-serif; } table table table, div table table{ background-color:; background-image:url(http://c.myspace.com/Groups/00007/99/15/7775199_m.gif); background-position:Center Center; background-attachment:scroll; background-repeat:repeat; border-color:ffffff; border-style:Groove; border-width:3px; } table table table table, table table table td{ border-style:none; }
Thanks, Jackson |
|