basic HTML question?
How do I get text to be in the centre of the webpage and how would I get text to appear beside an image as oppose to underneath it
also how can I get a background colour for the webpage?
Thanks
Public Comments
- <center> Note spelling though!
- background colour is <body bgcolor = "lightblue"> to be in the centre use the keyword <center> to position text / images accurately and neatly place them in cells in a table
- <h1 align="center">Text here.</h1> <p><float="right">Text here.</p> (not completely sure about this...) hope this helps
- <center> puts text in the center.
- <center> and <body bgcolor=''color''>
- Well Two answers are given in above answers such as background color of the page and put the text in the center. To adjust text with your image, use the align attribute of the image tag. Saif Ullah
- There are many ways of doing the lining up thing. There are two main ones for the back ground you're best using the #006535 etc method than colour names. The codes are 'much' faster to load. Sorry, I can't remember the best way to get text at the side of an image. Use a TABLE or a FRAME layout. They're good.
- Go to these link's and from the list's click on what you want to know! It's very well layered out and easy to follow! http://help.yahoo.com/help/uk/geo/ghtml/ http://www.computerhope.com/htmlqa.htm
- Centered text: <center>text here</center> Text next to an image: <img src="IMAGE URL" hspace="NUM" vspace="NUM" align="right" />Text here....
Powered by Yahoo! Answers