PDA

View Full Version : Is Css Used To Centre Pages



Rudders
09-18-2006, 03:03 PM
Hi all. I thought CSS was a way of centreing pages for screens with resolutions greater than the page size. This enables pages to centre on any screen rather than always being on the left. Am I right? How do you centre pages?

Many thanks

minipos.co.uk

Girlonthehill
09-18-2006, 03:48 PM
Hi all. I thought CSS was a way of centreing pages for screens with resolutions greater than the page size. This enables pages to centre on any screen rather than always being on the left. Am I right? How do you centre pages?

Many thanks

minipos.co.uk

CSS stands for cascading style sheets. If you're talking gnerally about centering your pages in Blue Voda then just right click on the page background and tick (check) the centre page box. This will only work properly if you have your page width set to 800 or less. If it's a CSS issue you have then Rob or someone will be along to answer you. http://www.vodahost.com/vodatalk/images/icons/icon7.gif

FPRob
09-18-2006, 09:51 PM
CSS can be used for any kind of styling. The obvious option for you as GOH says (because you only want to center the page) is to use the option available in BV but, CSS can be used for page/table positioning, text positioning, image positioning. It is very versatile.

sameer
02-07-2007, 10:38 AM
you can use css to center pages.

for that first make sure you put all the tags between the <html> tags inside the <div> tag

eg.

<html>
<div>

you content goes here.....

</div>
</html>

now you can specify the css properties for the <div> tag.

eg..

div {
text-align: center;
}

that's it.

<cheers myte>