-
February 3rd, 2005, 04:48 AM
#1
Banned
Aligning text in HTML
I am creating a webpage in HTML, and the way i have my background i need to align all of my text about 3 inches to the right. I dont know how i can move entire texts over. Any help?
-
February 3rd, 2005, 05:22 AM
#2
-
February 3rd, 2005, 05:40 AM
#3
This link is good also: http://werbach.com/barebones/barebones.html
It'll be more useful for real beginners that the W3 link.
-
February 3rd, 2005, 10:57 AM
#4
Using tables for text-alignment is getting a bit outdated. Preferred way to format HTML nowadays is using CSS.
There are a lot of usages for CSS - it's quite powerful - but I'll give you just a small example of how to keep all content of a page (or, the 'body' in HTML) away from the edge of the page.
Code:
<html>
<body style="margin: 20px;">
<p>This text is aligned at least 20 pixels
from the top, left, right and bottom from
the edge of the body.</p>
</body>
</html>
You'll find loads of information on CSS at the W3C Cascading Style Sheets Homepage at http://w3c.org/Style/CSS/
I wish to express my gratitude to the people of Italy. Thank you for inventing pizza.
-
February 3rd, 2005, 09:01 PM
#5
Banned
Yeah i ended up creating a table, thank you guys
However I ran into another problem. When I hyperlink an image, it puts a blue border around the image, how do i get rid of it?
-
February 3rd, 2005, 09:03 PM
#6
Banned
ah nvm i used the border=0 attribute. thanks
-
February 3rd, 2005, 09:33 PM
#7
Banned
Ok last thing. I am trying to get a professional look and I need the company name at the top. the name is Medway Tool or Medway Tool Corp. I am not too familar with Photoshop, i only know the very basics if that. Anyone give me some advise as to creating a professional looking banner? And if possible a company logo. The company is a tool and dye. Ill be hosting the website for anyone to look at and give some critisizm but for now im still lookin for a free site to post without a banner at the top
-
February 3rd, 2005, 09:42 PM
#8
Banned
http://www.geocities.com/otiz421/index.html
its not done at all but those are the color schemes
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|