473,473 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

CSS layout problem in 1E6 and Safari

Hi all, I have put together our own web site, its only small so I
decided after reading up on CSS web design to do the site myself.

The site looks good in IE7 but when you use IE6 the green and red box
buttons on the right shift down to the bottom of the page instead of
being at the right. Also, in Safari the web site appears ro move down
by an inch which results in the horizontal tiled background being out
of place with the rest of the site.

If anyone has any pointers or suggestions I would appreciate it.
http://www.neighbourhoodcomputers.com/

Many thanks for your time

Lee

Aug 8 '07 #1
3 2168
le************@gmail.com wrote:
Hi all, I have put together our own web site, its only small so I
decided after reading up on CSS web design to do the site myself.

The site looks good in IE7 but when you use IE6 the green and red box
buttons on the right shift down to the bottom of the page instead of
being at the right. Also, in Safari the web site appears ro move down
by an inch which results in the horizontal tiled background being out
of place with the rest of the site.
This is probably due to your attempt at exact pixel sizing. That never
works. See:
http://allmyfaqs.net/faq.pl?AnySizeDesign
If anyone has any pointers or suggestions I would appreciate it.

http://www.neighbourhoodcomputers.com/
There are other problems as well:
http://k75s.home.att.net/show/neighborhood.jpg

In the Firefox Web Developers Toolbar/edit CSS, I see some weird
characters at the beginning of your CSS that affect my display (removing
body settings), but they don't seem to be in your CSS file. I don't see
this at any other sites.
http://k75s.home.att.net/show/neighborhoodcss.jpg

"font-size: small" may work for your eyes, but not for mine. Use
percentages instead, and default to 100%. See this page and also note
the section on Verdana:
http://k75s.home.att.net/fontsize.html

These are new pages, you say. New pages should use a Strict doctype as
you aren't Transitioning from anything. Also, best to eschew XHTML and
use HTML 4.01 Strict (for the oft-mentioned reasons).

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

Hope this gets you started.

--
-bts
-Motorcycles defy gravity; cars just suck
Aug 8 '07 #2
On 2007-08-08, le************@gmail.com <le************@gmail.comwrote:
Hi all, I have put together our own web site, its only small so I
decided after reading up on CSS web design to do the site myself.

The site looks good in IE7 but when you use IE6 the green and red box
buttons on the right shift down to the bottom of the page instead of
being at the right. Also, in Safari the web site appears ro move down
by an inch which results in the horizontal tiled background being out
of place with the rest of the site.

If anyone has any pointers or suggestions I would appreciate it.
http://www.neighbourhoodcomputers.com/
#header h1, #main-image h1 { margin: 0; }

See CSS 2.1 spec re "margin collapsing" (which I've heard IE7 gets
wrong, which might explain why your page "works" in IE7). This should
get things lined up with the background image in Safari.
Aug 9 '07 #3
Thanks both for your commentrs - I will implement those suggestions
and re-test.

Thanks for your time

Lee

Aug 9 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

39
by: Zak McGregor | last post by:
Hi all Are there any good solutions to aligning form field names and input boxes without resorting to tables? I am struggling to do this nicely at the moment. Thanks Ciao Zak
4
by: nevenuf24 | last post by:
I've tried this site in IE6, IE7, Netscape 7.1, Firefox 1.5 ...works fine in all of those. But Safari 1.1 (I think) is going to be the death of me. I do not understand why my text boxes defined by...
14
by: slobjones | last post by:
This three-column layout is busted in Safari. It's built with a fixed-width container, with three percentage-based columns inside. http://tinyurl.com/uw8mc The box-model hack is present to...
26
by: mark | last post by:
The idea of this is very simle. The site is 800px wide and sits in the middle of the browser window, on either side of the site I want a different background image aligned against it. If I were...
3
by: Rich.Hephner | last post by:
Hi, I'm new to this group, but in need of some help with a css based two column layout. The layout consists of a short left nav and a content section. The problem is that in IE, the content...
1
by: gatorade | last post by:
Drop Down list in a form is breaking layout of the page in FireFox. Here is the page in question: http://www.redchip.com/visibility/RCinstitutional-Requestinfo.asp The layout is simply two...
9
by: Eric Lindsay | last post by:
How do you provide a consistent gradient fill as a background in a liquid layout? If I make a gradient fill image say 1000 pixels wide (and repeat it down the page) to suit a typical computer...
53
by: brave1979 | last post by:
Please check out my javascript library that allows you to create any layout for your web page, nested as deep as you like, adjusting to width and height of a browser window. You just describe it in...
3
by: Andy B | last post by:
I am creating a CSS layout and need to test it with different browsers. I have the framework for the layout done with contrasting colors for each section. Can anybody if possible, go to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.