Thread: Frame center
Results 1 to 6 of 6
Related
-
One pixel off in IE - center div Forum: CSS Forum
Replies: 1 -
How do you center images? Forum: HTML Forum
Replies: 4 -
Frame Help, Form completes in a different frame Forum: HTML Forum
Replies: 1
-
05-23-2005, 04:20 PM #1
Frame center
how do i center something so its not only centered width wise but also height wise?
like if i have a frame with nothing else on the page
i want that frame to be in the exact middle of the page
-
05-24-2005, 07:17 AM #2
Re: Frame center
what are you talking about here a form like in the middle or do you want the webpage really in frames, id have to get some more details to help you here i need more specfics or to see a web page your working on
-
05-24-2005, 05:00 PM #3
Re: Frame center
wut i mean is
you know how u can center the stuff inside of a table with <TR VALIGN=MIDDLE>
well i want to center the actual frame in the middle of the page both horizontally and verticallyLast edited by Darksushi; 05-24-2005 at 05:04 PM. Reason: fixing typos
-
05-25-2005, 01:13 AM #4
Re: Frame center
here:
Code:<table border="0" width="100%"> <td height="1000" align="center" valign="middle"><table width="60"><td>hello</td></table></td> </table>
-
05-25-2005, 04:02 PM #5
Re: Frame center
thats not exactly what im looking for
that will center it on the page, but people might have different size viewing areas due to extra toolbars on the top, etc
what i want is if someone is has a viewing area of 1000 pixels high on their browser and another person has a 800 pixel high viewing area on a different browser, they both see the page exactly centered
the problem im running into is when i use ur code
is the <td height> which would need to be adjusted depending on how large the veiwing area is for that person
is there any equivalence of width="100%" for height?
{edit}
heres a site that does this
gotwoot.net
even if u add or remove toolbars, use different browsers, and such
it stays centered verticallyLast edited by Darksushi; 05-25-2005 at 04:29 PM. Reason: Adding example
-
05-25-2005, 05:32 PM #6
Re: Frame center
oh, that is a quick fix:
Code:<table border="0" height=100% width="100%"> <td align="center" valign="middle"><table width="60"><td>hello</td></table></td> </table>