AJpicture - Can't get theme.tpl to fill the full height of the screen
wht_thorn
Joined: 2006-12-14
Posts: 18 |
![]() |
|||
I've got a normal php file that I've got looking close to how I want and am trying to convert a gallery theme to look the same (Yes I know the problems with width and have a plan for those). However, when I try to make the main center div of the site extend to the bottom of the screen I can't get it to. The center div always ends after the last of the content. Any help would be appreciated. You can get the source to the pages from the attachment or at: For the style sheet I'm using: #sitecenter
|
||||
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
|||
You can simply embed gallery in your php page. -s |
||||
wht_thorn
Joined: 2006-12-14
Posts: 18 |
![]() |
|||
Aha. This should make the whole process a lot easier I think. |
||||
wht_thorn
Joined: 2006-12-14
Posts: 18 |
![]() |
|||
Ok, I thought that would be a good idea anyway because it would enable me to visually embed the site and limit the changes to the template. However, I've still got the same problem when embedding. My site for some reason can't extend the center div all the way to the bottom of the screen. |
||||
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
|||
html, body, #sitecenter { height:100%; }
-s |
||||
wht_thorn
Joined: 2006-12-14
Posts: 18 |
![]() |
|||
New update: I'm getting different results in IE. IE seems to be stretching the page right, but changing the fonts of the embedded gallery funny. Chrome and Firefox do not stretch the page appropriately. |
||||
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
|||
wht_thorn
Joined: 2006-12-14
Posts: 18 |
![]() |
|||
Ok, my bad. It appears that the code I was getting from the templates and from the embedding generator had broken <html> tags the way I was doing them. I fixed the <html> tag and now its embedded. Next step is to fix the font. Thanks for the help! |
||||