Web Layout
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignWeb Layout

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old August 30th, 2007, 10:33 AM
alphaquad alphaquad is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2007
Posts: 28 alphaquad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 20 m 46 sec
Reputation Power: 0
Website layout problems :-(

Hi,

I was wondering if anyone could lend me a hand?

Im having a right pain sorting out some layout problems with firefox

my site

appears to work fine in IE7, however im having some issues with firefox, i think its something to do with clearing the divs.

Any help would be greatly appriciated!

the site is contained within 3 different sections:

header
maincontent
footer

for each of these sections i have a background image assigned.

the header and footer background appear to load fine. however the main content background doesnt load in firefox and when in IE it moves (when the browser window is minimised) i want the content background to remain fixed however each page has a different height so i cant set a aprticular height...

Also with firefox the maincontent background doesnt load properly. i have two divs located within it which are floated. i have tried clearing them however it results in problems.

Anyone willing to help me? i have spent ages creating this site and just need some help debugging it.

Cheers, Ben.

Reply With Quote
  #2  
Old August 30th, 2007, 11:19 AM
alphaquad alphaquad is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2007
Posts: 28 alphaquad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 20 m 46 sec
Reputation Power: 0
i have made some slight progress:

the new version can be seen here

my issues now are that its not aligning properly in the centre like in IE and the sections arent joined properly.

if i make an ammend for firefox it will upset IE any ideas?

Cheers, Ben.

Reply With Quote
  #3  
Old August 30th, 2007, 01:25 PM
DrewPeterson89 DrewPeterson89 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 249 DrewPeterson89 User rank is Lance Corporal (50 - 100 Reputation Level)DrewPeterson89 User rank is Lance Corporal (50 - 100 Reputation Level)DrewPeterson89 User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 8 h 20 m 55 sec
Reputation Power: 6
Hard to say without looking the code closer but you could try to wrap your entire page with a div, called wrapper or whatever you would like and then center that element. Then your header, main, footer will all be within that wrapper. So put the tag right after the opening body tag and the closing tag at the end. Then your css would have this rule:

#wrapper {
margin: 0 auto;
width: whatever you want here;
}

Reply With Quote
  #4  
Old August 31st, 2007, 03:31 AM
alphaquad alphaquad is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2007
Posts: 28 alphaquad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 20 m 46 sec
Reputation Power: 0
Hi DD89,

Thanks for your reply.

I added a wrapper and it seemd to have sorted it out a bit.

The site is now centered in both firefox and ie, however it adds horizontal scroll bars which i dont want. this problem is explained below.


There is a horizontal scrolling issue, can you see what i mean? i only want the width of the header, main content and footer to occupy the scrollable width. As they are set to 760 pixels and scroll bars shouldnt appear.

The background sections on the side should not effect the pages horizontal size. ie they should be in the background. they make the width up to around 940 pixels.

This is the site with the wrapper fix:


Any idea how i can solve the scrolling isuues so that the main content of my site will be displayed on 800x600 resolutions?

Here is my css code:

Code:




wrong code


and here is my html:

Code:

wrong code



Any help would be grately appriciated, i think next time i will design for firefox then fix for ie!

Thanks for your help, ben

Reply With Quote
  #5  
Old September 2nd, 2007, 06:15 AM
alphaquad alphaquad is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2007
Posts: 28 alphaquad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 20 m 46 sec
Reputation Power: 0
can anyone offer me any help on this?

i still cant figure it out

Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignWeb Layout > Website layout problems :-(


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 12 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek