Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Simple HTML question


  • Please log in to reply
33 replies to this topic

#31 patbox

patbox
  • Topic Starter

  • Members
  • 456 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:10:28 PM

Posted 06 April 2009 - 09:55 PM

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) :-)

BC AdBot (Login to Remove)

 


#32 burn1337

burn1337

  • Banned
  • 311 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:01:28 PM

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 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:03:28 PM

Posted 07 April 2009 - 07:55 AM

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.

#34 aznkidzx

aznkidzx

  • Members
  • 19 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Earth
  • Local time:02:28 PM

Posted 13 May 2009 - 07:49 PM

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.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users