navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Is there somebody out there can help

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Expression Web Help >> Is there somebody out there can help
Page: [1]
 
genius

 

Posts: 4
Joined: 6/24/2008
Status: offline

 
Is there somebody out there can help - 6/24/2008 23:08:30   
I have a site that I originally made years ago starting with front page express and afterwards revamping it in frontpage 2000. I have recently purchased expression web and I have started to rebuild the site. Problem is I can't figure out how to get the pages to center. I have tried wrapping them in a div but it doesn't work! Please help me someone!
My site is www.hanita.co.il
Thanks in advance
swoosh

 

Posts: 1437
Joined: 5/18/2002
From: Beaver Falls, PA
Status: offline

 
RE: Is there somebody out there can help - 6/24/2008 23:51:52   
Hello and Welcome to Outfront,

One problem that your page has is that just about every element on it has an absolute position set to it.


_____________________________

Swoooosh
Just Do It!


(in reply to genius)
Tailslide

 

Posts: 6108
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Is there somebody out there can help - 6/25/2008 2:19:12   
Phew that's a lot of absolute positioning AND a lot of inline styling AND coding errors!! Not the best idea to be honest - makes the page both brittle and difficult to maintain.

Ideally you want to use floats for positioning rather than AP (which will do the job but it's hard to get right) and definitely definitely you want all your style rules in an external stylesheet rather than inline within tags - sort of defies the point of CSS). The coding errors make how the page is displayed very unpredictable as you're relying on various browsers' error handling routines which vary greatly.

Ok well anyway - nagging over. To fix it change this (first div after the body tag):
<div style="width: 833px; margin-left: auto; margin-right: auto;">


to this:
<div style="width: 833px; margin-left: auto; margin-right: auto;position:relative;">


_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to swoosh)
genius

 

Posts: 4
Joined: 6/24/2008
Status: offline

 
RE: Is there somebody out there can help - 6/27/2008 15:48:53   
thanks I'll give it a go

(in reply to Tailslide)
genius

 

Posts: 4
Joined: 6/24/2008
Status: offline

 
RE: Is there somebody out there can help - 6/27/2008 15:55:30   
thanks. The problem is as I explained. I have used so many different methods firstly to build the site and then to change it that the code isn't too well written. I just redid the homepage last week by using expression web and dragged a lot of code from the old page. expression web tells me that some of my code is considered out of date, so I suppose I should have rebuilt the site from scratch but I just don't have the time at the moment. But thanks for the response.

< Message edited by genius -- 6/28/2008 23:58:02 >

(in reply to swoosh)
genius

 

Posts: 4
Joined: 6/24/2008
Status: offline

 
Tailslide you are a genius - 6/28/2008 23:55:45   
Damn you are good!
:)Did as you said and all is well (apart from all the code errors)
Thanks a million!

(in reply to Tailslide)
Page:   [1]

All Forums >> Web Development >> Expression Web Help >> Is there somebody out there can help
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts