473,666 Members | 2,258 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IE living up to its reputation...

I recently decided to do a web page, and this time decided to get with the
times and use CSS to its fullest potential... BUT, I am having great
difficulty getting IE to do as it is told... Consider the following page:
http://marc.fearby.com/cssproblem.htm

In Mozilla, the space between the items in the navigation DIV is as it
should be
In IE, the space between the items is much greater...

I've done all I can to specify margin and padding values but to no avail.
I'm almost going bald from pulling my hair out on this one. Any help would
be greatfully appreciated.
Oh, and if anyone is feeling particularly benevolent, any ideas why 1) IE
puts a carriage return after the "asdfasdf" link in the navigation box and
2) why both Mozilla and IE display the "asdfasdf" link smaller, even though
it is 0.7em like the rest of the text in that box? The "div.linkbo x"
selectors are the pertinent styles to look at.

Thanks HEAPS :-)
Jul 20 '05 #1
6 1411

"Frostillic us" <fr**********@i inetnilspamos.n et.au> wrote in message
news:3f******** **************@ freenews.iinet. net.au...
I recently decided to do a web page, and this time decided to get with the
times and use CSS to its fullest potential... BUT, I am having great
difficulty getting IE to do as it is told... Consider the following page:
http://marc.fearby.com/cssproblem.htm

In Mozilla, the space between the items in the navigation DIV is as it
should be
In IE, the space between the items is much greater...

I've done all I can to specify margin and padding values but to no avail.
I'm almost going bald from pulling my hair out on this one. Any help would
be greatfully appreciated.
Oh, and if anyone is feeling particularly benevolent, any ideas why 1) IE
puts a carriage return after the "asdfasdf" link in the navigation box and
2) why both Mozilla and IE display the "asdfasdf" link smaller, even though it is 0.7em like the rest of the text in that box? The "div.linkbo x"
selectors are the pertinent styles to look at.

Thanks HEAPS :-)

I'm using IE and Opera on it now.

It's gotta be the list. IE puts extra padding in there, but you've set it
all to 0. Looks to me like it should be working. Hmm... try setting
line-height on the li elements. Shot in the dark.

And I cannot figure out the reason the a link is smaller. Try making some of
the other list items links, see if that's it. Try zeroing out margins and
padding on the div.linkbox a selector.

But what I do notice... and knowing you're new to CSS...

1) Why more than one h1? Pick one to be the h1, make the others h2, it'll
look better in text. Only one h1 per page. And don't include the crumbs in
the h1. You can style them to look like it, but they're not really part of
the heading, are they?

2) In the text version, all lowercase headers sometimes looks dumb, though
it works great in your CSS layout. If you agree, type it with normal
capitalization and style it {text-transform: lowercase;}.

3) Put your style element within the head element. It's not valid XHTML
unless they're in up there.
Jul 20 '05 #2
> I recently decided to do a web page, and this time decided to get with the
times and use CSS to its fullest potential... BUT, I am having great
difficulty getting IE to do as it is told... Consider the following page:
http://marc.fearby.com/cssproblem.htm


Validate the page first.

URL:http://validator.w3.org/check?verbos...cssproblem.htm

You should also note that your <style> is outside the <head> element when it
should be _inside_ the <head> element.

Regards,
Nick.
Jul 20 '05 #3
> I'm using IE and Opera on it now.

It's gotta be the list. IE puts extra padding in there, but you've set it
all to 0. Looks to me like it should be working. Hmm... try setting
line-height on the li elements. Shot in the dark.
Thanks for the suggestion. I tried specifying the height of the li elements
manually in the link now called "Manual style override" but this still
didn't work. Having seen another reply to my message, I'm now doing it the
way w3.org are, and it's working much better. The only reason I chose lists
was because of this article I saw:
http://www.alistapart.com/articles/slashdot/
And I cannot figure out the reason the a link is smaller. Try making some of the other list items links, see if that's it. Try zeroing out margins and
padding on the div.linkbox a selector.

But what I do notice... and knowing you're new to CSS...
I'm not new to CSS, but I am new to trying to do everything in CSS to avoid
using tables to space everything out
1) Why more than one h1? Pick one to be the h1, make the others h2, it'll
look better in text. Only one h1 per page. And don't include the crumbs in
the h1. You can style them to look like it, but they're not really part of
the heading, are they?
I was intending to put the crumbs in H1 - mainly because no matter how much
time I spend trying to create a heading it just looks stupid and since I
have no artistic talent, I though "to hell with it, I'll just make the
breadcrumbs my heading" ...for now, at least.
2) In the text version, all lowercase headers sometimes looks dumb, though
it works great in your CSS layout. If you agree, type it with normal
capitalization and style it {text-transform: lowercase;}.
I'll try that soon. Thanks.
3) Put your style element within the head element. It's not valid XHTML
unless they're in up there.


