centered web site (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


woody_1010 -> centered web site (4/19/2008 18:03:30)

hi, how can i make a centered website like this sort of thing ?http://www.techdesigns.co.uk/

html codes would be great please

thanks




jaybee -> RE: centered web site (4/19/2008 19:29:45)

We're not going to give you all the code for the page. We do expect you to put some effort in for yourself or you'll never learn.

That site uses CSS and Divs for layout. In order to centre a box (Div) using CSS, you use margin:auto;

As you're using Frontpage I suspect you'll be using tables for layout in which case you make the table say 85% width and center it.

You can check out the FrontPage tutorials which you can reach via the link at the very top of this page or you can use
http://www.w3schools.com/




woody_1010 -> RE: centered web site (4/19/2008 19:38:48)

im 15, wot do u expect




Larry M. -> RE: centered web site (4/19/2008 19:55:16)

quote:

im 15, wot do u expect


You must go to school in South Carolina [X(]

Anyway, attempt this code:

<div align="center"> after the Head Section
then <\div> before the closing tag.

Unless CSS, you need to insert this code on every site page.




woody_1010 -> RE: centered web site (4/19/2008 19:59:20)

im from england actually! (spose that sez it all)




woody_1010 -> RE: centered web site (4/19/2008 20:03:22)

iv put them in, if what there supposed to do is centre the table, then i no how to do that

i want to no how i can get a picture behind my table. with out using a background.

sorry for being a pain in the arse!




jaybee -> RE: centered web site (4/19/2008 20:16:38)

We get a lot of 15 year olds on here and some of them produce very good sites but you need to learn how to do it properly. Use the tutorials and they'll take you through doing it.

http://www.outfront.net/tutorials_02/getting_started/

The info given above is for a CSS site laid out with Divs. If you're using tables then it's different. Right click is your best friend. Put a table in your page, right click on it and select properties. You can then choose to center it. But, as I say, follow that tutorial then you'll get a good grounding.




jaybee -> RE: centered web site (4/19/2008 20:18:48)

Errr and what the heck is a 15 year old doing on here at 1:18 am?




Larry M. -> RE: centered web site (4/19/2008 20:21:18)

quote:

if what there supposed to do is centre the table, then i no how to do that


No, the preceeding HTML <div commands will center the entire site if used properly.




caz -> RE: centered web site (4/19/2008 20:25:10)

quote:

im from england actually! (spose that sez it all)


Well, if that says it all then it's a poor look out for our country isn't it? You are not texting here so a bit of punctuation and spell checking wouldn't go amiss.

jaybee gave you some good links to tutorials above and you could also have a look at htmldog which will give you a good grounding with code and techniques. What's wrong with using a background behind your table anyway?




woody_1010 -> RE: centered web site (4/19/2008 20:35:12)

not sleeping! and tryin to do a website that sum1 has asked me to make for them...the jobs i get my self into!! lol




woody_1010 -> RE: centered web site (4/19/2008 20:36:27)

i cant get the background to work right! its really annoying me




woody_1010 -> RE: centered web site (4/19/2008 20:44:09)

i'vd just come to the conclusion that trying to learn frontpage things at quatre to 2 in the morning is prehaps not the best thing to do!! :D




Tailslide -> RE: centered web site (4/20/2008 2:27:17)

Perhaps spelling and grammar are the first steps. Once you can manage those, then maybe we can help you learn how to build a website.

Sorry if that appears harsh, but in my view, using "text-speak" when asking questions is extremely rude. Why would we take the time to help you if you can't take the time to even form your questions properly?





jaybee -> RE: centered web site (4/20/2008 7:12:07)

Woody, here's a tip which will help you no end. Most of the people on here who give help that's worth having are web professionals. They design and develop sites all day every day so they know what they're doing.

They don't deal in text speak. If they did they'd soon lose all their clients who are mostly business people and expect certain standards, proper English being one of them.

If you treat these guys with respect you'll get all the help you could possibly want, treat them with contempt or expect them to do everything for you then they'll drop on you from a great height.

What you need to do is post full information. Exactly what you are trying to do and if possible, a link to a web page that you've started and got stuck with so they can see the code behind the page and thus what is wrong. It's very difficult to guess at what's happening without being able to see it.

If you have some web space, no matter what, free, ISP whatever, then stick what you've done up there so we can see.

Putting images in means either inserting into the table or cell, in which case you can't put text over the top, or, putting the image in as a background. Now that background can be a page background, table background or cell background. To do the latter, check out the Format menu option. Format table or format cell will allow you to add a background.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625