|
Author |
Message |
def1
Joined: 30 Apr 2005
Posts: 223
|
Posted: Sat Aug 13, 2005 10:52 pm Post subject: Centering WebSites |
|
|
I thought I posted this already but I guess not
does anyone know the html code for centering websites. Its not in tables its in seperate images so please help |
|
|
|
|
Jersey Hacker
Joined: 08 Jun 2005
Posts: 864
Location: Jersey, Channel Islands, UK
|
Posted: Sun Sep 18, 2005 5:19 am Post subject: |
|
|
As you have told me how to do it, i guess you already know, but for the people who dont, in the html file, where it says <begin imagready slices>or something similar, you need to place <center> after that, and then after all your slices, at the very bottom, it should say, <end imageready slices> you neesd to place </center> just before that, so for example you would have:
<begin imageready slices><center>
blah slice 1
blah slice 2
blah slice 3
</center><end imageready slices> _________________ www.jerseyhacker.co.uk
Free File Uploader for Everyone to use |
|
|
|
|
Musoka
Joined: 13 Sep 2005
Posts: 11
Location: United States
|
Posted: Sun Sep 18, 2005 11:31 am Post subject: |
|
|
Or
<div style="margin:auto;">
<img>
<img>
</div>
Or if you have a stylesheet you could just add a ID to the DIV and make the margin:auto; CSS. _________________ Tsuyamono(Down) :: DeviantArt |
|
|
|
|
Jersey Hacker
Joined: 08 Jun 2005
Posts: 864
Location: Jersey, Channel Islands, UK
|
Posted: Sun Sep 18, 2005 11:58 am Post subject: |
|
|
wow, didnt know that, thanks for posting _________________ www.jerseyhacker.co.uk
Free File Uploader for Everyone to use |
|
|
|
|
BryanDowning
Joined: 05 Jul 2004
Posts: 1554
Location: California, USA
|
Posted: Thu Sep 22, 2005 5:20 pm Post subject: |
|
|
You can also use <div align="center">HI</div>, but I think that's deprecated.
Aligning something vertically is a bit more tricky... _________________ Best Regards,
Bryan Downing
bryandowning.com |
|
|
|
|
|