done. It was linked before I uploaded it and only made it an inline style to
make it easier for any good samaritan to quickly see what I was doing
without having to access the stylesheet separately.
Jul 20 '05 #4
> Validate the page first.

URL:http://validator.w3.org/check?verbos...fearby.com/css
problem.htm
You should also note that your <style> is outside the <head> element when it should be _inside_ the <head> element.


It is validated now, thanks. I usually avoid w3.org because finding anything
useful on that site is a complete bitch (IMHO). Maybe things have now
changed since I last decided never to visit that site again.

Thanks.
Jul 20 '05 #5
Frostillicus wrote:
It is validated now, thanks. I usually avoid w3.org because finding anything
useful on that site is a complete bitch (IMHO). Maybe things have now
changed since I last decided never to visit that site again.


Try the search engine with the right keywords ;-), you will love it!
--
Anne van Kesteren
<http://www.annevankest eren.nl/>
Jul 20 '05 #6

"Frostillic us" <fr**********@i inetnilspamos.n et.au> wrote in message
news:3f******** **************@ freenews.iinet. net.au...
I'm using IE and Opera on it now.

It's gotta be the list. IE puts extra padding in there, but you've set it all to 0. Looks to me like it should be working. Hmm... try setting
line-height on the li elements. Shot in the dark.
Thanks for the suggestion. I tried specifying the height of the li

elements manually in the link now called "Manual style override" but this still
didn't work. Having seen another reply to my message, I'm now doing it the
way w3.org are, and it's working much better. The only reason I chose lists was because of this article I saw:
http://www.alistapart.com/articles/slashdot/
And I cannot figure out the reason the a link is smaller. Try making some
of
the other list items links, see if that's it. Try zeroing out margins
and padding on the div.linkbox a selector.

But what I do notice... and knowing you're new to CSS...


I'm not new to CSS, but I am new to trying to do everything in CSS to

avoid using tables to space everything out
1) Why more than one h1? Pick one to be the h1, make the others h2, it'll look better in text. Only one h1 per page. And don't include the crumbs in the h1. You can style them to look like it, but they're not really part of the heading, are they?
I was intending to put the crumbs in H1 - mainly because no matter how

much time I spend trying to create a heading it just looks stupid and since I
have no artistic talent, I though "to hell with it, I'll just make the
breadcrumbs my heading" ...for now, at least.


The logical main heading of the page is "Subcategor y". You can use whatever
font, effects, and letter spacing you want for it. You don't need to be an
artistic genius for this!
Jul 20 '05 #7

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

Similar topics

2
2262
by: rbt | last post by:
Is this mathematically correct? def inflation(): start = int(str.strip(raw_input("How much money do you need each month at the start of retirement: "))) inflation = float(str.strip(raw_input("What will inflation average over the next 30 years(.03, .04, etc): "))) for x in xrange(30):
0
861
by: Nicol Nghia | last post by:
Dear All, Is there anyone of you is origin Vietnamese living in US or Europe or Japanese? We are looking for partners and friends for developing .NET controls, and for developing software outsourcing service especially in .NET. Please contact us for a good co-operation. Nguyen Trong Nghia CTO
0
991
by: Krag | last post by:
Hi Well here at you, it will be necessary still to return. Posted via DevelopmentNow.com Groups http://www.developmentnow.com
3
1317
by: HAOBBoy | last post by:
Hello I am using a MAP as an associative array. The map automatically sorts by key. How can I stop this feature. I will may value as FIFO. I mean if I have the keys Key=value SSN=000-00-0000 Name=JAA
11
2300
by: mase | last post by:
I've built a new ASP.NET web app with the CSLA framework. The site runs fine with a small number of users, but once there is any traffic the CPU spikes at 100%. I went through and made many updates to plug various memory leaks. Glad that I did that and it probably helped out some, but the issues still exists. The application was built the proper scalable architecture but can't seem to handle the load. I've been watching performance...
1
2042
by: KBTibbs | last post by:
My ASP.NET page generates some HTML, then sticks it into a hiddenfield so a javascript can access it and write it to a popup window. I had to disable validation for this page, as HTML inside a field triggers ASP.NET's cross-site scripting security. Now, this was all working well and good until I changed my navigation menus from plain images and anchors to ASP:imagebuttons. The navi menu is on my masterpage and in now within the same...
0
1251
by: majorcolletmkvu | last post by:
living with a crack addict http://cracks.12w.net F R E E
0
8356
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
8781
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...
0
8639
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
7385
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6192
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5663
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1772
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.