This seemingly simple bug has been doing my head in for hours, can anyone help me?
I have my navigation in a <ul> using display:block, background images/position changes on hover to create rollovers. In some places I have 2 elements side by side (either a static image or a narrower nav button) and their 2 widths add up to the container div width.
I wanted to keep all the elements in a single list for accessibility/simplicity.
It works great in all browsers except for IE7 (and IE6) where for some reason the 2 half-width elements refuse to sit side by side, and the second drops below. I tried position:inline, but without results.
It also adds some phantom padding/margin to the header.
You can see the page here:
About Sarah de Nordwall | Poetry Opens The World | email@example.com
Can someone help me figure out why it doing this and how to fix it? I dont mind the site breaking in IE6, but would really like it to look ok in IE7.
Thanks so much in advance,
Claire Louise x
Well, all of your code is EXTREMELY problematic, particularly with the endless presentational classes for nothing, image replacement method that does not actually work when images are disabled, content cloaking the h1 (with nonsensical heading orders to match), presentational style inlined in the markup for christmas only knows what reason, hordes of scripting for ... not sure what... etc, etc...
Probably why the layout is busted in Opera and Safari here as well... to go with the fixed width layout and px metric fonts that also should be pitched.
Though the problems are further compounded by all those IMG tags that are in the markup that frankly, don't even belong there!
I'd probably have to throw it all away and start over from scratch to even TRY to fix IE issues as the page is built with flawed methodologies. I have a saying -- CSS is only as good as the HTML it's applied to, and your HTML... well...
To illustrate what I mean, there is little reason for the HTML on that layout to be much more than:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
content="Sarah de Nordwall is a rhapsodic theatre performer, poet and poetry workshop leader based in London, UK."
content="poetry, poems, performance, performer, workshop, school, session, business, coach, rhapsodic, theatre, bard, London, UK"
About Sarah de Nordwall - Poetry Opens The World
<a href="audio_player.html" class="audioplayer">
<img src="images/play_button.gif" alt="play" />
Sarah de Nordwall
<small><span> - </span>Poetry Opens the World</small>
alt="Sarah de Nordwall, performance poet"
What has poetry opened for me?
The beauty of writing poetry is that you don't have to know exactly what you are talking about, at least, at first.<br />But the opening line calls you.
It has an idea it wants to convey to you and you must obey by writing the poem.
That's how it feels sometimes. And so, the problem that you had, the question you were asking, becomes unfurled as the poem progresses, as the image blossoms into differing layers of perception and you too look back in wonder, as the answer presents itself with a smile.
<!-- .plateWrapper --></div>
When you are given a brief, whether to write a poem or a constellation of poems and stories for a BBC Manager, for a wedding, a jazz club, a political campaign or a group of work colleagues considering a particular dilemma, you will discover the answer through many sideways glances, hunches and clues, until the ground appears under your feet. The poem begins.
Its fulfilment comes, though, in performance and through the reception and responses of those for whom it is performed.
It even takes on a different form and significance, depending on the group who may be called upon to respond with their own ideas or creative writing; their own creative work that will have been kindled by the offering of the performance.
This is the immense joy and terror of my work. The never knowing and yet the trusting, that if you reach out from the inner place of your own experiencing and musings, then the ones who receive the Rhapsodic Theatre of your performance, will be enabled to hear it from the place within, that sacred space within each person, from which we often flee, but within which so many keys and revelations hide.
And that is what my life as a poet and bard is for;
my life as a performer of Rhapsodic Theatre, which is the rendering of poems, stories and songs into a bardic live form.
It is for the purpose of disclosure.
For the revealing of hidden treasure, of unexpected answers, of unlooked-for celebrations.
For the gorgeous humanising relish of realising the presence of beauty and possibility, where the forces of blandness had begun to peel the paint off the walls and sprinkle dust on the keyboard.
It is all delight.
How have other people's worlds been opened?
My background has been in the world of arts and media, education and social engagement.
Performing at the House of Lords for a meeting on freedom of Conscience and belief was a particular high point, because I had always wanted to bring the unique insights that the shared experience of poetry in performance brings, right into the heart of public life.
The angle that I chose to present on that occasion to the UN Rapporteur from Pakistan, touched upon the danger of bland and over prescribed language, which limits the richness of public discourse. George Orwell in his famous essay about politics and literature names the fact that before a regime abuses people, it must first abuse the language. The poem managed to bring humour and shared reflection to a very serious space in which parallel viewpoints had been presented in rational presentations without room for a shared imagination.
University of London, Westfield College and Central School of Speech and Drama Summer Scholarship to University of California, Berkley, to study Theatre and Philosophy (Existentialism in Film, Novel and Drama and Epistemology from Plato to Wittgenstein)
<!-- .infoSection --></div>
3 years teaching poetry, drama and religion at Primary Level, Rosecroft school, Manchester Where I directed a play with the 10 yr olds that won 3 awards at a National Drama Competition
2 years at the BBC at beeb.com as a researcher and then BBC Worldwide as researcher and assistant producer on Cult TV Online, also writing poems for meetings and the Annual Review at the Strand Theatre where I was declared the Unofficial Performance Poet in Residence
2 years at the Schools and Youth Departments of The Commonwealth Institute and Action Aid where I got the opportunity to visit the Art and Social Transformation conference in Pakistan, and visited projects in India and Bangladesh where children were being inspired to set up their own collaborative businesses in slum areas. I also trained up Yr 10s to research and speak out about issues that impassioned them - which they delivered to the Secretary General of the Commonwealth Institute
<!-- .infoSection --></div>
What is disclosed by beauty? - in relationships, in the workplace, in politics, in the community? What threshold are you looking to cross and how could some rhapsodic theatre help engage you and your colleagues, family, friends or community group in some transformation from the heart?
<!-- #content --></div>
<li><a href="about_sarah_de_nordwall.html">About Sarah</a></ll>
<li><a href="http://www.sarahdenordwall.blogspot.com/">What's new</a></li>
<li class="last"><a href="contact_sarah.html">Contact</a></li>
© Sarah de Nordwall 2011 |
site by <a href="http://www.hereismydesign.com">hereismydesign.com</a>
<!-- #footer --></div>
<!-- #pageWrapper --></div>
Maybe some more empty span and classes for those image h2's -- but I'd give webfonts a good hard look for that instead. You'll notice menu-wise I threw out over two thirds the markup.
Being sunday I'm away from the workbench -- but I'll try to remember this thread when I get back there and belt out CSS to show you how I'd approach coding that same page.
thanks so much deathshadow, if you have the time to post the css it would be really, really great to see how you would do it.
This is a common error in Internet Explorer 7 and below, in which
float is buggy. I'm a bit rusty in Internet Explorer 7 CSS, but try setting width to 1% for each
li and see if that works. Alternately, you can use
display: inline-block, rather than floating.