BleepingComputer.com: Simple HTML question

Jump to content

  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

Simple HTML question Vertical middle of a page?

#31 User is offline   patbox 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 456
  • Joined: 06-February 09
  • Gender:Male

Posted 06 April 2009 - 09:55 PM

View PostKamakaZ, on Apr 7 2009, 03:59 AM, said:

i would learn div, is very handy!
Definition: Here


Seems useful. Damn, so many things to learn. I am already learning a. java script and b. css now. And now I need to learn XHTML as well. :thumbsup:
Message from Patbox: I AM LOOKING FOR A GIRLFRIEND (PM if interested) :-)

#32 User is offline   burn1337 

  • Forum Regular
  • Find Topics
  • Group: Banned
  • Posts: 311
  • Joined: 07-March 09
  • Gender:Male

Posted 07 April 2009 - 04:14 AM

It isn't the easiest thing to do web design... Though anyone of course can do it, but it isn't simple, and it isn't exactly quick either..

#33 User is offline   groovicus 

  • Hail Groovicus!
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 9,605
  • Joined: 05-June 04
  • Gender:Male
  • Location:Centerville, SD

Posted 07 April 2009 - 07:55 AM

Quote

And now I need to learn XHTML as well.
HTML is simply a subset of XHTML (actually, a union might be a better description). The 'X' stands for 'extended', which just means some additional functionality. If one chooses to use XHTML, then one will have be much more careful to do things like making sure attribute and element names are in lower case, placing attribute values in quotes, etc. In otherwords, if you have been doing things correctly all along, you will never notice any difference.

Besides, nobody is forcing you to 'learn' anything.
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens

#34 User is offline   aznkidzx 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 19
  • Joined: 01-January 09
  • Gender:Male
  • Location:Earth

Posted 13 May 2009 - 07:49 PM

Quote

Thanks, I tested it. It does not seem to work. This is what I did:

<body style="margin-top:50%; margin-bottom:50%;">
<center>
hello
</center>
</body>


And it gave me a long vertical slide bar, and the text was off the screen, I had to scroll down. Check that out.




Well it won't work because its supposed to be:
<div style="margin-top:50%; margin-bottom:50%;">


or you can just use
<div align="center">


OR
<center.


Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users