Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [CSS] Wyśrodkowanie tekstu
Lion_87
post
Post #1





Grupa: Zarejestrowani
Postów: 850
Pomógł: 120
Dołączył: 15.02.2007
Skąd: Łódź

Ostrzeżenie: (10%)
X----


Witam.

Mam problem bo nie mogę wyśrodkować tekstu. Chodzi mi o tą cześć na samym dole. Lewa strona jest na górze a prawa na dole. Ja chciałbym aby byly oba te teksty buły na środku.

(IMG:http://img338.imageshack.us/img338/9324/screenhunter01dec011131gj3.jpg)

A tak w plikach:
  1. <div id=\"mydol\">
  2. <div id=\"mydol1\">
  3. <?
  4. ...
  5. ?>
  6. </div>
  7. <div id=\"mydol2\"><p align=\'center'>
  8. <b><font color=red>MY</font>mes = <?
  9. ...
  10. ?>
  11. </div>
  12. </div>


Kod
#mydol {
    clear: both;
        width: 700px;
    height: 25px;
    margin-left: auto;
    margin-right: auto;
  }
  
#mydol1 {
  background: transparent url(redprofil/tlo/mydol01.png) 0 0 no-repeat;
  width: 340px;
  height: 25px;
  float: left;
  }
  
#mydol2 {
  background: transparent url(redprofil/tlo/mydol02.png) 0 0 no-repeat;
  width: 360px;
  height: 25px;
  float: right;
  }


W jaki sposób wyśrodkować ten tekst?

Ten post edytował Lion_87 1.12.2008, 12:06:26
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: 23.08.2025 - 15:23