Jump to content

qwew

Members
  • Posts

    3
  • Joined

  • Last visited

qwew's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. I fiddled around a bit more and this is what I found. body{text-align: center} This effectively places anything in the center, but for some reason when I add the following div{width: 800px} and start using the div tags in my page, they automatically left-align again. Is there any way to keep a division with a set width and center it at thesame time?
  2. I have more or less thesame problem. Something like <style>body{float:center}</style> but with syntax that actually works. Is there any way to use style sheets to center your entire page independant of what resolution is being used?Kinda like how <table align="center"> used to work.edit: Yeah that but horizontally. Is there no pretty way to code this, it seems dodgy?
×
×
  • Create New...