Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> MASAKRA - Tabela albo Div na 100% wyskości strony
hab
post
Post #1





Grupa: Zarejestrowani
Postów: 50
Pomógł: 0
Dołączył: 23.11.2004

Ostrzeżenie: (0%)
-----


Witam

Nie żebym był poczatkujący w HTML ale BŁAAAAGAM walcze od 2 godzin z tym.

Jak zrobic zeby tabelka albo div rozciagniety byl na 100% wysokosci strony bez wzgledu na to co w tym divie czy tabelce sie znajduje.

Malo tego musi byc wycentrowane w poziomie (tabelka nie ma problemu ale div (IMG:style_emoticons/default/questionmark.gif) (IMG:style_emoticons/default/exclamation.gif) )

Blagam pomocy

Bo zaraz monitor przez okno poleci ;]

pozdr
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
mad/
post
Post #2





Grupa: Zarejestrowani
Postów: 21
Pomógł: 0
Dołączył: 7.10.2009

Ostrzeżenie: (0%)
-----


Osobiście polecam:
  1. body
  2. {
  3. position: relative;
  4. }
  5. div#wrapper
  6. {
  7. position: absolute;
  8. top: 8px;
  9. bottom: 8px;
  10. }

[xml]
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" dir="ltr">
<head>
<title>&lt;tytuł&gt;</title>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=&quot;utf-8&quot;"/>
</head>
<body>
<div id="wrapper">
(...)
</div>
</body>
</html>
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 17.10.2025 - 10:23