16
Apr

1) How do i get my page in the center, no matter what size/browser people have (I only have IE to check my work.

2) Which photo/picture editing software is best (does not have to be free)

3) can i use pictures for my borders and if so what is the code?

Thank you in advance.


Answer:
I'm assuming your design is in some kind of main/container div.

Unless your main div is absolutely positioned, you can center it (horizontally) simply by using…

margin: 0 auto;

If your div is a fixed width/height and you want it in the dead centre of your page, you have to do something like this..

position: absolute;

width: 800px;

height: 600px;

left: 50%;

top: 50%;

margin-left: -400px;

margin-top: -300px;

That'll put the 800×600 div in the very centre of the page. Take the horizontal alignment for example, it makes it so the left edge of the div is 50% (halfway) across the screen, then brings it back by half with width so that its centered. Same for the vertical alignment.

As for image editing, go for the GIMP. It is free, and you can do just as much as photoshop or the like…

http://gimp-win.sourceforge.net/

http://www.gimp.org/

Borders on images?… just use normal css on the image, either in a style="" or as a class. Something like…

border: 1px dotted #ccc;

or

border: 5px solid #fff;

You can also get creative at this point and do something like…

padding: 5px;

background-color: #eee;

border: 2px solid #aaa;

…which would put a sort of padded border around. Its fun to play xD


Answer:
1) set page width 100%

2) Adobe Fireworks

3) Yes. I'll let someone else post the code.


Answer:
do u have doubt in css plz visit this link : http://www.cssbasics.com/

2. photoshop is the best for layout design…

most of them use adobe fireworks for web design bcoz it allows drop down button designs an all other web content designs..

3. dreamweaver alloes use picture for ur border …

try it urself

Book Mark it-> del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Netscape | Yahoo | BlinkList

This entry was posted on Wednesday, April 16th, 2008 at 4:07 am and is filed under Programming. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or TrackBack URI from your own site.

Leave a reply

Name (*)
Mail (*)
URI
Comment