It is not fun but please help, iWeb/coding issue

georeghudson

macrumors newbie
Original poster
Apr 6, 2006
5
0
London
Hi,
I am trying to get my site to left justify. iWeb automatically centers your completed pages but for this particular task I need the site to be justified to th left.

Although a fairly experienced graphic designer that has a bit of a brush with the code. I can't seem to find what I need to change? I have checked the CSS, js and HTML but not sure which bit is what I am looking for...

Please help!

Oh and I think at the Sept Media Event The Beatles will announce with Apples help they are re-forming with holograms and creating the first iBand, it is rumored they will tour with the Spice Girls this Autumn!
 

dalvin200

macrumors 68040
Mar 24, 2006
3,466
24
Nottingham, UK
might help if you could point us to your source code / iweb site?

Hi,
I am trying to get my site to left justify. iWeb automatically centers your completed pages but for this particular task I need the site to be justified to th left.

Although a fairly experienced graphic designer that has a bit of a brush with the code. I can't seem to find what I need to change? I have checked the CSS, js and HTML but not sure which bit is what I am looking for...

Please help!

Oh and I think at the Sept Media Event The Beatles will announce with Apples help they are re-forming with holograms and creating the first iBand, it is rumored they will tour with the Spice Girls this Autumn!
 

georeghudson

macrumors newbie
Original poster
Apr 6, 2006
5
0
London
At the moment I am creating the site that requires the left justification. I don't think you need the source code for that particular site to work it out, it is a bog standard blank iWeb site with the standard iWeb mess that is created when you publish a site. But if you require a bog standard one to look at,
here is my personal site http://web.mac.com/georgehudson/iWeb/Home.html
CSS and JS for that page:
http://web.mac.com/georgehudson/iWeb/Home_files/Home.css
http://web.mac.com/georgehudson/iWeb/Home_files/Home.js
JS for the site:
http://web.mac.com/georgehudson/iWeb/Scripts/iWebImage.js
http://web.mac.com/georgehudson/iWeb/Scripts/iWebSite.js

Thanks
 

dalvin200

macrumors 68040
Mar 24, 2006
3,466
24
Nottingham, UK
the bog standard web page has some html code like:

<body style="background: #000000; margin: 0pt; " onload="onPageLoad();">
<div style="text-align: center; ">


change the text-align: center in the <div> to be text-align: left

let me know how it goes

At the moment I am creating the site that requires the left justification. I don't think you need the source code for that particular site to work it out, it is a bog standard blank iWeb site with the standard iWeb mess that is created when you publish a site. But if you require a bog standard one to look at,
here is my personal site http://web.mac.com/georgehudson/iWeb/Home.html
CSS and JS for that page:
http://web.mac.com/georgehudson/iWeb/Home_files/Home.css
http://web.mac.com/georgehudson/iWeb/Home_files/Home.js
JS for the site:
http://web.mac.com/georgehudson/iWeb/Scripts/iWebImage.js
http://web.mac.com/georgehudson/iWeb/Scripts/iWebSite.js

Thanks
 

georeghudson

macrumors newbie
Original poster
Apr 6, 2006
5
0
London
Got there...

Right with a little help we got there, it was really simple in case your wondering....

In the bog standard iWeb html source locate the head and div tab. Change the text-align as mentioned above from center to left and change in the div style the margin-left to 0px instead of auto.

</head>
<body style="background: #ffffff; margin: 0pt; " onload="onPageLoad();">
<div style="text-align: left; ">
<div style="margin-bottom: 0px; margin-left: 0px; margin-right: auto; margin-top: 0px; overflow: hidden; position: relative; word-wrap: break-word; background: transparent url(WRCETLE_files/CCEDAFF7A.png) repeat scroll center center; text-align: left; width: 600px; " id="body_content">


Easy, thanks for your help
 

Thrive

macrumors newbie
Jul 7, 2008
1
0
Help Too

Hi I'm starting with iWeb 2.0 now and have been desperately trying to do just what you described above. I can't for the life of me find the file you are referencing. Where should I look? It seems this is the only solution I've found online so any help would be great.