473,893 Members | 1,874 Online
Bytes | Software Development & Data Engineering Community
+ 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 2200
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
5702
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
1547
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 divs in the CSS are positioning way out of whack. Here's the site: http://aec.ifas.ufl.edu/step/test_rust.html Here's the CSS: http://aec.ifas.ufl.edu/step/basics2_rust.css The div that defines the text box is #text and #textend. I've tried...
14
2197
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 ensure that the columns display correctly in IE. It works fine in Firefox and IE, but Safari appears to take the layout apart. Since I work on a PC, the only way for me to test the site is with iCapture. Can anyone provide suggestions on how to...
26
2619
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 doing this with table based layout the code would be as follows: <head> <style type="text/css"> #bgleft { background: url(left_half_circle.gif) right top repeat-y;
3
3542
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 is shifted approx. 2 pixels to the right where the left nav floats next to it. This shouldn't be and isn't in FF.
1
2477
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 floating div's in a container div. Everything looks fine before I put the dropdown list in the form, but once it is in,
9
8154
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 display, then only a small portion of the gradient will show if the viewpoint is a smaller PDA or phone display. On the other hand, if viewed full screen on a 1920 pixel wide display, I would run out of gradient on one or both sides of the page....
53
4173
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 javascript object and that's all. No need to know CSS hacks, no need to clutter your html with tables. http://www.bravelayout.scarabeo.biz/Quickstart
3
1146
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 www.test.eternityrecords.org/index2.aspx and look at the design? Tested browsers need to be Safari 3 +, IE5+ including IE8 and Firefox 2+. After you go to the page, send your comments about whether the layout looks good or not and what's wrong with it along...
0
9832
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11245
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10840
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10929
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10469
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6066
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4684
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 we have to send another system
2
4281
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3293
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.